[FFmpeg-devel] [PATCH] doc/filters: add geq diagonal split screen example

Lou Logan lou at lrcd.com
Fri Feb 12 01:51:34 CET 2016


Signed-off-by: Lou Logan <lou at lrcd.com>
---
 doc/filters.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 35f5050..4e34b98 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7485,6 +7485,13 @@ by the linear gradient:
 @example
 ffmpeg -i input.mp4 -filter_complex "geq=lum=255*(Y/H),format=gray[grad];[0:v]boxblur=4[blur];[blur][grad]alphamerge[alpha];[0:v][alpha]overlay" output.mp4
 @end example
+
+ at item
+Diagonal split screen to compare filter effect:
+ at example
+ffmpeg -i input -filter_complex "[0:v]geq=lum=if(gt(X\,Y*(W/H))\,255),format=gray[alpha];[0:v][alpha]alphamerge,curves=preset=color_negative[filtered];[0:v][filtered]overlay" output
+ at end example
+
 @end itemize
 
 @section gradfun
-- 
2.7.0



More information about the ffmpeg-devel mailing list