Stupid subtitles problem...
#1
Sorry to post again. I'm newbie. Forgive me.

I was watching THE IT CROWD, TV Series.
All the episodes are right and for all of them I can see subtitles displayed on the screen.

Now I was looking at S02E06 but I cannot see subtitles.
Of course the name of the episode and the name of the subtitle are the same.

0206 - Men Without Women.avi
0206 - Men Without Women.srt

But I cannot see them.
If I test the episode from the PC (VideoLan) it is all right.
I have this problem just on the Xbox and just for this episode.

I tried to:

- Check on another Xbox (same problem)
- Change name to 0206.avi/0206.srt (same problem)
- Load another subtitle from the XBMC on fly menu and nothing appeared

What's wrong?
Thanks!
#2
Presumably there's something about the contents of that SRT file that XBMC doesn't like. Open it up in Notepad or similar (it's just a text file) and compare it to some of the SRTs that do work. If you're lucky, the problem will be made obvious.

Can't suggest any more then that without the usual debug log etc.
XBMC Manual - BlackBolt - SVN Guide - Skin SVN - Wide Icon SVN - ROM Shortcut Generator
You're just jealous 'cause the voices only talk to me :P
#3
Bomb Bloke Wrote:Presumably there's something about the contents of that SRT file that XBMC doesn't like. Open it up in Notepad or similar (it's just a text file) and compare it to some of the SRTs that do work. If you're lucky, the problem will be made obvious.

Can't suggest any more then that without the usual debug log etc.

Thank you Bomb.
The problem, following what you say, is that I should be able to open that video file with another working .srt file right?
Sadly I can't.

I cannot find a single .srt that works on that video.

Anyway for your and other friends reference, I want to include the .rar file of the episode and for the subtitle.
Just if you want to make a try.

Episode:
http://rapidshare.com/files/347067189/Th..._Women.rar

Subtitle:
http://rapidshare.com/files/381051457/02...n.rar.html

Thank you.
#4
Try comparing the debug-log output of a video file where your SRT subtitles work (eg, episode 5) to the logged output of the video file where they don't (episode 6).
XBMC Manual - BlackBolt - SVN Guide - Skin SVN - Wide Icon SVN - ROM Shortcut Generator
You're just jealous 'cause the voices only talk to me :P
#5
Bomb Bloke Wrote:Try comparing the debug-log output of a video file where your SRT subtitles work (eg, episode 5) to the logged output of the video file where they don't (episode 6).

Could you tell me where I can find that debug log?
#6
How do I run XBMC in debug mode & where is my debug log?
You'll first have to enable debug mode/logging. You can enable debug mode by holding the X and Y button on your gamepad while you boot up XBMC or you can enable it by browsing to Settings, System and checking "Enable debug mode" there. After XBMC has started it should show the memory and cpu usage in the upper left corner of the screen, this will tell you it's running in debug mode. The (debug) log lives in Q:\xbmc.log (transfer it off using FTP) and remember that the debug log of the PREVIOUS session is Q:\xbmc.log.old

Paste sites:

1. http://www.pastebin.com
2. http://www.pastebin.ca
3. http://www.rafb.net/paste
4. http://pastebin.ubuntu.com
#7
I'd throw in the fact that the srt might be in a codepage that XBMC might not like, especially if it has a Unicode BOM at the start of the file. Transfer to PC and open with Notepad++ and check encoding.

Forget about it! Smile It's ANSI... Better get that log and XBMC will say what doesn't like about it...
#8
Thanks friends.
I did it.

I activated the debug and ran an episode with working subtitles (0301 - From Hell.avi) then I ran the not working subtitles episode (0206 - Men Without Women.avi).

I paste the log in one of the sites you gave me.

Links (both have the same file):

http://pastebin.com/DNxPKuD7
http://pastebin.ubuntu.com/424302/
#9
That's a bit odd, when it works thread 32636928 does more:

Quote:01:44:57 M: 32636928 DEBUG: CFileSMB::Open - opened Serie TV ENG/The IT Crowd/Stagione 3/0301 - From Hell.srt, fd=10000
01:44:57 M: 32636928 INFO: cached subtitle 0301 - From Hell.srt->special://temp/subtitle.srt
01:44:57 M: 32636928 DEBUG: CUtil::CacheSubtitles: Done (time: 198 ms)
01:44:57 M: 32636928 DEBUG: CUtil::CacheSubtitles: END (total time: 354 ms)

where when it doesn't, thread 31277056 just does this...

Quote:01:45:19 M: 31277056 DEBUG: CFileSMB::Open - opened Serie TV ENG/The IT Crowd/Stagione 2/0206 - Men Without Women.srt, fd=10000

Can you copy the subtitle and put it in a local custom subtitle directory, or try the same through FTP instead of SMB, see how that works.
http://wiki.xbmc.org/index.php?title=Vid...#Subtitles
#10
That's indeed weird. I recall seeing something simular before though I don't understand the cause nor how to reproduce it....
-= Team Kodi developer fueled by heavy metal =-
#11
@Dan: That "M: 31277056" bit refers to how much memory the console had free at the time of that log entry.

I also noticed this discrepancy in the logs:

Quote:01:44:59 M: 23388160 DEBUG: msg: SUB: opened iconv descriptor.
01:44:59 M: 23289856 DEBUG: ------ Window Init (DialogBusy.xml) ------
01:44:59 M: 23289856 INFO: Loading skin file: DialogBusy.xml
01:44:59 M: 23269376 DEBUG: msg: SUB: closed iconv descriptor.
01:44:59 M: 23273472 DEBUG: Load DialogBusy.xml: 58.37ms
01:44:59 M: 23273472 DEBUG: msg: SUB: Read 331 subtitles
01:44:59 M: 23273472 DEBUG: Alloc resources: 59.63ms (59.57 ms skin load, 0.06 ms preload)
01:44:59 M: 23273472 DEBUG: msg: .
01:44:59 M: 23203840 DEBUG: Not adding item to library as no info was found Sad
01:44:59 M: 23203840 DEBUG: msg: SUB: Adjusted 9 subtitle(s).
01:44:59 M: 23203840 DEBUG: VIDEO::CVideoInfoScanner:Big GrinoScan - Finished dir: smb://PC/Serie TV ENG/Family Guy/
01:44:59 M: 23203840 DEBUG: msg: SUB: Added subtitle file (1): Z:\subtitle.srt
01:44:59 M: 23203840 DEBUG: msg: Global Subsize: 1 - VOBSUB: -1, DEMUX: -1, SUBS: 0
01:44:59 M: 23203840 DEBUG: msg: Global Subpos : -1
Quote:01:45:21 M: 22929408 DEBUG: msg: SUB: opened iconv descriptor.
01:45:21 M: 22929408 DEBUG: msg: SUB: error recoding line (1).
01:45:21 M: 22929408 DEBUG: msg: SUB: closed iconv descriptor.
01:45:21 M: 22929408 DEBUG: msg: Cannot load subtitles: Z:\subtitle.srt
01:45:21 M: 22929408 DEBUG: msg: Global Subsize: 0 - VOBSUB: -1, DEMUX: -1, SUBS: -1
01:45:21 M: 22929408 DEBUG: msg: Global Subpos : -1
Tried using the SRT file with some of my own vids, didn't work. So I'd say that's certainly where the problem is.

I'm not sure the "error recoding line (1)" bit refers to the "first line", as no matter how hard I looked at it (even using a hex editor), it seemed fine to me.

It seems XBMC wants to load the entire SRT file in one go, and if it fails to read any one line, it quits the process and doesn't display any of 'em. There's a funny symbol in the 17th sub, don't have time to test it just now, but I might play around with that a bit tomorrow (though for all I know that's just some standard Italian thingy).
XBMC Manual - BlackBolt - SVN Guide - Skin SVN - Wide Icon SVN - ROM Shortcut Generator
You're just jealous 'cause the voices only talk to me :P
#12
Thanks for your consideration.
So at the moment all I can do is to wait for you experts to think about the solution right?

Take your time. I've no hurry at all Smile
#13
Darn, I always thought that was the thread (would be much helpfull I'd say, me spending too much time in JBoss logs) - I guess that M in front of it should've given me a hint... Thanks BB!

Logout Mark Read Team Forum Stats Members Help
Stupid subtitles problem...0