aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-02-02 00:31:00 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-02-06 20:46:58 +0100
commitb7d45d0b0fdbd10b45f57ebfae6de7402ca7c2b8 (patch)
treef4c77913127292440001e9b9ac561eba26d07d1f /doc/filters.texi
parente8a06b14864901ddd2ad87b977fd1df8e2ed0050 (diff)
downloadffmpeg-b7d45d0b0fdbd10b45f57ebfae6de7402ca7c2b8.tar.gz
lavfi: add setfield filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index d83f561d5c..135e1143e2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2385,6 +2385,28 @@ To change the sample aspect ratio to 10:11, specify:
setsar=10:11
@end example
+@section setfield
+
+Force field for the output video frame.
+
+The @code{setfield} filter marks the interlace type field for the
+output frames. It does not change the input frame, but only sets the
+corresponding property, which affects how the frame is treated by
+followig filters (e.g. @code{fieldorder} or @code{yadif}).
+
+It accepts a parameter representing an integer or a string, which can
+assume the following values:
+@table @samp
+@item -1, auto
+Keep the same field property.
+
+@item 0, bff
+Mark the frame as bottom-field-first.
+
+@item 1, tff
+Mark the frame as top-field-first.
+@end table
+
@section setpts
Change the PTS (presentation timestamp) of the input video frames.