--- Resending with the comments received on IRC. Vittorio doc/filters.texi | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi index 5f9d1f8..ff663b1 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1034,6 +1034,9 @@ crop=out_w=in_w-100:out_h=in_h-100:x=100:y=100 # Set x depending on the value of y "crop=in_w/2:in_h/2:y:10+10*sin(n/10)" + +# Make sure width and height are a multiple of 2 (rounding down) +"crop=x=0:y=0:out_w=((in_w-1)/2)*2:out_h=((in_h-1)/2)*2" @end example @section cropdetect -- 1.8.5.2 (Apple Git-48) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
