[Ffmpeg-devel] Last frame always ignored by FFMPEG

John Fremlin john
Mon Jun 12 21:31:57 CEST 2006


I was using libavcodec/libavformat to decode some DV AVI streams. I
notices that the frame count decoded is always one less than that in
the stream itself. In fact, I have determined that the last frame is
not decoded.

I thought I was incorrectly sending packets for decode or something
like that, but the same problem occurs using the ffmpeg command line
tool on any avi file I tried (not just DV but also XViD etc.). The
last frame will not be included in the output.

Any suggestions?

ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --extra-cflags=-fomit-frame-pointer -DRUNTIME_CPUDETECT --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr 
  built on Nov 24 2005 10:19:02, gcc: 4.0.3 20051121 (prerelease) (Ubuntu 4.0.2-4ubuntu3)

$ ffmpeg-config --version
3:0.cvs20050918-5ubuntu1




More information about the ffmpeg-devel mailing list