Browse Source

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

tags/n2.4
Stefano Sabatini 11 years ago
parent
commit
de1f0c94cd
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      doc/muxers.texi

+ 5
- 5
doc/muxers.texi 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


Loading…
Cancel
Save