Kodi Community Forum

Full Version: image subtitle should be resize before overlay in the screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a DVDrip, the resolving is changed from 720x576 to 512x336, but the idx/sub subtitle file don't change the resolving. When I play it, the sub always show in downright corner, some sentence can hardly be seen. I trace the code, find the problem takes place in DVDOverlayrenderer.cpp, line41:

Code:
else if (pOverlay->IsOverlayType(DVDOVERLAY_TYPE_IMAGE))
  {
    Render(pPicture, (CDVDOverlayImage*)pOverlay);

In pPicture, video is 512x336, but in pOverlay, it used the original resolving 720x576, and didn't resized at all. this make subtitle displaying location worng.

It also seem that xbmc doesn't process the parameter in idx file.

I think this is a BIG problem and I report it in trac:http://trac.xbmc.org/ticket/3421

I hope someone can reslove this problem.
sorry, I got worng trac no, the ticket I submit is:http://trac.xbmc.org/ticket/4351
subtitles keeps displaying in the middle even after i calibrate the screen
davidw89 Wrote:subtitles keeps displaying in the middle even after i calibrate the screen

The video resolvion must be biger then standard DVD size 720x576(APL, and also720x480, for NTSC). and the subtitle is remain in 720x576, so the sub can only show it middle screen.

This is also what the bug's appearance.
resloved. I add some process before it be rendered. I submit a patch to TRAC int http://trac.xbmc.org/ticket/4478. The patch has not been optmized yet.