Skip to content

[BUG] - No audio when transcoding Dolby Vision Profile 8 content #879

@zoro11031

Description

@zoro11031

Description

When playing Dolby Vision Profile 8 content that requires transcoding, the audio stream is dropped entirely. The Jellyfin web client handles these same files correctly, suggesting this is specific to how Wholphin negotiates transcoding with the server.

It looks like for DV Profile 8 transcodes, Jellyfin selects MP3 (libmp3lame) for the audio codec instead of AAC (libfdk_aac). ExoPlayer seems to be unable to properly demux MP3 audio from MPEG-TS segments, which results in silent playback.

I am also seeing these ExoPlayer errors in the logs:

W PesReader: Unexpected start code prefix: 3211335
W PesReader: Unexpected start code prefix: 2162759

Here is an example ffmpeg command from from the broken transcode (pulled from server logs):

-codec:a:0 libmp3lame -ac 2 -ab 256000 -ar 48000

Compare to working SDR transcode:

-codec:a:0 libfdk_aac -ac 6 -ab 640000

Possible workaround could be to remove MP3 from the device's advertised codecs for transcoding to force AAC.

Note: This issue is unrelated to #867. This seems to affect all Dolby Vision Profile 8 content (both 8.1 and 8.6), where video transcodes correctly but audio is completely absent.

Media info

Affected (No Audio) - DV Profile 8.1:

Container: MKV
Video: HEVC Main 10, 3840x1608, 23.976fps, Dolby Vision Profile 8.1 (HDR10), BT.2020/SMPTE 2084
Audio: E-AC3 7.1, 768kbps, 48kHz
Subtitles: External SRT (English forced + regular)

Affected (No Audio) - DV Profile 8.6:

Container: MKV
Video: HEVC Main 10, 3840x1608, 23.976fps, Dolby Vision Profile 8.6 (HDR10), BT.2020/SMPTE 2084
Audio: E-AC3 7.1, 1024kbps, 48kHz

Working (Audio OK) - SDR:

Container: MKV
Video: HEVC/x264, 8-bit, ~480p/1080p (SDR)
Audio: FLAC 1.0 → AAC 5.1

Player backend

ExoPlayer (default)

App Version

v0.4.2

Server Version

10.11.6

Device

NVIDIA Shield TV Pro 2019

Logs

Jellyfin Server Logs:
https://pastebin.com/prU6570H

Wholphin Logs:
https://pastebin.com/M7TZvQby

Ffmpeg Logs:
https://pastebin.com/BXW81X98

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackRelated to media playback

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions