Improve rendering.
Stefano Sabatini authored on 2013/09/19 07:46:53... | ... |
@@ -878,15 +878,18 @@ specified by a stream specifier. If not specified, this defaults to |
878 | 878 |
all the input streams. |
879 | 879 |
@end table |
880 | 880 |
|
881 |
-Example: encode something and both archive it in a WebM file and stream it |
|
881 |
+Some examples follow. |
|
882 |
+@itemize |
|
883 |
+@item |
|
884 |
+Encode something and both archive it in a WebM file and stream it |
|
882 | 885 |
as MPEG-TS over UDP (the streams need to be explicitly mapped): |
883 |
- |
|
884 | 886 |
@example |
885 | 887 |
ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a |
886 | 888 |
"archive-20121107.mkv|[f=mpegts]udp://10.0.1.255:1234/" |
887 | 889 |
@end example |
888 | 890 |
|
889 |
-Example: use @command{ffmpeg} to encode the input, and send the output |
|
891 |
+@item |
|
892 |
+Use @command{ffmpeg} to encode the input, and send the output |
|
890 | 893 |
to three different destinations. The @code{dump_extra} bitstream |
891 | 894 |
filter is used to add extradata information to all the output video |
892 | 895 |
keyframes packets, as requested by the MPEG-TS format. The select |
... | ... |
@@ -896,6 +899,7 @@ audio packets. |
896 | 896 |
ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental |
897 | 897 |
-f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=a]out.aac" |
898 | 898 |
@end example |
899 |
+@end itemize |
|
899 | 900 |
|
900 | 901 |
Note: some codecs may need different options depending on the output format; |
901 | 902 |
the auto-detection of this can not work with the tee muxer. The main example |