Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: off topic: rotating a video
Date: Wed, 18 Feb 2015 18:11:32
Message-Id: 87fva3qedg.fsf@nyu.edu
In Reply to: Re: [gentoo-user] Re: off topic: rotating a video by David Haller
1 On Mon, Feb 16 2015, David Haller wrote:
2
3 > Hello,
4 >
5 > On Mon, 16 Feb 2015, gottlieb@×××.edu wrote:
6 >>I built and tried mplayer. Again not rotated. I ran it from the
7 >>terminal. Below is the output up to when I killed it
8 > [..]
9 >>VO: [xv] 1920x1080 => 1920x1080 Planar YV12
10 >
11 > FWIW: if it's just for watching the vid, try
12 >
13 > mplayer -vf rotate=1 foo.mp4
14 >
15 > That's rotating 90deg clockwise, see 'man mplayer', search for
16 > 'rotate', second hit:
17 >
18 > [..]
19 > -vf
20 > [..]
21 > rotate[=<0-7>]
22 > Rotates the image by 90 degrees and optionally flips it. For
23 > values between 4-7 rotation is only done if the movie geometry
24 > is portrait and not landscape.
25 >
26 > 0 Rotate by 90 degrees clockwise and flip (default).
27 > 1 Rotate by 90 degrees clockwise.
28 > 2 Rotate by 90 degrees counterclockwise.
29 > 3 Rotate by 90 degrees counterclockwise and flip.
30 >
31 > When using '-ovc copy', mencoder does not (as usual) seem to apply
32 > this filter.
33 >
34 > HTH,
35 > -dnh
36
37 This worked (as did -flip for 180 degrees)!
38
39 Thanks to everyone for their help.
40
41 allan