maltejur / discord-screenaudio

A custom discord client that supports streaming with audio on Linux.
1.09k stars 35 forks source link

Certain vertical videos are played horizontally. #20

Open ghost opened 2 years ago

ghost commented 2 years ago

I think this is due to the client not reading the metadata/exif properly, so it can't tell that it's from a phone and play it in the correct orientation.

The videos themself are in a horizontal resolution but I think that's just due to quirks of certain phones.

Official discord clients play these videos properly, I also can't record clips because these are personal files Chromium and Firefox on the discord site also do not exhibit these issues.

maltejur commented 2 years ago

I can probably only fix this if I get an example to work on.

Mrugacz commented 11 months ago

In my case it happens for all videos recorded in portrait orientation.

example video: https://github.com/maltejur/discord-screenaudio/assets/51380638/ce03ad82-608d-48d0-9beb-c5e96343a002

Sending the link in Discord is enough to reproduce the issue: Video after upload: image

Video after hovering over it with a mouse: image