[Ffmpeg-devel] [bug] flvdec demux

Tom Harper d.thomas.harper
Sat Feb 3 07:14:19 CET 2007


re:
At 06:18 PM 2/2/2007, you wrote:
>either way returning before initalizing the returned packet is not ok
>either the zero size case is invalid in which case the next valid packet
>or -EAGAIN should be returned or the packet is valid in which case it
>should be returned

I need to look at it further but the packet seems invalid.

So, probably this is a bug in the encoder portion - right now i
can't tell whether it is in mp3lameaudio or flvenc - there is
definitely an issue with the mp3 part as there are jitter issues
using the avi container (described below).

The following makes me think there is something off with flv:

when I try:
./ffmpeg.exe  -i sightspeed_vmail.mpg -ar 44100 -ab 56 -aspect 4:3 -b 
600 -f flv
  -s 320x240 -acodec mp3 -ac 1 output.flv

...to convert an mpeg1 file encoded at 320x240 w/ mp2 @32hz-64kbps
mplayer tries to play the resulting flv at 176000 (4x).  But maybe that is an
mplayer bug...

At the API level it just seems to be producing really jittery audio 
like there are
some missing samples in every frame.  So that part I think is lame related,
or maybe the jitter is from occasional "empty" audio packets which is what is
causing the originally spotted bug.

Anyhow this is all mingw - when I get back to the office monday I'll try it on
osx - maybe it is just a lame issue w/ mingw.

Tom 





More information about the ffmpeg-devel mailing list