[FFmpeg-devel] Irregular keyframe distance

Michael Niedermayer michaelni
Mon Apr 28 19:35:04 CEST 2008


On Mon, Apr 28, 2008 at 07:32:29PM +0200, Balatoni Denes wrote:
> Hi!
> 
> Monday 28 April 2008 19:00-kor Michael Niedermayer ezt ?rta:
> > On Mon, Apr 28, 2008 at 06:36:16PM +0200, J?r?me DESPATIS wrote:
> > > 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.
> 
> Wouldn't tweaking scenechange_threshold be a possible fix for this? 

To what should i set scenechange_threshold if i want a gop size of 10 and
a keyint_min of 5


> Unfortunatelly it is not exported to ffmpeg atm.

RTFS AVOptions

[...]
-- 
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: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/f490c716/attachment.pgp>



More information about the ffmpeg-devel mailing list