Author Topic: Gopro8 files are upsidedown in Avidemux (SOLVED)  (Read 273 times)

ToninoTarsi

  • Newbie
  • *
  • Posts: 3
Gopro8 files are upsidedown in Avidemux (SOLVED)
« on: November 23, 2019, 08:41:56 PM »
Hi,

I have a problem  with video recorded with my Gopro8 in upside-down mode.
The video looks fine if viewed with VLC, ZoomPlayer,  Media Player ... but it is upside-down if opened in Avidemux

This is the small example video  :

https://drive.google.com/file/d/1ar1qPHs4c069VGg-tJVlRzaiXoM8BrNN/view?usp=sharing


Any hint ?

Tx
« Last Edit: November 25, 2019, 09:06:57 PM by ToninoTarsi »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3580
Re: Gopro8 files are upsidedown in Avidemux
« Reply #1 on: November 23, 2019, 11:55:35 PM »
This is by design. Avidemux doesn't honor any picture transformations like rotation or display aspect ratio specified by the container metadata, so the video is displayed as-is.

Avidemux is not a video player, its task is to edit video. Imagine you want to concatenate two videos sharing identical encoder settings and to save them in copy mode as one file. It would be extremely confusing if a part of the output were displayed upside down while both source videos looked "correctly" in the preview.

ToninoTarsi

  • Newbie
  • *
  • Posts: 3
Re: Gopro8 files are upsidedown in Avidemux
« Reply #2 on: November 24, 2019, 01:43:41 PM »
Thanks for your replay that is perfecly clear.
But imagine you just what to cut and merge this Gopro files without re-encoding. Why not maintain the same metadata in the output file ?
Tx

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3580
Re: Gopro8 files are upsidedown in Avidemux
« Reply #3 on: November 24, 2019, 04:31:05 PM »
If you see that the picture in the video preview in Avidemux is rotated 180°, just enable rotate to 180° in the configuration of the MP4 muxer (no other muxers and AFAIK also no other containers as mp4 support rotation).

Currently it is impossible to pass rotation info to muxers. I agree that it would be nice to handle metadata (not just rotation) throughout the whole chain demuxer --> editor --> filter --> muxer. Maybe one day. Patches welcome.

ToninoTarsi

  • Newbie
  • *
  • Posts: 3
Re: Gopro8 files are upsidedown in Avidemux (SOLVED)
« Reply #4 on: November 25, 2019, 09:06:27 PM »
Thanks a lot.
Using rotation  in the configuration of the MP4 muxer makes the job for me.
Solved