[FFmpeg-devel] Irregular keyframe distance

Michael Niedermayer michaelni
Mon Apr 28 19:00:33 CEST 2008


On Mon, Apr 28, 2008 at 06:36:16PM +0200, J?r?me DESPATIS wrote:
> Hi,
> 
> I'm experiencing a strange problem with ffmpeg / linux:
> from an infile.mpeg, i'd like to create an outfile.mpeg that have a 
> keyframe at every 5 frames, so i use this command:
> 
> ffmpeg -i irregular_keyframe_distance.mpeg -an -r 25 -vcodec mpeg1video 
> -qscale 5 -g 5 -keyint_min 5 outfile.mpeg
> 
> But outfile.mpeg doesn't have exactly a keyframe at every 5 frames, in 
> fact, it has a minimum of 1 keyframe at every 5 frames, but not exactly 
> a keyframe at every 5 frames.

keyint_min is only supported by x264 a patch adding support to the native
encoders is welcome and should be easy to write.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/69432974/attachment.pgp>



More information about the ffmpeg-devel mailing list