Browse code

doc/muxers: apply various minor fixes to segment documentation

Stefano Sabatini authored on 2013/06/29 21:09:47
Showing 1 changed files
... ...
@@ -597,7 +597,7 @@ Set the reference stream, as specified by the string @var{specifier}.
597 597
 If @var{specifier} is set to @code{auto}, the reference is choosen
598 598
 automatically. Otherwise it must be a stream specifier (see the ``Stream
599 599
 specifiers'' chapter in the ffmpeg manual) which specifies the
600
-reference stream. The default value is ``auto''.
600
+reference stream. The default value is @code{auto}.
601 601
 
602 602
 @item segment_format @var{format}
603 603
 Override the inner container format, by default it is guessed by the filename
... ...
@@ -611,7 +611,7 @@ listfile is generated.
611 611
 Set flags affecting the segment list generation.
612 612
 
613 613
 It currently supports the following flags:
614
-@table @var
614
+@table @samp
615 615
 @item cache
616 616
 Allow caching (only affects M3U8 list files).
617 617
 
... ...
@@ -619,18 +619,18 @@ Allow caching (only affects M3U8 list files).
619 619
 Allow live-friendly file generation.
620 620
 @end table
621 621
 
622
-Default value is @code{cache}.
622
+Default value is @code{samp}.
623 623
 
624 624
 @item segment_list_size @var{size}
625 625
 Update the list file so that it contains at most the last @var{size}
626 626
 segments. If 0 the list file will contain all the segments. Default
627 627
 value is 0.
628 628
 
629
-@item segment_list type @var{type}
629
+@item segment_list_type @var{type}
630 630
 Specify the format for the segment list file.
631 631
 
632 632
 The following values are recognized:
633
-@table @option
633
+@table @samp
634 634
 @item flat
635 635
 Generate a flat list for the created segments, one segment per line.
636 636
 
... ...
@@ -651,7 +651,7 @@ the segment start and end time expressed in seconds.
651 651
 A list file with the suffix @code{".csv"} or @code{".ext"} will
652 652
 auto-select this format.
653 653
 
654
-@code{ext} is deprecated in favor or @code{csv}.
654
+@samp{ext} is deprecated in favor or @samp{csv}.
655 655
 
656 656
 @item ffconcat
657 657
 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
745 745
 @end example
746 746
 
747 747
 @item
748
-As the example above, but use the @code{ffmpeg} @var{force_key_frames}
748
+As the example above, but use the @command{ffmpeg} @option{force_key_frames}
749 749
 option to force key frames in the input at the specified location, together
750
-with the segment option @var{segment_time_delta} to account for
750
+with the segment option @option{segment_time_delta} to account for
751 751
 possible roundings operated when setting key frame times.
752 752
 @example
753 753
 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.
758 758
 
759 759
 @item
760 760
 Segment the input file by splitting the input file according to the
761
-frame numbers sequence specified with the @var{segment_frames} option:
761
+frame numbers sequence specified with the @option{segment_frames} option:
762 762
 @example
763 763
 ffmpeg -i in.mkv -codec copy -map 0 -f segment -segment_list out.csv -segment_frames 100,200,300,500,800 out%03d.nut
764 764
 @end example