(Another?) Subtitle issue
#1
Hi, Apologies if this has already been spotted. I searched but couldn't find.

I have a problem with inconsistent handling of vob subtitle streams. Some are shown and some are not even though we are talking about different episodes of a TV season, ripped using identical settings.

I have a number of TV seasons, each ripped from DVD to a single vob, usually with a single audio stream and only the english subtitle stream. Each file has the "mpg" extension, rather than "vob", but it's still an mpeg2 container. I rip in batch, so all episodes from the same disc have the same rip setttings.

When I play through the "TV Shows" interface I find that some episodes show subtitles and some do not, even though the settings show that a stream is present and subtitles are enabled.

Intriguingly, it tends to be the first episode in a list that doesn't show, with the subsequent ones being fine. That is, in a folder with episodes named "1x01.mpg" and so on, only 1x01 will not show the subs but 1x02 and after will do it fine. Is this an issue with my naming convention or something in XBMC?

Best,
N
Reply
#2
Pastebin a debug log.
Reply
#3
Okay, I've finally got a log to show. I"ll paste a fragment here but happy to pastebin the whole thing if that would help.

Segment 2 logs a TV episode where the subs play well. Segment 1 logs another episode, ripped from the same disc with the same settings. The log shows no subtitle stream found, even though there is one and the XBMC subtitle and audio menu shows a subtitle stream as present.

I've included the before and after keypress events because I've noticed an error message immediately after the video with the non-showing subs. There are 23 of these unknown button events, one after the other, followed by the normal 'Play' event used to invoke the menu as in segment 2.

Any thoughts?

Segment 1:
2009-03-23 11:39:59.736 xbmchelper[170] (pressed) Play
2009-03-23 11:39:59.736 xbmchelper[170] (released) Play
Input #0, mpeg, from 'smb://SERVER/media/TV Shows/1x01.mpg':
Duration: 00:44:42.72, start: 0.045622, bitrate: 4060 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9]
, 7500 kb/s, 25.00 tb®
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
2009-03-23 11:40:17.217 xbmchelper[170] Unknown button for cookiestring 280_
2009-03-23 11:40:17.271 xbmchelper[170] Unknown button for cookiestring 280_

Segment 2:
2009-03-23 11:40:59.465 xbmchelper[170] (pressed) Play
2009-03-23 11:40:59.466 xbmchelper[170] (released) Play
Input #0, mpeg, from 'smb://SERVER/media/TV Shows/1x02.mpg':
Duration: 00:15:56.62, start: 0.045622, bitrate: 10486 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9]
, 7500 kb/s, 25.00 tb®
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
Stream #0.2[0x20]: Subtitle: dvdsub
2009-03-23 11:41:12.850 xbmchelper[170] (pressed) Play
2009-03-23 11:41:12.851 xbmchelper[170] (released) Play
Reply
#4
I've been looking at this some more and the pattern I see is that subtitles are displayed when there is dialog immediately at the start of the video. If there is a wait before the first words are spoken then the subtitles tend not to be shown, even though XBMC can see that a stream is present.

I mostly see this in TV shows: many episodes start immediately with words like "Previously on XYZ..." and those subtitles are displayed. However, the pilots or first episodes of seasons often start without dialog until after the opening titles and it is those where I see problems with subtitle streams.
Reply

Logout Mark Read Team Forum Stats Members Help
(Another?) Subtitle issue0