diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-25 21:21:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-09 19:06:51 +0200 |
commit | 95f1f56a21bc2f824af6fb97ca7ab35cdd0c401e (patch) | |
tree | 9c69fffdfb2f510ec362738012a19c920809d340 /doc/filters.texi | |
parent | 40c885c589808455a1c4b473509f1e6cd4908f55 (diff) | |
download | ffmpeg-95f1f56a21bc2f824af6fb97ca7ab35cdd0c401e.tar.gz |
vf_select: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 5cb29235ba..037d6ad492 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1742,9 +1742,16 @@ scale=w='min(500\, iw*3/2):h=-1' @section select Select frames to pass in output. -It accepts in input an expression, which is evaluated for each input -frame. If the expression is evaluated to a non-zero value, the frame -is selected and passed to the output, otherwise it is discarded. +This filter accepts the following options: + +@table @option + +@item expr +An expression, which is evaluated for each input frame. If the expression is +evaluated to a non-zero value, the frame is selected and passed to the output, +otherwise it is discarded. + +@end table The expression can contain the following constants: @@ -1831,13 +1838,13 @@ Some examples follow: select # the above is the same as: -select=1 +select=expr=1 # skip all frames: -select=0 +select=expr=0 # select only I-frames -select='eq(pict_type\,I)' +select='expr=eq(pict_type\,I)' # select one frame every 100 select='not(mod(n\,100))' |