[FFmpeg-devel] [PATCH] doc: add an overlay "side-by-side" example.

Clément Bœsch ubitux at gmail.com
Fri Jun 8 07:55:19 CEST 2012


---
 doc/filters.texi |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 150bde3..dc1cda1 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2284,6 +2284,11 @@ 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'
+
 @end example
 
 You can chain together more overlays but the efficiency of such
-- 
1.7.10.3



More information about the ffmpeg-devel mailing list