Subtitles issues

CE did not display the subtitles according to the timeline. The correct display should be from 00:17:50 to 00:17:52, but CE incorrectly displayed the subtitles from 00:17:20 to 00:17:52,The other two also do not display subtitles according to the timeline.

Forgot to make a mark, the subtitles at the OSD mask are also incorrect

PotPlayer MPC-BE display the subtitles correctly.

No sample, no issue…

The sample is approximately 20 minutes long and contains 11 subtitles. Please select the 8th subtitle.

Edit:Add screenshots of subtitles and key timestamps extracted from the video

subtitle link:

Regarding the subtitles, which are being discussed here: We have the Dune 2 movie, where the German PGS subtitles are displayed directly over the hardcoded English ones.
With the AM9 Pro, the German subtitles now disappear slightly too early, so the English ones always flash briefly and remain readable.
This wasn’t the case with non CE22-NO Builds on AM6B Plus.
We’re probably only talking about milliseconds here.

Did you ever try on any other platform?
I think it’s a CDVDInputStreamBluray issue.

Thank you for the information. I haven’t tested Kodi on other platforms and don’t want to use Kodi.

That’s strange, the color of the PGS subtitles hasn’t changed, meaning it hasn’t been mapped.

PGS is like a video frame, not OSD. Unrelated to this FBO HDR changes at all.

Amlogic have a subtitle hardware decoder, maybe this will work better.

1 Like

CE doesn’t support subtitles well for seamless branch videos; many subtitles don’t show up and they definitely don’t follow the timeline.

MPC-BE is open source, so can’t we just take a look at the code?

There are too many mistakes, here’s just one example

CE’s support for external subtitles still can’t match Android Kodi. The subtitles are delayed, whereas normally, hard-coded subtitles should appear and disappear at the same time as soft subtitles.

It should be displayed like this

war

War Machine

The last four nightly versions (video synchronization is recorded from Subtitles in the format (SUB/RIP, SRT/UTF, PGS) 4K 2160p HDR, DV. I would like to finally fix it with the developers. Or is it my fault? Version CoreELEC-Amlogic-no.aarch64-22.0-Piers_nightly_20260610 and up to CoreELEC-Amlogic-no.aarch64-22.0-Piers_nightly_20260613, is fine.

Simply, the video playback from the subtitles is not smooth

The test sample also has embedded subtitles, and the content is exactly the same as the external subtitles. The embedded subtitles work fine, so we need to make sure it’s loading the external subtitles.The first minute wasn’t in sync, The device is homatics.

OKAY this version nightly NO 20260610…20260612

On Minix U22X-J and RockTek G2, subtitles are not smooth? (Since version 20260622, everything is fine.) Thanks to the developers

Yeah, it’s also not smooth and laggy, out of sync on the am6,I don’t have the box you mentioned.

Testing Android Kodi still hasn’t been resolved。
Also, my old PGS subtitle posts are gone.
Write the key points again, according to the white paper (Audio.Visual.Application.__Format.Specifications__for.BD-ROM.Version.3.1), the method for converting HDR subtitles is:Subtitles must be carried in a BD-ROM Presentation Graphics (PG) stream. Subtitles use an 8-bit indexed (palletized) format. For SDR BT.709 and SDR BT.2020 videos, a color lookup table (CLUT) is used to convert each pixel in the subtitle image from an 8-bit index value into 8-bit BT.709 Y0CbCr þalpha values. A BT.709 to BT.2020 color space conversion must be applied by the player to convert the BT.709 subtitle pixel values to BT.2020 before compositing with SDR BT.2020 10-bit video. For HDR BT.2020 video, a CLUT is used to convert each pixel in the subtitle from an 8-bit index value into 8-bit BT.2020 ST 2084 Y0CbCr þalpha 8-bit values. The 8-bit pixel values from the CLUT are multiplied by 4 before compositing with 10-bit video pixels.

This is my guess,DV is 12-bit, the conversion method might be:The 8-bit pixel values from the CLUT are multiplied by 4 (*X4 again*)?

according to @bluesea on Kodi
switch to windows and use potplayer or mpcbe

If you don’t care about DV, PotPlayer and MPCBE are the best choices; Kodi and xxELEC will never figure out how to properly support all kinds of subtitles.

https://forum.kodi.tv/showthread.php?tid=385600&pid=3293362#pid3293362

Yes, the HDR playback on pot and mpc is really good now, and they also handle subtitles well. Kodi has been around for decades but still can’t figure out subtitles, whereas pot even supports PGS subtitle mapping, something CE hasn’t been able to manage after years.

So which one you actually blame here? Kodi or CE?
If Kodi go there and blame them.
If CE then maybe you should ask yourself how imporrtant feature is this for CE devs. I would say around zero. Which means it is just not looked into. You do know this is free project done is spare time.

So the conclusion is this: if CE project satisfy your needs then use it. If not don’t cry here on forum because it will have zero effect. Or even worse…

1 Like