doc/muxers/segment: reword text for examples, improve consistency

This commit is contained in:
Stefano Sabatini 2014-09-07 13:12:41 +02:00
parent 4f5493fe23
commit de1f0c94cd

View File

@ -956,7 +956,7 @@ argument must be a time duration specification, and defaults to 0.
@itemize
@item
To remux the content of file @file{in.mkv} to a list of segments
Remux the content of file @file{in.mkv} to a list of segments
@file{out-000.nut}, @file{out-001.nut}, etc., and write the list of
generated segments to @file{out.list}:
@example
@ -970,14 +970,14 @@ ffmpeg -i in.mkv -f segment -segment_time 10 -segment_format_options movflags=+f
@end example
@item
As the example above, but segment the input file according to the split
points specified by the @var{segment_times} option:
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 out.csv -segment_times 1,2,3,5,8,13,21 out%03d.nut
@end example
@item
As the example above, but use the @command{ffmpeg} @option{force_key_frames}
Use the @command{ffmpeg} @option{force_key_frames}
option to force key frames in the input at the specified location, together
with the segment option @option{segment_time_delta} to account for
possible roundings operated when setting key frame times.
@ -996,7 +996,7 @@ ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.csv -segment_fr
@end example
@item
To convert the @file{in.mkv} to TS segments using the @code{libx264}
Convert the @file{in.mkv} to TS segments using the @code{libx264}
and @code{libfaac} encoders:
@example
ffmpeg -i in.mkv -map 0 -codec:v libx264 -codec:a libfaac -f ssegment -segment_list out.list out%03d.ts