[Ffmpeg-devel] Bug in FLV video size recognition?

deadhead deadhead
Tue Jan 23 12:30:01 CET 2007


Using latest svn version of ffmpeg I'm experiencing a strange
behaviour: ffmpeg misrecognize the size (H x L) of some FLV video.
If I use an older version, that doesn't happen and the size is
correctly recognized! The original size of the video is 384x288 .

Here some output that will clarify the situation:

*OLD FFMpeg - Lastest stable Gentoo Version 0.4.9_p20061016*

ffmpeg -y -i ./1172.flv
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-static --enable-shared
--cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug
--disable-audio-oss --disable-v4l --disable-v4l2 --disable-network
--disable-opts --enable-mp3lame --enable-a52 --enable-dc1394
--enable-pthreads --enable-xvid --enable-vorbis --enable-libogg
--enable-dts --enable-x264 --enable-faad --enable-faac --enable-gpl
--enable-pp --disable-strip
  libavutil version: 49.0.1
  libavcodec version: 51.20.0
  libavformat version: 50.6.0
  built on Jan 23 2007 11:15:49, gcc: 4.1.1 (Gentoo 4.1.1-r3)

Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from './1172.flv':
  Duration: 00:00:17.3, start: 0.000000, bitrate: 96 kb/s
  Stream #0.0: Audio: mp3, 44100 Hz, mono, 96 kb/s
  Stream #0.1: Video: flv, yuv420p, 384x288, 25.00 fps(r)

*Latest Version Compiled by me*

./bin/ffmpeg -i ./1172_original.flv
FFmpeg version SVN-r7658, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/tmp/ffmpe/a --enable-mp3lame --enable-pp
--enable-pthreads --cpu=pentium4 --disable-altivec --disable-bktr
--disable-debug --disable-dv1394 --disable-v4l --disable-v4l2
--disable-audio-oss --disable-audio-beos --disable-mpegaudio-hp
--disable-ipv6 --enable-gpl --enable-static
  libavutil version: 49.2.0
  libavcodec version: 51.29.0
  libavformat version: 51.8.0
  built on Jan 23 2007 11:17:13, gcc: 4.1.1 (Gentoo 4.1.1-r3)

Seems stream 0 codec frame rate differs from container frame rate:
1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from './1172_original.flv':
  Duration: 00:00:17.3, start: 0.000000, bitrate: 96 kb/s
  Stream #0.0: Video: flv, yuv420p, 384x384, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 44100 Hz, mono, 96 kb/s

The video I'm workin on can be found here:

 http://deadhead.altervista.org/ffmpeg/1172.flv (if it doesn't work go
here http://deadhead.altervista.org/ and follow the dir structure )


I guess it's a problem of ffmpeg since older version recognize
correctly the size, but, since I have not generated that FLV I ask you
where's is the bug, if is it in ffmpeg or in the video that distract
ffmpeg.

Thank you for your help. If you need more information just ask.




More information about the ffmpeg-devel mailing list