mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
doc/muxers: apply various minor fixes to segment documentation
This commit is contained in:
parent
f150db096d
commit
d47168e729
@ -597,7 +597,7 @@ Set the reference stream, as specified by the string @var{specifier}.
|
|||||||
If @var{specifier} is set to @code{auto}, the reference is choosen
|
If @var{specifier} is set to @code{auto}, the reference is choosen
|
||||||
automatically. Otherwise it must be a stream specifier (see the ``Stream
|
automatically. Otherwise it must be a stream specifier (see the ``Stream
|
||||||
specifiers'' chapter in the ffmpeg manual) which specifies the
|
specifiers'' chapter in the ffmpeg manual) which specifies the
|
||||||
reference stream. The default value is ``auto''.
|
reference stream. The default value is @code{auto}.
|
||||||
|
|
||||||
@item segment_format @var{format}
|
@item segment_format @var{format}
|
||||||
Override the inner container format, by default it is guessed by the filename
|
Override the inner container format, by default it is guessed by the filename
|
||||||
@ -611,7 +611,7 @@ listfile is generated.
|
|||||||
Set flags affecting the segment list generation.
|
Set flags affecting the segment list generation.
|
||||||
|
|
||||||
It currently supports the following flags:
|
It currently supports the following flags:
|
||||||
@table @var
|
@table @samp
|
||||||
@item cache
|
@item cache
|
||||||
Allow caching (only affects M3U8 list files).
|
Allow caching (only affects M3U8 list files).
|
||||||
|
|
||||||
@ -619,18 +619,18 @@ Allow caching (only affects M3U8 list files).
|
|||||||
Allow live-friendly file generation.
|
Allow live-friendly file generation.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
Default value is @code{cache}.
|
Default value is @code{samp}.
|
||||||
|
|
||||||
@item segment_list_size @var{size}
|
@item segment_list_size @var{size}
|
||||||
Update the list file so that it contains at most the last @var{size}
|
Update the list file so that it contains at most the last @var{size}
|
||||||
segments. If 0 the list file will contain all the segments. Default
|
segments. If 0 the list file will contain all the segments. Default
|
||||||
value is 0.
|
value is 0.
|
||||||
|
|
||||||
@item segment_list type @var{type}
|
@item segment_list_type @var{type}
|
||||||
Specify the format for the segment list file.
|
Specify the format for the segment list file.
|
||||||
|
|
||||||
The following values are recognized:
|
The following values are recognized:
|
||||||
@table @option
|
@table @samp
|
||||||
@item flat
|
@item flat
|
||||||
Generate a flat list for the created segments, one segment per line.
|
Generate a flat list for the created segments, one segment per line.
|
||||||
|
|
||||||
@ -651,7 +651,7 @@ the segment start and end time expressed in seconds.
|
|||||||
A list file with the suffix @code{".csv"} or @code{".ext"} will
|
A list file with the suffix @code{".csv"} or @code{".ext"} will
|
||||||
auto-select this format.
|
auto-select this format.
|
||||||
|
|
||||||
@code{ext} is deprecated in favor or @code{csv}.
|
@samp{ext} is deprecated in favor or @samp{csv}.
|
||||||
|
|
||||||
@item ffconcat
|
@item ffconcat
|
||||||
Generate an ffconcat file for the created segments. The resulting file
|
Generate an ffconcat file for the created segments. The resulting file
|
||||||
@ -745,9 +745,9 @@ ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.csv -segment_ti
|
|||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
As the example above, but use the @code{ffmpeg} @var{force_key_frames}
|
As the example above, but 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 @var{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.
|
||||||
@example
|
@example
|
||||||
ffmpeg -i in.mkv -force_key_frames 1,2,3,5,8,13,21 -codec:v mpeg4 -codec:a pcm_s16le -map 0 \
|
ffmpeg -i in.mkv -force_key_frames 1,2,3,5,8,13,21 -codec:v mpeg4 -codec:a pcm_s16le -map 0 \
|
||||||
@ -758,7 +758,7 @@ required.
|
|||||||
|
|
||||||
@item
|
@item
|
||||||
Segment the input file by splitting the input file according to the
|
Segment the input file by splitting the input file according to the
|
||||||
frame numbers sequence specified with the @var{segment_frames} option:
|
frame numbers sequence specified with the @option{segment_frames} option:
|
||||||
@example
|
@example
|
||||||
ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.csv -segment_frames 100,200,300,500,800 out%03d.nut
|
ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.csv -segment_frames 100,200,300,500,800 out%03d.nut
|
||||||
@end example
|
@end example
|
||||||
|
Loading…
Reference in New Issue
Block a user