Author Topic: What kind of video rotation?  (Read 70 times)

ClintonJMolina11

  • Newbie
  • *
  • Posts: 1
What kind of video rotation?
« on: November 07, 2018, 09:33:09 AM »
I asked her: Why is your video upright, which when added to avidenmux it becomes horizontal, where I find nothing to rotate the video, to save it is still horizontal. sorry for not being good in english.  thank you

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2269
Re: What kind of video rotation?
« Reply #1 on: November 07, 2018, 10:23:50 AM »
Portrait mode video is landscape mode video with rotation field in the mp4 header set. Avidemux doesn't care about this field, but can rotate video using either the "Rotate" (in 90° steps) or "OpenGL Rotate" (any value) video filters. Video filters are available only when re-encoding video (video codec is not set to "Copy").

To modify the rotation metadata only, use https://stackoverflow.com/questions/15335073/can-i-set-rotation-field-for-a-video-stream-with-ffmpeg/15336581#15336581