[PR #13942] [MERGED] Fix thumbnail extraction of mpegts videos in FFmpeg 7.1+ #13596

Closed
opened 2025-12-22 09:57:27 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13942
Author: @nyanmisaka
Created: 4/17/2025
Status: Merged
Merged: 4/19/2025
Merged by: @crobibero

Base: masterHead: fix-mpegts-thumbnail


📝 Commits (1)

  • 67c1e36 Fix thumbnail extraction of mpegts videos in FFmpeg 7.1+

📊 Changes

1 file changed (+16 additions, -6 deletions)

View changed files

📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+16 -6)

📄 Description

Changes

  • Fix thumbnail extraction of mpegts videos in FFmpeg 7.1+

Issues

  • The mpegts demuxer cannot seek to keyframes, so we have to let the decoder discard non-keyframes, which may contain corrupted images. The problem is more noticeable in FFmpeg 7.1+, before that only a small number of samples were affected.

1


🔄 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/13942 **Author:** [@nyanmisaka](https://github.com/nyanmisaka) **Created:** 4/17/2025 **Status:** ✅ Merged **Merged:** 4/19/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `fix-mpegts-thumbnail` --- ### 📝 Commits (1) - [`67c1e36`](https://github.com/jellyfin/jellyfin/commit/67c1e3626336336ea4a30ab5ef6369c6bcd3307c) Fix thumbnail extraction of mpegts videos in FFmpeg 7.1+ ### 📊 Changes **1 file changed** (+16 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+16 -6) </details> ### 📄 Description **Changes** - Fix thumbnail extraction of mpegts videos in FFmpeg 7.1+ **Issues** - The mpegts demuxer cannot seek to keyframes, so we have to let the decoder discard non-keyframes, which may contain corrupted images. The problem is more noticeable in FFmpeg 7.1+, before that only a small number of samples were affected. ![1](https://github.com/user-attachments/assets/eda0491b-244b-41a5-a52f-876b53878283) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:57:28 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#13596
No description provided.