Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: darkshadow on March 30, 2013, 02:10:25 PM

Title: Rotate plugin: Wrong direction
Post by: darkshadow on March 30, 2013, 02:10:25 PM
The rotate plugin rotates the video to the wrong direction.

Currently (in 2.6), 90Ã,° means rotation to the left, 270Ã,° means rotation to the right. Nearly all other applications and especially avidemux-2.5 do it the other way round, that is 90Ã,° is right, 270Ã,° is left. The question is actually, why call it 90Ã,° and 270Ã,° at all, why not simply telling the user what it will do (rotate left, right, upside down)?
Title: Re: Rotate plugin: Wrong direction
Post by: Jan Gruuthuse on March 30, 2013, 04:36:36 PM
If developers choose to change an option. It could be: rename drop down list 270Ã,° to -90Ã,°, that would solve the issue?
+90Ã,° rotation is counter clockwise.
-90Ã,° rotation is clockwise.
It's all a matter of convention ;)
QuoteBy convention (in maths), positive rotations go counter clockwise, and negative rotations go clockwise.

Title: Re: Rotate plugin: Wrong direction
Post by: darkshadow on April 02, 2013, 04:18:02 PM
No, this is not only a matter of convention. It is both a usability and compatibility problem.

Avidemux-2.5:
  90Ã,° = rotate right
270Ã,° = rotate left

ImageMagick convert:
  90Ã,° = rotate right
270Ã,° = rotate left

GTK label rotation:
  90Ã,° = rotate right
270Ã,° (or -90Ã,°) = rotate left
...
...

avidemux-2.6:
  90Ã,° = rotate left
270Ã,° = rotate right

maths matrix rotation convention (apparently):
  90Ã,° = rotate left
  -90Ã,° = rotate right

So, maybe there are different conventions, but why should a user care about the degrees at all? Is it possible to rotate a video by 45Ã,°? Or 48Ã,°? I don't think so. So why not simply provide the choices "rotate left", "rotate right", "turn upside down", whatever?

It is still not clear whether this was intentional or not. But why not just leave it as before? And as you can probably see from my list, it is quite common to not follow the maths convention, as has been done in the old implementation.
Title: Re: Rotate plugin: Wrong direction
Post by: Jan Gruuthuse on April 02, 2013, 08:32:56 PM
Quote from: darkshadow on April 02, 2013, 04:18:02 PM
>8>8 Is it possible to rotate a video by 45Ã,°? Or 48Ã,°? I don't think so.
45Ã,° video download (http://rapidshare.com/files/3140480756/45%C2%B0Video.mkv) 63 MB download ;)
From one user to another user, only thing I can say: "That's a developers prerogative"
Title: Re: Rotate plugin: Wrong direction
Post by: darkshadow on April 02, 2013, 08:40:45 PM
That's nice, but isn't this -45Ã,° then?

Anyway, other questions remain unanswered.