Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: off topic: rotating a video
Date: Tue, 17 Feb 2015 05:27:48
Message-Id: 20150217020109.GA12028@grusum.endjinn.de
In Reply to: Re: [gentoo-user] Re: off topic: rotating a video by gottlieb@nyu.edu
1 Hello,
2
3 On Mon, 16 Feb 2015, gottlieb@×××.edu wrote:
4 >I built and tried mplayer. Again not rotated. I ran it from the
5 >terminal. Below is the output up to when I killed it
6 [..]
7 >VO: [xv] 1920x1080 => 1920x1080 Planar YV12
8
9 FWIW: if it's just for watching the vid, try
10
11 mplayer -vf rotate=1 foo.mp4
12
13 That's rotating 90deg clockwise, see 'man mplayer', search for
14 'rotate', second hit:
15
16 [..]
17 -vf
18 [..]
19 rotate[=<0-7>]
20 Rotates the image by 90 degrees and optionally flips it. For
21 values between 4-7 rotation is only done if the movie geometry
22 is portrait and not landscape.
23
24 0 Rotate by 90 degrees clockwise and flip (default).
25 1 Rotate by 90 degrees clockwise.
26 2 Rotate by 90 degrees counterclockwise.
27 3 Rotate by 90 degrees counterclockwise and flip.
28
29 When using '-ovc copy', mencoder does not (as usual) seem to apply
30 this filter.
31
32 HTH,
33 -dnh
34
35 --
36 Wash: "[..] this landings is gonna get pretty interesting" Mal: "Define
37 'interesting.'" Wash: "Oh, God, oh, God, we're all gonna die?" Mal: "This is
38 the captain. We have a little problem with our entry sequence, so we may
39 experience some slight turbulence and then explode." -- Firefly Serenity

Replies

Subject Author
Re: [gentoo-user] Re: off topic: rotating a video gottlieb@×××.edu