[Ffmpeg-devel] losing frame after a seek (not aproblem becausethisframe isn't a key frame)

Michael Niedermayer michaelni
Tue Apr 25 12:10:04 CEST 2006


On Tue, Apr 25, 2006 at 11:22:42AM +0200, Munier Nicolas wrote:
> > you should never set CODEC_FLAG_TRUNCATED, but instead use a AVParser
> > libavformat will do that automatically for you if you use it instead
> > of another demuxer
> Hi,
> Thanks for the tip.
> Do you know where I can find any sample code using the
> AVCodecParserContext and its relative functions to parse a video stream
> in frames. I found the declaration and definition of the functions but
> I'm not sure of the way to use it (initialisation and retrieving frame).

the source for the av_read_frame and av_read_frame_internal functions might
be worth looking at



In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list