[FFmpeg-cvslog] doc: add two similar overlay "side-by-side" examples.
Clément Bœsch
git at videolan.org
Sun Jun 17 13:21:30 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Jun 17 13:16:02 2012 +0200| [20a6fa77a6a3b7a35416f003791307d2067b720c] | committer: Clément Bœsch
doc: add two similar overlay "side-by-side" examples.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20a6fa77a6a3b7a35416f003791307d2067b720c
---
doc/filters.texi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index a354e97..50cd72e 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 at .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
More information about the ffmpeg-cvslog
mailing list