Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recalculate trickplay image height for anamorphic videos #11798

Merged
merged 4 commits into from
May 24, 2024

Conversation

gnattu
Copy link
Member

@gnattu gnattu commented May 23, 2024

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

Signed-off-by: gnattu <gnattuoc@me.com>
@gnattu gnattu requested review from nyanmisaka and a team May 23, 2024 04:41
@gnattu gnattu added the stable backport Backport into the next stable release label May 23, 2024
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
@gnattu gnattu requested a review from crobibero May 23, 2024 15:09
@Bond-009 Bond-009 merged commit d9232e0 into jellyfin:release-10.9.z May 24, 2024
11 of 12 checks passed
joshuaboniface pushed a commit that referenced this pull request May 25, 2024
Recalculate trickplay image height for anamorphic videos

Original-merge: d9232e0

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants