Movies played upside down

I have the following issue: when I play movies with a .mov extension they are played upside down on my Android TV
Observations:

  • When I play these same movies on my (android) phone, they are played in the correct orientation (quality set to “original”)
  • When I play these movies on the tv with the quality option “automatic conversion” the movies are played in the correct orientation
  • The screenshot shown by Plex when selecting the movie is in the correct orientation

Other information:

  • This is a Philips android TV (32PFS6402/12) which according to the tv itself is on the latest software update.
  • Server Version#: 4.30.2
  • Player Version#: 8.2.0.18507

I could probably transcode all those videos and have them correct, but I’d rather see that Plex played them correctly without any intervention from my side.

If you feel that it only a question of the extension, then you might test on one file to change the extension to .m4v. The mov and mp4 container structure is largely identical. Hence, the file will still work.

Btw, remuxing the files is also a rather trivial operation, as the data streams are just copied over. It is in most cases a single line command.

I don’t feel it’s only a question of the extension :wink: I tried to change it to m4v anyway, but it doesn’t make a difference.
I also just tried a quick remux: ffmpeg -i in.MOV -vcodec copy -acodec copy out.mp4 . That also does not make a difference for playback. I see in the output that it takes a rotation of 180 degrees into account. Obviously that’s wrong. I guess I can (and will :wink: ) look at ffmpeg to remove the rotation, but that still does explain why the movies are played correctly on my phone, and not on the TV.

Looking into this a bit more. It seems that the movies have metadata rotation set to 180 degrees. For some reason plex on my phone takes this into account, but plex on my tv does not. When I remove the rotation metadata (for instance like: ffmpeg -i in.MOV -vcodec copy -acodec copy -metadata:s:v:0 rotate=0 out.mp4) the movies are also played upside down on my phone.
I have not yet found a simple way to loslessly rotate the movies…

Others seem to have the same issue

I just saw this and:

1: hilarious
1a: [insert australia joke]

2: what’s the source of these files? GoPro or Drone or Doorbell Cam, something like that? Or just horizontal recording from a phone?

3: I’m not surprised that some players ignore the rotation flag. That was a common issue with JPEG for a long time. :frowning:

4: I wouldn’t expect a remux to affect this, unless you specifically change the rotation flag also. (As you found.)

  1. If the playback devices are ignoring the rotation flag, I don’t think it’s possible to rotate the stream without a true re-encoding.

But regarding #3 - this might be appropriate as a feature suggestion.

  1. Haha :smile:
  2. I think it’s an Iphone in horizontal mode (didn make hem myself)
  3. I am surprised, since other players (web, android phone) do play the movies in the right orientation. How would one provide a feature suggestion?
  4. and 5. Agreed

Defect, feature request, potato, potato.

https://forums.plex.tv/c/general/feature-suggestions/8

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.