forked from FFmpeg/FFmpeg
doc/muxers/segment: reword text for examples, improve consistency
This commit is contained in:
parent
4f5493fe23
commit
de1f0c94cd
1 changed files with 5 additions and 5 deletions
|
@ -956,7 +956,7 @@ argument must be a time duration specification, and defaults to 0.
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
@item
|
@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
|
@file{out-000.nut}, @file{out-001.nut}, etc., and write the list of
|
||||||
generated segments to @file{out.list}:
|
generated segments to @file{out.list}:
|
||||||
@example
|
@example
|
||||||
|
@ -970,14 +970,14 @@ ffmpeg -i in.mkv -f segment -segment_time 10 -segment_format_options movflags=+f
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
As the example above, but segment the input file according to the split
|
Segment the input file according to the split points specified by the
|
||||||
points specified by the @var{segment_times} option:
|
@var{segment_times} option:
|
||||||
@example
|
@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
|
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
|
@end example
|
||||||
|
|
||||||
@item
|
@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
|
option to force key frames in the input at the specified location, together
|
||||||
with the segment option @option{segment_time_delta} to account for
|
with the segment option @option{segment_time_delta} to account for
|
||||||
possible roundings operated when setting key frame times.
|
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
|
@end example
|
||||||
|
|
||||||
@item
|
@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:
|
and @code{libfaac} encoders:
|
||||||
@example
|
@example
|
||||||
ffmpeg -i in.mkv -map 0 -codec:v libx264 -codec:a libfaac -f ssegment -segment_list out.list out%03d.ts
|
ffmpeg -i in.mkv -map 0 -codec:v libx264 -codec:a libfaac -f ssegment -segment_list out.list out%03d.ts
|
||||||
|
|
Loading…
Add table
Reference in a new issue