doc: cleanup filter section

Use the @command{} tag when needed and cleanup the examples.
pull/2/head
Luca Barbato 13 years ago
parent 97980db487
commit 9270b8a3d1
  1. 19
      doc/filters.texi

@ -17,8 +17,8 @@ output pads is called a "sink".
@section Filtergraph syntax @section Filtergraph syntax
A filtergraph can be represented using a textual representation, which A filtergraph can be represented using a textual representation, which
is recognized by the @code{-vf} and @code{-af} options of the ff* is recognized by the @code{-vf} and @code{-af} options in @command{avconv}
tools, and by the @code{av_parse_graph()} function defined in and @command{avplay}, and by the @code{av_parse_graph()} function defined in
@file{libavfilter/avfiltergraph}. @file{libavfilter/avfiltergraph}.
A filterchain consists of a sequence of connected filters, each one A filterchain consists of a sequence of connected filters, each one
@ -662,7 +662,7 @@ which is bottom field first.
For example: For example:
@example @example
./ffmpeg -i in.vob -vf "fieldorder=bff" out.dv ./avconv -i in.vob -vf "fieldorder=bff" out.dv
@end example @end example
@section fifo @section fifo
@ -780,10 +780,9 @@ gradfun=1.2
Flip the input video horizontally. Flip the input video horizontally.
For example to horizontally flip the video in input with For example to horizontally flip the input video with @command{avconv}:
@file{ffmpeg}:
@example @example
ffmpeg -i in.avi -vf "hflip" out.avi avconv -i in.avi -vf "hflip" out.avi
@end example @end example
@section hqdn3d @section hqdn3d
@ -1623,7 +1622,7 @@ Pass the images of input video on to next video filter as multiple
slices. slices.
@example @example
./ffmpeg -i in.avi -vf "slicify=32" out.avi ./avconv -i in.avi -vf "slicify=32" out.avi
@end example @end example
The filter accepts the slice height as parameter. If the parameter is The filter accepts the slice height as parameter. If the parameter is
@ -1719,8 +1718,8 @@ unsharp=7:7:2.5
# Strong blur of both luma and chroma parameters # Strong blur of both luma and chroma parameters
unsharp=7:7:-2:7:7:-2 unsharp=7:7:-2:7:7:-2
# Use the default values with @command{ffmpeg} # Use the default values with @command{avconv}
./ffmpeg -i in.avi -vf "unsharp" out.mp4 ./avconv -i in.avi -vf "unsharp" out.mp4
@end example @end example
@section vflip @section vflip
@ -1728,7 +1727,7 @@ unsharp=7:7:-2:7:7:-2
Flip the input video vertically. Flip the input video vertically.
@example @example
./ffmpeg -i in.avi -vf "vflip" out.avi ./avconv -i in.avi -vf "vflip" out.avi
@end example @end example
@section yadif @section yadif

Loading…
Cancel
Save