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

Nicolas George nicolas.george at normalesup.org
Sun Oct 10 12:24:01 CEST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-forcekeyframes-01-parser-20101010-1220.diff
Type: text/x-diff
Size: 2264 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101010/77fddebd/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-forcekeyframes-02-option-20101010-1220.diff
Type: text/x-diff
Size: 3784 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101010/77fddebd/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-forcekeyframes-03-lavc-20101010-1220.diff
Type: text/x-diff
Size: 1253 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101010/77fddebd/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-forcekeyframes-04-x264-20101010-1220.diff
Type: text/x-diff
Size: 1050 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101010/77fddebd/attachment-0003.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-forcekeyframes-05-xvid-20101010-1220.diff
Type: text/x-diff
Size: 1190 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101010/77fddebd/attachment-0004.diff>
-------------- 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/20101010/77fddebd/attachment.pgp>


More information about the MPlayer-dev-eng mailing list