[FFmpeg-devel] Skip Frame in MJPEG video

christophe laferriere christophe.laferriere at gmail.com
Thu May 26 11:31:19 CEST 2011


After some time, I haven't found anything concerning skipping frame for MJPEG in libavformat directory.
I instead found a function called 'find_frame_end' in libavcodec/mjpeg* but I don't find a link between this function and the way frames are dropped / skipped.
I'm looking for the part that actually skip bytes from input file.

Le 25 mai 2011 à 16:57, Michael Niedermayer a écrit :

> On Wed, May 25, 2011 at 04:42:28PM +0200, christophe laferriere wrote:
>> Hi all,
>> 
>> I'm wondering if there is a function to skip an entire frame in MJPEG video in ffmpeg sources and where it stands (if there's one).
> 
> there is some code in demuxers to skip frames (grep for discard in
> libavformat)
> 
> there is code that can skip frames to maintain a requested fps in
> ffmpeg.c, see the code surrounding video_sync_method
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> The educated differ from the uneducated as much as the living from the
> dead. -- Aristotle 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


--
Chris.



More information about the ffmpeg-devel mailing list