Kodi Community Forum
Bug XBMC 12 RC 2 - Subtitles out of sync - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Bug XBMC 12 RC 2 - Subtitles out of sync (/showthread.php?tid=149134)

Pages: 1 2


XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-21

OpenELEC 3.0 Beta 6 / XBMC 12 RC 2.

It looks like in Beta 6 all srt subtitles are out of sync by 0.2 second or so? This worked fine in Beta 5 (XBMC 12 RC 1).

Anyone else has this problem?

Edit:
This is also a problem on XBian on Raspberry Pi with XBMC 12 RC2.
So it look like this is a XBMC 12 RC2 problem.

XBMC Trac: http://trac.xbmc.org/ticket/13809


RE: XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-28

Tried again on todays build. Unfortunately no change in behavior.

root ~ # cat /etc/openelec-release
OpenELEC - Version: devel-20121228144354-r12781
root ~ # grep -i 'starting xbmc' ~/.xbmc/temp/xbmc.log
00:00:20 T:3043103248 NOTICE: Starting XBMC (12.0-RC2 Git:84fe311), Platform: Linux (OpenELEC - Version: devel-20121228144354-r12781, 3.6.11 armv6l). Built on Dec 28 2012
root ~ #


RE: XBMC 12 RC 2 - Subtitles out of sync - gimli - 2012-12-28

The issue was not addressed and will be after FRODO.


RE: XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-28

Okay, so this is a bug in XBMC for RPi that first appeared in XBMC 12 RC2?
Thank you for the confirmation.

I could not find any information about this problem. You would think more people would notice this...
I was hoping this would be fixed before the release of XBMC 12.0 final.


RE: XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-30

Fixed! Thanks a lot!

root ~ # cat /etc/openelec-release
OpenELEC - Version: devel-20121230021207-r12796
root ~ # grep -i 'starting xbmc' ~/.xbmc/temp/xbmc.log
00:00:19 T:3042914832 NOTICE: Starting XBMC (12.0-RC2 Git:5ea5421), Platform: Linux (OpenELEC - Version: devel-20121230021207-r12796, 3.6.11 armv6l). Built on Dec 30 2012
root ~ #


RE: XBMC 12 RC 2 - Subtitles out of sync - pogo1975 - 2012-12-30

(2012-12-30, 10:59)kraades Wrote: Fixed! Thanks a lot!

root ~ # cat /etc/openelec-release
OpenELEC - Version: devel-20121230021207-r12796
root ~ # grep -i 'starting xbmc' ~/.xbmc/temp/xbmc.log
00:00:19 T:3042914832 NOTICE: Starting XBMC (12.0-RC2 Git:5ea5421), Platform: Linux (OpenELEC - Version: devel-20121230021207-r12796, 3.6.11 armv6l). Built on Dec 30 2012
root ~ #

Somehow fixed, now subtitles are displayed too short....


RE: XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-30

(2012-12-30, 20:13)pogo1975 Wrote:
(2012-12-30, 10:59)kraades Wrote: Fixed! Thanks a lot!

root ~ # cat /etc/openelec-release
OpenELEC - Version: devel-20121230021207-r12796
root ~ # grep -i 'starting xbmc' ~/.xbmc/temp/xbmc.log
00:00:19 T:3042914832 NOTICE: Starting XBMC (12.0-RC2 Git:5ea5421), Platform: Linux (OpenELEC - Version: devel-20121230021207-r12796, 3.6.11 armv6l). Built on Dec 30 2012
root ~ #

Somehow fixed, now subtitles are displayed too short....

I'm afraid you are right. I spoke too soon... Sad

I have updated Trac @ http://trac.xbmc.org/ticket/13809


RE: XBMC 12 RC 2 - Subtitles out of sync - rbej - 2012-12-30

Open new ticket. Old is closed.


RE: XBMC 12 RC 2 - Subtitles out of sync - kraades - 2012-12-30

(2012-12-30, 20:45)rbej Wrote: Open new ticket. Old is closed.

http://trac.xbmc.org/ticket/13861



RE: XBMC 12 RC 2 - Subtitles out of sync - rbej - 2012-12-30

Confirm. Sub displayed too short.


RE: XBMC 12 RC 2 - Subtitles out of sync - rbej - 2013-01-03

Im reverted this patch and compile Xbmc again

https://github.com/xbmc/xbmc/commit/0957f2271d81ab6ab4792cb3122af66871663f35

because subtitles are displayed too short and still out of sync subs in some movies.

After reverted this patch time displayed subs is ok, but out of sync subs = -0.7s.

Just in the Xbmc options to set the subtitle delay on -0.7s and apply to all movies. This is not propertly solution but works.

Maybe who knows how change in Xbmc source code delay display subtitles for -0.7s??.






RE: XBMC 12 RC 2 - Subtitles out of sync - gimli - 2013-01-03

(2013-01-03, 10:50)rbej Wrote: Im reverted this patch and compile Xbmc again

https://github.com/xbmc/xbmc/commit/0957f2271d81ab6ab4792cb3122af66871663f35

because subtitles are displayed too short and still out of sync subs in some movies.

After reverted this patch time displayed subs is ok, but out of sync subs = -0.7s.

Just in the Xbmc options to set the subtitle delay on -0.7s and apply to all movies. This is not propertly solution but works.

Maybe who knows how change in Xbmc source code delay display subtitles for -0.7s??.

@rbej: can you test : http://pastebin.com/UGzase82 ?


RE: XBMC 12 RC 2 - Subtitles out of sync - rbej - 2013-01-03

After apply this patch subs is out of sync -0.7 and too short time subs display.

Yesterday im change if(pts != 0.0f && fixPreroll) on if(pts != 0.0f &&) in OMXClock.cp and :

if(pts != 0.0f && fixPreroll) = too short display subs time, but subs sync is ok.

if(pts != 0.0f &&) = out of sync subs -0.7s but display time subs is ok.

For this moment the best solution is change if(pts != 0.0f && fixPreroll) on if(pts != 0.0f &&) in OMXClock.cp. Better -0.7s out of sync which may correct in Xbmc option, than too short time display subs.


RE: XBMC 12 RC 2 - Subtitles out of sync - gimli - 2013-01-03

(2013-01-03, 12:55)rbej Wrote: After apply this patch subs is out of sync -0.7 and too short time subs display.

Yesterday im change if(pts != 0.0f && fixPreroll) on if(pts != 0.0f &&) in OMXClock.cp and :

if(pts != 0.0f && fixPreroll) = too short display subs time, but subs sync is ok.

if(pts != 0.0f &&) = out of sync subs -0.7s but display time subs is ok.

For this moment the best solution is change if(pts != 0.0f && fixPreroll) on if(pts != 0.0f &&) in OMXClock.cp. Better -0.7s out of sync which may correct in Xbmc option, than too short time display subs.

Try this one : http://pastebin.com/DZmsxNfd


RE: XBMC 12 RC 2 - Subtitles out of sync - rbej - 2013-01-03

One question.

Apply this patch for oryginal latest Xbmc Git or for your early patched version??. (http://pastebin.com/UGzase82)