diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 14:58:29 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 15:09:25 +0200 |
commit | 7fdebb116c9896b98463fc247a96aa64936b4043 (patch) | |
tree | 3ce54b6f21c26dd814031e5a68a64ce93af3644a /doc/filters.texi | |
parent | 2fb8ca7d2c272d4246a87736030861a13064bb0d (diff) | |
download | ffmpeg-7fdebb116c9896b98463fc247a96aa64936b4043.tar.gz |
lavfi/astreamsync: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 75dd2decdd..55f2062ddc 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -999,7 +999,11 @@ will create 5 copies of the input audio. Forward two audio streams and control the order the buffers are forwarded. -The argument to the filter is an expression deciding which stream should be +The filter accepts the following options: + +@table @option +@item expr, e +Set the expression deciding which stream should be forwarded next: if the result is negative, the first stream is forwarded; if the result is positive or zero, the second stream is forwarded. It can use the following variables: @@ -1015,8 +1019,11 @@ current timestamp of each stream The default value is @code{t1-t2}, which means to always forward the stream that has a smaller timestamp. +@end table + +@subsection Examples -Example: stress-test @code{amerge} by randomly sending buffers on the wrong +Stress-test @code{amerge} by randomly sending buffers on the wrong input, while avoiding too much of a desynchronization: @example amovie=file.ogg [a] ; amovie=file.mp3 [b] ; |