[PR #14648] [MERGED] Fix anamorphic video detection (#14640) #14057

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14648
Author: @GeneMarks
Created: 8/14/2025
Status: Merged
Merged: 8/16/2025
Merged by: @crobibero

Base: masterHead: anamorphic-detection-fix


📝 Commits (1)

📊 Changes

2 files changed (+30 additions, -5 deletions)

View changed files

📝 CONTRIBUTORS.md (+1 -0)
📝 MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs (+29 -5)

📄 Description

Changes
Previously, IsAnamorphic was set to true only when Sample Aspect Ratio (SAR) was "0:1", causing incorrect detection for valid anamorphic videos. Updated the detection logic to handle common SAR/DAR edge cases, following the approach described https://stackoverflow.com/questions/17353387/how-to-detect-anamorphic-video-with-ffprobe.

Issues
Fixes #14640


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14648 **Author:** [@GeneMarks](https://github.com/GeneMarks) **Created:** 8/14/2025 **Status:** ✅ Merged **Merged:** 8/16/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `anamorphic-detection-fix` --- ### 📝 Commits (1) - [`2f18bb7`](https://github.com/jellyfin/jellyfin/commit/2f18bb775620b2dd5d359c8e9b5c95989fc98e0f) fix: correct anamorphic video detection (#14640) ### 📊 Changes **2 files changed** (+30 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTORS.md` (+1 -0) 📝 `MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs` (+29 -5) </details> ### 📄 Description **Changes** Previously, `IsAnamorphic` was set to `true` only when Sample Aspect Ratio (SAR) was `"0:1"`, causing incorrect detection for valid anamorphic videos. Updated the detection logic to handle common SAR/DAR edge cases, following the approach described https://stackoverflow.com/questions/17353387/how-to-detect-anamorphic-video-with-ffprobe. **Issues** Fixes #14640 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:23:41 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14057