[PR #4548] [MERGED] Revert "Fix frame rate probing for interlaced MKV files" #10154

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4548
Author: @orryverducci
Created: 11/22/2020
Status: Merged
Merged: 11/22/2020
Merged by: @joshuaboniface

Base: masterHead: mkv-interlaced-fix


📝 Commits (1)

  • 812300a Revert "Fix frame rate probing for interlaced MKV files"

📊 Changes

1 file changed (+0 additions, -10 deletions)

View changed files

📝 MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs (+0 -10)

📄 Description

Changes
This reverts the change I made in #4369.

On further testing I've descovered that while the fix corrected the displayed frame rate for some interlaced MKV files (mainly recorded from broadcast TV), it also incorrectly halfed the displayed frame rate for some others (mainly encoded by FFmpeg/x264).

I also discovered that for the "fixed" files, with double rate deinterlacing enabled FFmpeg is really dumb and will double the rate based on the it's incorrectly reported frame rate. So for example a 50i file is deinterlaced to 100fps, not 50fps as intended. Reverting this fix prevents that and results in a deinterlaced file at a sensible/correct frame rate, just with double rate disabled.

As the first fix creates more bugs than it fixes, I feel it's best to revert it for now until there's a better fix (which may have to be in FFmpeg, not Jellyfin). #4314 should also be reopened.


🔄 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/4548 **Author:** [@orryverducci](https://github.com/orryverducci) **Created:** 11/22/2020 **Status:** ✅ Merged **Merged:** 11/22/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `mkv-interlaced-fix` --- ### 📝 Commits (1) - [`812300a`](https://github.com/jellyfin/jellyfin/commit/812300ad333a8ee844ba1c5e7facbe35c98f983c) Revert "Fix frame rate probing for interlaced MKV files" ### 📊 Changes **1 file changed** (+0 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs` (+0 -10) </details> ### 📄 Description **Changes** This reverts the change I made in #4369. On further testing I've descovered that while the fix corrected the displayed frame rate for some interlaced MKV files (mainly recorded from broadcast TV), it also incorrectly halfed the displayed frame rate for some others (mainly encoded by FFmpeg/x264). I also discovered that for the "fixed" files, with double rate deinterlacing enabled FFmpeg is really dumb and will double the rate based on the it's incorrectly reported frame rate. So for example a 50i file is deinterlaced to 100fps, not 50fps as intended. Reverting this fix prevents that and results in a deinterlaced file at a sensible/correct frame rate, just with double rate disabled. As the first fix creates more bugs than it fixes, I feel it's best to revert it for now until there's a better fix (which may have to be in FFmpeg, not Jellyfin). #4314 should also be reopened. --- <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 06:15:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10154