Open david-swift opened 6 months ago
Looking at the exif data, it reports itself as upside down:
Rotation: 180
Assuming that was shot on an apple device, it wouldn't be the first time they do this. All media shot on apple devices seem to be upside down and change their orientation using exif metadata. For images, we do actually correct them with Gdk.Pixbuf#apply_embedded_orientation
Now for video, I don't know :shrug:
Now for video, I don't know 🤷
Gstreamer uses the image-orientation
tag for such cases. There are multiple ways to apply the rotation - such as using the glvideoflip
element or having direct support in the sink (see this MR for the gtk4paintablesink
).
Unfortunately neither the GTK internal player nor Clapper seem to support it yet (which is an issue with videos from other devices aswell).
Thanks for the info!
Rafostar gave me a lengthy explanation on orientation when this issue opened on Matrix, I'm sure they'll be interested in this, @Rafostar
nor Clapper seem to support it
This is incorrect. Clapper does support this. In fact this issue is not present if you build Tuba with Clapper support (its set behind meson option).
Obligatory screenshot :smile: :
This is incorrect. Clapper does support this.
Oh, then it's just the version currently shipped by fedora here :/ Great to hear that it works!
Describe the bug
When playing the video in this post, it is flipped vertically in the player view. This doesn't happen with other videos and images.
Steps To Reproduce
https://mastodon.gamedev.place/@jerrodputman/112381197588667762
Logs and/or Screenshots
Screencast from 2024-05-05 18-26-20.webm
There's no output when playing the video. This is printed when opening the app (probably not helpful):
Instance Backend
Mastodon
Operating System
Vanilla OS 2.0
Package
Flatpak
Troubleshooting information
Additional Context
No response