Commit f150e4dc authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent 17fc9493
...@@ -366,13 +366,14 @@ the next filter. ...@@ -366,13 +366,14 @@ the next filter.
The filter accepts a list of pixel format names, separated by ":", The filter accepts a list of pixel format names, separated by ":",
for example "yuv420p:monow:rgb24". for example "yuv420p:monow:rgb24".
The following command: Some examples follow:
@example @example
./ffmpeg -i in.avi -vf "format=yuv420p" out.avi # convert the input video to the format "yuv420p"
@end example 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} @anchor{frei0r}
@section frei0r @section frei0r
...@@ -499,14 +500,15 @@ input to the next filter. ...@@ -499,14 +500,15 @@ input to the next filter.
The filter accepts a list of pixel format names, separated by ":", The filter accepts a list of pixel format names, separated by ":",
for example "yuv420p:monow:rgb24". for example "yuv420p:monow:rgb24".
The following command: Some examples follow:
@example @example
./ffmpeg -i in.avi -vf "noformat=yuv420p, vflip" out.avi # force libavfilter to use a format different from "yuv420p" for the
@end example # input to the vflip filter
noformat=yuv420p,vflip
will make libavfilter use a format different from "yuv420p" for the # convert the input video to any of the formats not contained in the list
input to the vflip filter. noformat=yuv420p:yuv444p:yuv410p
@end example
@section null @section null
......
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