[Ffmpeg-devel] Last frame always ignored by FFMPEG

Lorenz Klaus lorenzk
Sun Jun 25 10:53:28 CEST 2006


Hello John,

are you sure it's a bug/issue in ffmpeg?

I found that with the technology shown in apisample.c, the problem is
gone.

Also, I never had this problem with DV, only with MPEG, as it's a
"feature" of the compression format.

Regards
Lorenz

> -----Original Message-----
> From: ffmpeg-devel-bounces at mplayerhq.hu
> [mailto:ffmpeg-devel-bounces at mplayerhq.hu]On Behalf Of John Fremlin
> Sent: Tuesday, June 20, 2006 4:01 AM
> To: FFMpeg development discussions and patches
> Subject: Re: [Ffmpeg-devel] Last frame always ignored by FFMPEG
> 
> 
> "Lorenz Klaus" <lorenzk at gmx.net> writes:
> 
> > I figured out the same, the last frame is always gone.
> >
> > Isn't there anybody who can comment on this?
> 
> It is a rather annoying bug! I've now found some cases where the last
> frame is not lost.
> 
> If anybody is interested, I can post some files which exhibit the
> problem (DV from Sony cameras).
> 
> >
> > Regards
> > Lorenz
> >
> >> -----Original Message-----
> >> From: ffmpeg-devel-bounces at mplayerhq.hu
> >> [mailto:ffmpeg-devel-bounces at mplayerhq.hu]On Behalf Of John Fremlin
> >> Sent: Monday, June 12, 2006 9:32 PM
> >> To: ffmpeg-devel at mplayerhq.hu
> >> Subject: [Ffmpeg-devel] Last frame always ignored by FFMPEG
> >>
> >>
> >> 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
> >> _______________________________________________
> >> ffmpeg-devel mailing list
> >> ffmpeg-devel at mplayerhq.hu
> >> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> >>
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 




More information about the ffmpeg-devel mailing list