Skip to content

Commit

Permalink
doc/muxers/segment: reword text for examples, improve consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
saste committed Sep 7, 2014
1 parent 4f5493f commit de1f0c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/muxers.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit de1f0c9

Please sign in to comment.