On 17/02/15 01:39, gottl...@nyu.edu wrote:
On Mon, Feb 16 2015, Nikos Chantziaras wrote:

On 16/02/15 22:51, gottl...@nyu.edu wrote:
I apologize in advance for this off topic query.

I took a video with my phone (galaxy note 4) and via google+ uploaded it
to my mail laptop.  It is an mp4 and plays fine on both the phone and
the labtop except that it is sideways.

I was surprised that neither the player on the phone nor the player on
the laptop (totem, I run gnome) seems to offer a rotation option.

Am I missing a slightly hidden option or do I need another program.
I do not do video editing and do no plan to in the near future.

You can change the metadata of the mp4 file without re-encoding
it. This requires that the player you play the video in actually
respects that metadata though! mplayer and mpv respect it. Your
phone's player might not.

Not worried about the phone.  I won't touch the file there and will
probably delete it when I get the one right on the laptop.

You need ffmpeg for this (media-video/ffmpeg).

That I have (1.2.6-r1, highest stable).

   ffmpeg -i yourvideo.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

I did this command but the result is not rotated (my player is totem).

Try mpv or mplayer. If that shows it rotated, then it's totem ignoring the metadata.


Reply via email to