Skip to content

Conversation

@ErebZx
Copy link

@ErebZx ErebZx commented Nov 11, 2025

This change enables Direct Play of DOVI files in MKV container on WebOS 25, while still blocking it on earlier versions that do not support it, allowing remuxing on C1, CX and other devices that won't receive the latest update.

LG’s internal player is still far from perfect, but it is improving. A recent software update (version 33.22.52) fixed the stuttering issue I experienced when playing MKV files with many embedded subtitles on earlier version 33.22.15 (tested on an LG C2). Since the update, I haven’t encountered any other issues when directly playing MKV files with DOVI, so this might be a good time to merge the change.

Seeking forward and backward now works much better compared to remuxing to TS or MP4 containers. I also haven’t been able to get subtitles out of sync like I could before. This change may fix other issues like audio passthrough problems that I'm unable to test myself.

@ErebZx ErebZx requested a review from a team as a code owner November 11, 2025 23:53
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Nov 11, 2025

Cloudflare Pages deployment

Latest commit 83b9f87
Status ✅ Deployed!
Preview URL https://7761bd98.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

ErebZx and others added 2 commits November 12, 2025 00:58
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@tuzidaguai
Copy link

I built your PR and ran it together with Jellyfin 10.11.2. On the CX TV, this pr forces the EAC3 in P8 MKV files to transcode to AAC, but it does not work in remuxing mode.

@dmitrylyzo
Copy link
Contributor

AFAIK, DoVi in MKV was denied because DoVi Profile 5 was played with incorrect colors - #4916
Also, it didn't play DoVi, but a HLG/HDR10 fallback, iirc.

Is DoVi Profile 5 in MKV now playing with the correct colors?
Is DoVi actually being played instead of the backup stream?

@tuzidaguai
Copy link

tuzidaguai commented Nov 12, 2025

AFAIK, DoVi in MKV was denied because DoVi Profile 5 was played with incorrect colors - #4916 Also, it didn't play DoVi, but a HLG/HDR10 fallback, iirc.

Is DoVi Profile 5 in MKV now playing with the correct colors? Is DoVi actually being played instead of the backup stream?

This PR can activate Dolby Vision for p8 MKV on webOS as long as you set Prefer fMP4-HLS Media Container: enable; otherwise, it will be HDR. P5 MP4 can work in direct play mode while also enabling Dolby Vision on tv. I currently don't have a sample for P5 MKV, so it hasn't been tested.

Seeking forward and backward now works much better compared to remuxing to TS or MP4 containers. I also haven’t been able to get subtitles out of sync like I could before. This change may fix other issues like audio passthrough problems that I'm unable to test myself.

Additionally, I personally think that the PR that solves the CX subtitle desynchronization issue is 'Add option to limit HLS segment length for webOS (#6530). As long as Use shorter HLS segments: enable, which means hls_time=1, it can fix the desynchronization on CX. This applies to both fMP4 and TS containers.When I use your PR with 'Use shorter HLS segments: disable,' I still encounter the issue of subtitles being out of sync.

tv cx
Sorry, I used online translation.

@ErebZx
Copy link
Author

ErebZx commented Nov 12, 2025

I built your PR and ran it together with Jellyfin 10.11.2. On the CX TV, this pr forces the EAC3 in P8 MKV files to transcode to AAC, but it does not work in remuxing mode.

This should not change anything on CX, it shoud work the same as before. When testing, make sure you enable Prefer fMP4-HLS container on 10.11.2 because it uses HLS.js so it needs to remux to mp4 container for DV to work. If you test this with 10.10.7, make sure to disable Prefer fMP4-HLS container because it uses native hls so it needs to remux to ts container which is more stable.

AFAIK, DoVi in MKV was denied because DoVi Profile 5 was played with incorrect colors - #4916 Also, it didn't play DoVi, but a HLG/HDR10 fallback, iirc.

Is DoVi Profile 5 in MKV now playing with the correct colors? Is DoVi actually being played instead of the backup stream?

This was the case until WebOS 25, now we do have support for DOVI in MKV container.
Profile 5 plays fine with correct colors, Profile 8 plays in DV mode as well, it does not fallback to HDR10.
The only regression is with Profile 7, which is still unsupported, but on WebOS 25 it does not fallback to HDR10 stream, like it did on earlier versions. This issue is unrelated to this change, it manifests on latest stable version of Jellyfin as well, it fails to play and transcodes to SDR. For that problem we ether need some other workaround, or to wait for LG to fix its internal player.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants