aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-12-26 11:52:26 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-12-26 11:52:26 +0000
commitf150e4dc2cffa7f9f0dd155587e8d7fcc715d5b7 (patch)
treeb99d0268ab6867e398d650754a813dfa023fc1e4 /doc
parent17fc94933b050c7b0917ee5a347b14d7b6f87580 (diff)
downloadffmpeg-f150e4dc2cffa7f9f0dd155587e8d7fcc715d5b7.tar.gz
Extend documentation for format and noformat filters, and remove
explicit reference to the ffmpeg tool command for keeping the docs more generic. Originally committed as revision 26098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi24
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index ef1ce62aa9..c4b132d6c7 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -366,13 +366,14 @@ the next filter.
The filter accepts a list of pixel format names, separated by ":",
for example "yuv420p:monow:rgb24".
-The following command:
-
+Some examples follow:
@example
-./ffmpeg -i in.avi -vf "format=yuv420p" out.avi
-@end example
+# convert the input video to the format "yuv420p"
+format=yuv420p
-will convert the input video to the format "yuv420p".
+# convert the input video to any of the formats in the list
+format=yuv420p:yuv444p:yuv410p
+@end example
@anchor{frei0r}
@section frei0r
@@ -499,14 +500,15 @@ input to the next filter.
The filter accepts a list of pixel format names, separated by ":",
for example "yuv420p:monow:rgb24".
-The following command:
-
+Some examples follow:
@example
-./ffmpeg -i in.avi -vf "noformat=yuv420p, vflip" out.avi
-@end example
+# force libavfilter to use a format different from "yuv420p" for the
+# input to the vflip filter
+noformat=yuv420p,vflip
-will make libavfilter use a format different from "yuv420p" for the
-input to the vflip filter.
+# convert the input video to any of the formats not contained in the list
+noformat=yuv420p:yuv444p:yuv410p
+@end example
@section null