[FFmpeg-devel] [PATCH] ffmpeg: implement -force_key_frames_expr option

Nicolas George nicolas.george at normalesup.org
Sun Jan 13 22:48:17 CET 2013

Le quartidi 24 nivôse, an CCXXI, Stefano Sabatini a écrit :
> Also, after some thinking I'm not sure it is a good idea to "pollute"
> libavcodec (and I can't find a simple way to implement this at the
> library level), and I don't want to churn library code more than
> necessary. Thus basically I'm reproposing this patch in the current
> form, which fixes the problem for me.

I think I agree with that position.

> A possible alternative to the current approach (which computes the
> time value for the next split) would be to evaluate an expression for
> every frame, so that for example:
> expr:n*10
> would become:
> expr:gte(t, n*10)
> which would be more flexible.

If there are enough available variables, then this is better indeed.

Please consider working on top of this patch:
I am about to send an updated version.


  Nicolas George
-------------- 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/20130113/59f1177c/attachment.asc>

More information about the ffmpeg-devel mailing list