[MPlayer-dev-eng] [PATCH] -force-key-frames option

Michael Niedermayer michaelni at gmx.at
Mon Oct 11 20:04:11 CEST 2010


On Sun, Oct 10, 2010 at 12:24:01PM +0200, Nicolas George wrote:
> Le quartidi 14 vendémiaire, an CCXIX, Nicolas George a écrit :
> > The attached patch adds the -forcek-key-frames option to mencoder. This
> > option accepts a list of timestamps and forces the codec to put keyframes
> > there. The purpose is to ensure seek points at chapter marks.
> > 
> > Currently I only implemented it for x264, but I intend to do xvid as well at
> > least (but it is late in my timezone).
> > 
> > This patch should probably be split into three parts (export
> > parse_timestring, option core and parsing, x264 implementation), but that is
> > not necessary for the preliminary review.
> 
> Attached, updated version, with support for lavc and xvid, and split into
> five parts:
> 
> 01-parser	Export the parse_timestring with a slightly better API.
> 02-option	Add the -force-key-frames option.
> 03-lavc		Forced key frames support for lavc.
> 04-x264		Forced key frames support for x264.
> 05-xvid		Forced key frames support for xvid.
> 
> Regards,
> 
> -- 
>   Nicolas George

[...]

>  DOCS/man/en/mplayer.1 |    2 ++
>  libmpcodecs/ve_lavc.c |    2 ++
>  2 files changed, 4 insertions(+)
> 9f58cc7359acc4c24dc67512267a7c34f43ff991  mplayer-forcekeyframes-03-lavc-20101010-1220.diff
>  DOCS/man/en/mplayer.1 |    2 ++
>  libmpcodecs/ve_lavc.c |    2 ++
>  2 files changed, 4 insertions(+), 0 deletions(-)

ok (if tested) and thanks

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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101011/de891f48/attachment.pgp>


More information about the MPlayer-dev-eng mailing list