[PR #6639] [MERGED] Add mp4 track title fallback #11062

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6639
Author: @1337joe
Created: 9/30/2021
Status: Merged
Merged: 10/1/2021
Merged by: @cvium

Base: masterHead: mp4-track-title-fallback


📝 Commits (1)

📊 Changes

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

View changed files

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

📄 Description

Changes

In the case that a track title isn't set for audio or subtitle tracks this change checks for a "handler_name" field to use as a title.

Explanation

Handbrake-produced mp4 files don't have a title set on audio or subtitle tracks, but looking at the handbrake code there's a check for mp4 file type that adds the title to the "handler_name" field: Audio Subtitle

Additionally, there's a note in the ffmpeg encoder referencing the use of "handler_name" for track description: movenc.c

As this seems to be a common/accepted use of the field, Jellyfin should read it if there is no track title set.

Issues
Fixes #6638


🔄 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/6639 **Author:** [@1337joe](https://github.com/1337joe) **Created:** 9/30/2021 **Status:** ✅ Merged **Merged:** 10/1/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `mp4-track-title-fallback` --- ### 📝 Commits (1) - [`ce0457f`](https://github.com/jellyfin/jellyfin/commit/ce0457faf5dd0ecc7413fbb3618b52e1f0636446) Add mp4 track title fallback (#6638) ### 📊 Changes **1 file changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs` (+20 -0) </details> ### 📄 Description **Changes** In the case that a track title isn't set for audio or subtitle tracks this change checks for a "handler_name" field to use as a title. **Explanation** Handbrake-produced mp4 files don't have a title set on audio or subtitle tracks, but looking at the handbrake code there's a check for mp4 file type that adds the title to the "handler_name" field: [Audio](https://github.com/HandBrake/HandBrake/blob/004a1ff49ddcbba8326ef6a5f58a1dd203f2f663/libhb/muxavformat.c#L783) [Subtitle](https://github.com/HandBrake/HandBrake/blob/004a1ff49ddcbba8326ef6a5f58a1dd203f2f663/libhb/muxavformat.c#L1062) Additionally, there's a note in the ffmpeg encoder referencing the use of "handler_name" for track description: [movenc.c](https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/refs/heads/master:/libavformat/movenc.c#l2840) As this seems to be a common/accepted use of the field, Jellyfin should read it if there is no track title set. **Issues** Fixes #6638 --- <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:31:45 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11062