From 44096073e96c623f3e3c80bed7ee13d58869cecd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 20 Apr 2014 21:26:30 +0200 Subject: vf_rotate: support all multiples of 90 degrees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This couldn't rotate by 180°. Add this, and also make the parameter in degrees, instead of magic numbers. For now, drop the flipping stuff. You can still flip with --vf=flip or --vf=mirror. Drop the landscape/portrait stuff - I think this is something almost nobody will use. If it turns out that we need some of these things, they can be readded later. Make it use libavfilter. Its vf_transpose implementation looks pretty simple, except that it uses slice threading and should be much faster. --- DOCS/man/en/vf.rst | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/en/vf.rst b/DOCS/man/en/vf.rst index b361603f60..f337a455b7 100644 --- a/DOCS/man/en/vf.rst +++ b/DOCS/man/en/vf.rst @@ -88,15 +88,8 @@ Available filters are: ``mirror`` Mirrors the image on the Y axis. -``rotate[=<0-7>]`` - Rotates the image by 90 degrees and optionally flips it. For values - between 4-7 rotation is only done if the movie geometry is portrait and - not landscape. - - :0: Rotate by 90 degrees clockwise and flip (default). - :1: Rotate by 90 degrees clockwise. - :2: Rotate by 90 degrees counterclockwise. - :3: Rotate by 90 degrees counterclockwise and flip. +``rotate[=0|90|180|270]`` + Rotates the image by a multiple of 90 degrees clock-wise. ``scale[=w:h[:interlaced[:chr-drop[:param[:param2[:noup[:arnd]]]]]]]`` Scales the image with the software scaler (slow) and performs a YUV<->RGB -- cgit v1.2.3