[FFmpeg-devel] mp3: "Header missing" error on last packet w/o seek.
michaelni at gmx.at
Tue May 8 03:51:32 CEST 2012
On Mon, May 07, 2012 at 05:15:27PM -0700, Dale Curtis wrote:
> We're running into a strange issue with an mp3 where it throws a "header
> missing" error if played straight through, but plays through fine w/ a seek
> to 1. E.g., using D_0.mp3 from:
> $ ffplay -autoexit D_0.mp3
> [mp3 @ 0x25ee0c0] Header missing 0KB vq= 0KB sq= 0B f=0/0
> 1336434931.49 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
> Whereas with a -ss 1 no "Header missing" error occurs:
> $ ffplay -autoexit -ss 1 D_0.mp3
> 15.52 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
> Running a read_frame/avcodec_decode_audio loop shows avcodec_decode_audio
> returning -1 on the very last packet (ignore the return code and read_frame
> return EOF next). Additionally, using a backwards seek to 0 shows error,
> however a forward seek to 0 does not.
> As far as I can tell it's been an "issue" since at least July 2011. Haven't
> found a passing build yet for bisect. Full logs at
> Thanks in advance for any assistance.
thanks for the bug report
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel