Commit 69fc2489 authored by Stefano Sabatini's avatar Stefano Sabatini

doc/muxers: simplify segment examples

The simplifications are due to the recent option changes.
parent 2d31ae29
...@@ -559,7 +559,7 @@ ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.list out%03d.nu ...@@ -559,7 +559,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 As the example above, but segment the input file according to the split
points specified by the @var{segment_times} option: points specified by the @var{segment_times} option:
@example @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 @end example
@item @item
...@@ -569,7 +569,7 @@ with the segment option @var{segment_time_delta} to account for ...@@ -569,7 +569,7 @@ with the segment option @var{segment_time_delta} to account for
possible roundings operated when setting key frame times. possible roundings operated when setting key frame times.
@example @example
ffmpeg -i in.mkv -force_key_frames 1,2,3,5,8,13,21 -vcodec mpeg4 -acodec pcm_s16le -map 0 \ 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 @end example
In order to force key frames on the input file, transcoding is In order to force key frames on the input file, transcoding is
required. required.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment