summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-02-14 19:02:42 +0100
committerPaul B Mahol <onemda@gmail.com>2016-02-16 16:12:44 +0100
commita588c7ac13bce3ef327ae2490e0974b65242c01f (patch)
tree422266273be4b8369a53d8519ce23ec64bf101b3 /doc
parent15d9645fb4ce005f986cc71b3954a739b23356c5 (diff)
avfilter: add fieldhint filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 68f54f19b0..576a13b7d6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6637,6 +6637,50 @@ Specify whether to extract the top (if the value is @code{0} or
@code{bottom}).
@end table
+@section fieldhint
+
+Create new frames by copying the top and bottom fields from surrounding frames
+supplied as numbers by the hint file.
+
+@table @option
+@item hint
+Set file containing hints: absolute/relative frame numbers.
+
+There must be one line for each frame in a clip. Each line must contain two
+numbers separated by the comma, optionally followed by @code{-} or @code{+}.
+Numbers supplied on each line of file can not be out of [N-1,N+1] where N
+is current frame number for @code{absolute} mode or out of [-1, 1] range
+for @code{relative} mode. First number tells from which frame to pick up top
+field and second number tells from which frame to pick up bottom field.
+
+If optionally followed by @code{+} output frame will be marked as interlaced,
+else if followed by @code{-} output frame will be marked as progressive, else
+it will be marked same as input frame.
+If line starts with @code{#} or @code{;} that line is skipped.
+
+@item mode
+Can be item @code{absolute} or @code{relative}. Default is @code{absolute}.
+@end table
+
+Example of first several lines of @code{hint} file for @code{relative} mode:
+@example
+0,0 - # first frame
+1,0 - # second frame, use third's frame top field and second's frame bottom field
+1,0 - # third frame, use fourth's frame top field and third's frame bottom field
+1,0 -
+0,0 -
+0,0 -
+1,0 -
+1,0 -
+1,0 -
+0,0 -
+0,0 -
+1,0 -
+1,0 -
+1,0 -
+0,0 -
+@end example
+
@section fieldmatch
Field matching filter for inverse telecine. It is meant to reconstruct the