[PR #11250] Fix the broken video orientation (+-90/180) #12815

Closed
opened 2026-02-07 07:02:12 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11250

State: closed
Merged: Yes


Videos captured by mobile phones and action cameras such as GoPro often contain orientation information. The memory layout of such videos needs to be transposed so that they can be displayed on the playback device in the correct orientation.

In the past this was not supported in HWA because the corresponding hardware filter was not available. This problem was solved by writing the missing GPGPU based hardware filters.

Changes

  • Add json parser for video rotation side data
  • Register video rotation side data in DB
  • Add tests for the video rotation side data
  • Only streamCopy videos containing rotation data in fMP4
  • Add HWA video transpose support (+-90/180)

Issues

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11250 **State:** closed **Merged:** Yes --- Videos captured by mobile phones and action cameras such as GoPro often contain orientation information. The memory layout of such videos needs to be transposed so that they can be displayed on the playback device in the correct orientation. In the past this was not supported in HWA because the corresponding hardware filter was not available. This problem was solved by writing the missing GPGPU based hardware filters. **Changes** - Add json parser for video rotation side data - Register video rotation side data in DB - Add tests for the video rotation side data - Only streamCopy videos containing rotation data in fMP4 - Add HWA video transpose support (+-90/180) **Issues** - Fixes #6305 - Fixes #11102 - https://forum.jellyfin.org/t-all-transcoded-videos-upside-down
OVERLORD added the pull-request label 2026-02-07 07:02:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12815