[Ffmpeg-devel] invalid new backstep: mpegaudio decoding either faulty or seeking is broken

Thanos Kyritsis djart
Tue Nov 14 19:56:34 CET 2006


On Thursday 09 November 2006 20:30, Thanos Kyritsis wrote:
> 1) My own code and ffmpeg tool sometimes fail when seeking and
> cutting:
>
> ffmpeg -ss 00:00:40.332 -t 2 -i movie.avi -acodec pcm_s16le clip.wav

Ok, I tracked down which change broke seeding and cutting.

It's revision 6836 (libavcodec/mpegaudiodec.c).

And this change is what caused all this:

http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/mpegaudiodec.c?r1=6577&r2=6836
"avoid random noise on damaged frames"


If I revert this change and apply it into the current svn revision 
(comment return -1 and uncomment the line above it), then seeding and 
cutting via the official *FFMPEG* command tool works again smoothly.

Michael ? :) Any comments ?

-- 
Thanos Kyritsis <djart at linux.gr>

- What's your ONE purpose in life ?
- To explode, of course! ;-)




More information about the ffmpeg-devel mailing list