Android Kodi 21 cannot display subtitles on the black bar
#1
I recently installed Kodi 21 on my Sony TV and found that subtitles are not displaying on the video's black bars but on the image. Even when I set the subtitle position to the bottom of the screen in the player settings, it doesn't work. However, when I reinstalled Kodi 19.5, the subtitles could display on the black bars. My subtitle format is SUP. How can I make Kodi 21 display subtitles on the black bars of the video?

Image

Image
Reply
#2
I believe if you set Kodi 21 to manual you might get the external .srt in the black area or at least movable.
Reply
#3
What's the mediainfo of the video?
A sup subtitle is image based and cannot be moved, unlike text-based subs.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
This is the mediainfo,TV is Sony:
Quote:Video
ID                            : 1
Format                        : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                : Main 10@L5@High
HDR format                    : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
Codec ID                      : V_MPEGH/ISO/HEVC
Duration                      : 2 h 34 min
Bit rate                      : 24.2 Mb/s
Width                          : 3 840 pixels
Height                        : 1 608 pixels
Display aspect ratio          : 2.40:1
Frame rate mode                : Constant
Frame rate                    : 23.976 FPS
Color space                    : YUV
Chroma subsampling            : 4:2:0 (Type 2)
Bit depth                      : 10 bits
Bits/(Pixel*Frame)            : 0.164
Stream size                    : 26.2 GiB (94%)
Language                      : English
Default                        : Yes
Forced                        : No
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics      : PQ
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : BT.2020
Mastering display luminance    : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level    : 1522 cd/m2
Maximum Frame-Average Light Le : 161 cd/m2
Reply
#5
your video is a cropped version of Dovi P81.Kodi has a bug
CRenderManager::Configure - change configuration. 3840x1608. display: 3839x1608. framerate: 23.98.-->Subtitle position ok
CRenderManager::Configure - change configuration. 3840x2160. display: 3840x1608. framerate: 23.98.-->Subtitle position not ok

See the report here:
Subtitles Position Debacle 
https://forum.kodi.tv/showthread.php?tid=370653&page=2
https://forum.kodi.tv/showthread.php?tid...pid3142755
Reply
#6
Thank you, is this a bug in Kodi 21? Is there a current workaround?
Reply
#7
Keep the current Kodi and don't upgrade until the bug is fixed,You'll also need to provide debuglogs for Kodi 19.5 and Kodi 21
Reply
#8
I tried a few more times in kodi 21 and found that after unchecking dolby vision in player setting>videos>allowed HDR dynamic metadata formats, the subtitles can be displayed in the black bar, but dolby vision cannot be turned on when playing the movie.
Image
Reply
#9
I get the same issue and I guess it is related with Dolby Vision mode only.
I tested the same video in HDR mode and Dolby Vision mode, and it only happened in Dolby Vision mode.

In Dolby Vision mode, the subtitle was moved to the active image area (cropped video) and maybe its aspect ratio was changed to the cropped video also.
I also found a possible related PR:
https://github.com/xbmc/xbmc/pull/21162
[subtitles] Align to screen image based subtitles when video source is cropped

While there should be some differences between HDR mode and Dolby Vision mode, the above merge seems not work in Dolby Vision mode.
Reply
#10
And this issue is mainly about PGS/SUP subtitles, not SRT subtitles.
SRT subtitles could be displayed really well in the black bar even in Dolby Vision mode.
Reply
#11
Just now I did below tests:
1. Disable the 'Dolby Vision' mode and play a cropped Dolby Vision video in Kodi
https://ooo.0x0.ooo/2024/05/18/OJvAzB.jpg
2. Enable the 'Dolby Vision' mode and play the same video in Kodi
https://ooo.0x0.ooo/2024/05/18/OJvKJs.jpg
3. Play the same video using Vimu Media Player in 'Dolby Vision' mode
https://ooo.0x0.ooo/2024/05/18/OJvZlK.jpg

So I guess Kodi should also be able to display the subtitle correctly in 'Dolby Vision' mode.
And I uploaded the debug log during the test.
https://paste.kodi.tv/xuvezuwuru.kodi
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 21 cannot display subtitles on the black bar0