[MPlayer-dev-eng] [PATCH] precise to the keyframe seek in mencoder

Diego Biurrun diego at biurrun.de
Wed Aug 25 10:46:31 CEST 2004


Antoine Duchateau writes:
> The attached patch adds two options to mencoder for MPEG2 streams: 
> fromclosestkeyframe and untilclosestkeyframe. They let the user choose 
> PRECISELY the start and end point of the encoding. Useful for parallel 
> processing of a file.
> 
> --- main/DOCS/man/en/mplayer.1	Tue Aug 24 01:24:27 2004
> +++ main.new/DOCS/man/en/mplayer.1	Wed Aug 25 09:43:08 2004
> @@ -4142,6 +4142,20 @@
>  .B \-audio-preload <0.0\-2.0>
>  Sets up audio buffering time interval (default: 0.5s).
>  .TP
> +.B \-fromclosestkeyframe <[[hh:]mm:]ss[.ms]> (see \-untilclosestkeyframe)
> +For MPEG2 files, start encoding at first GOP following given time or byte position.
> +
> +.I NOTE:
> +.br 
> +Used in conjunction with untilclosestkeyframe, it should let you encode the file by
> +chunks and process it parallelly.

Please break overly long lines and do not add empty lines to the man
page.  Notes are formatted like this in the rest of the man page, so
please stick to the default style:

.br
.I NOTE:

Also, please put the options in alphabetical order.  My nitpickish
self awards extra good karma for not adding trailing whitespace, but
that is minor.

> +.B \-untilclosestkeyframe <[[hh:]mm:]ss[.ms]> (see \-untilclosestkeyframe)
> +For MPEG2 files, stop encoding after having encoded the given duration. The encoding
> +stops at the end of a GOP.

Please start new sentences on a new line in the man page.

Diego




More information about the MPlayer-dev-eng mailing list