[FFmpeg-devel] [PATCH] doc/muxers: simplify segment examples

Clément Bœsch ubitux at gmail.com
Sat Aug 18 11:41:28 CEST 2012


On Thu, Aug 16, 2012 at 12:24:22AM +0200, Stefano Sabatini wrote:
> The simplifications are due to the recent option changes.
> ---
>  doc/muxers.texi |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index 99d1232..9ed7abe 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
> @@ -526,7 +526,7 @@ ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.list out%03d.nu
>  As the example above, but segment the input file according to the split
>  points specified by the @var{segment_times} option:
>  @example
> -ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list_type ext -segment_list out.list -segment_list_size 0 -segment_times 1,2,3,5,8,13,21 out%03d.nut
> +ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.ext -segment_times 1,2,3,5,8,13,21 out%03d.nut
>  @end example
>  
>  @item
> @@ -536,7 +536,7 @@ with the segment option @var{segment_time_delta} to account for
>  possible roundings operated when setting key frame times.
>  @example
>  ffmpeg -i in.mkv -force_key_frames 1,2,3,5,8,13,21 -vcodec mpeg4 -acodec pcm_s16le -map 0 \
> --f segment -segment_list_type ext -segment_list out.list -segment_list_size 0 -segment_times 1,2,3,5,8,13,21 -segment_time_delta 0.05 out%03d.nut
> +-f segment -segment_list out.ext -segment_times 1,2,3,5,8,13,21 -segment_time_delta 0.05 out%03d.nut
>  @end example
>  In order to force key frames on the input file, transcoding is
>  required.

Looks OK

We could even add an HLS example now :)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120818/5c26cc74/attachment.asc>


More information about the ffmpeg-devel mailing list