aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-06-17 13:16:02 +0200
committerClément Bœsch <ubitux@gmail.com>2012-06-17 13:20:04 +0200
commit20a6fa77a6a3b7a35416f003791307d2067b720c (patch)
tree2716aa7ff646d63732727746a17dc87154eaaf93 /doc/filters.texi
parenta1aac8d004d1e3d415208fe0aea15b655826fb15 (diff)
downloadffmpeg-20a6fa77a6a3b7a35416f003791307d2067b720c.tar.gz
doc: add two similar overlay "side-by-side" examples.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a354e9703e..50cd72ec09 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2367,6 +2367,13 @@ ffmpeg -i input -i logo1 -i logo2 -filter_complex
# add a transparent color layer on top of the main video,
# WxH specifies the size of the main input to the overlay filter
color=red@.3:WxH [over]; [in][over] overlay [out]
+
+# play an original video and a filtered version (here with the deshake filter)
+# side by side
+ffplay input.avi -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w'
+
+# the previous example is the same as:
+ffplay input.avi -vf 'split[b], pad=iw*2[src], [b]deshake, [src]overlay=w'
@end example
You can chain together more overlays but the efficiency of such