Bug DVD subtitle position
#1
I am currently using kodi 15.2. This problem applies on both linux and OSX.

When I play a wide screen movie/programme etc (aspect ratio 21:9) with a DVD subtitle stream (one of those nasty bit mapped things), the subtitles are placed off the bottom of the screen (sometimes I can see just the top of the letters, so I know that they are there). If I watch something made in 16:9 ratio, the subtitle positioning is prefect.

Please see the attached log (from OSX) http://xbmclogs.com/pssf3yvwf
Reply
#2
can you provide a short sample of a file showing this issue?
Reply
#3
Please see http://www.mediafire.com/watch/y87r08xbrli5wam/TG.mp4
Reply
#4
How was this sample ripped? To me it looks like out of spec because subtitle dimensions were not encoded and are not the same as video dimensions. For DVB subtitles this is valid, in this case sub dimensions are supposed to be 576x720. If I activate this path for you sample it works but it breaks other files.
I think best I do do for this case is clamping the subtitles into the dimensions of video.
Reply
#5
Thanks for looking -- it was ripped from the dvd and re-encoded using ffmpeg. The subtitle stream was simply copied but the video stream was cropped to remove the black bars before the x265 encoding. This will be the reason that the video and dvd subtitles are not the same dimensions (any more).
From memory, I thought that films ripped this way played ok using the previous version of Kodi that I was running (which I think was 15.2-rc1 -- sorry to be vague).

When you say "If I activate this path for you sample it works but it breaks other files" do you mean that if I encode the subtitle dimension in the file, but they differ from the video dimensions that it doesn't play properly. Thanks for looking

N
Reply
#6
Good observation Smile https://github.com/xbmc/xbmc/commit/4cf5...4b2949d3f3

Check the comment in the code.

Quote:When you say "If I activate this path for you sample it works but it breaks other files" do you mean that if I encode the subtitle dimension in the file, but they differ from the video dimensions that it doesn't play properly.

With subtitle dimensions in the file, there should't be any issue. The problem is when no dimensions are given. The DVB spec says that they should be rendered with 720x576 but this is not true for DVD subs.
Reply

Logout Mark Read Team Forum Stats Members Help
DVD subtitle position0