[PR #11798] Recalculate trickplay image height for anamorphic videos #13001

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

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

State: closed
Merged: Yes


This might still be not exactly accurate but should not be tell from human eyes on most videos.

The most problematic ones would be the 3D Videos where the aspect ratio stored in the container might be per eye instead of per frame, which will lead to an incorrect height being calculated. But we can really do little about that for current pipeline.

Changes

  • Re-calculate frame height for hardware mjpeg encoders
  • Use SAR to recalculate aspect ratio for software mjpeg encoder

Issues

Fixes #11785

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11798 **State:** closed **Merged:** Yes --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> This might still be not exactly accurate but should not be tell from human eyes on most videos. The most problematic ones would be the 3D Videos where the aspect ratio stored in the container might be per eye instead of per frame, which will lead to an incorrect height being calculated. But we can really do little about that for current pipeline. **Changes** <!-- Describe your changes here in 1-5 sentences. --> - Re-calculate frame height for hardware mjpeg encoders - Use SAR to recalculate aspect ratio for software mjpeg encoder **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #11785
OVERLORD added the pull-request label 2026-02-07 07:05:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13001