[FFmpeg-devel] Skip Frame in MJPEG video

Michael Niedermayer michaelni at gmx.at
Wed May 25 16:57:06 CEST 2011


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110525/76eef02e/attachment.asc>


More information about the ffmpeg-devel mailing list