[SOLVED] Problem with .sub subtitles

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Cocktus Offline
Junior Member
Posts: 13
Joined: Oct 2011
Reputation: 0
Post: #1
As I try to download .sub subtitles with XBMC subtitle addon the subtitles downloads normally but they won't show up. If I downloaded .srt subtitles they are working just fine. Is there some sort of an issue with XBMC subtitle addon?

Most of the Finnish subtitles are in .sub format and that causes me much trouble.

xbmc.log
Code:
22:19:23 T:140151590307744  NOTICE: DVDPlayer: Opening: /storage/Media/Movies/movie.avi
22:19:23 T:140151590307744 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:19:23 T:140151139415808  NOTICE: Creating InputStream
22:19:23 T:140151139415808  NOTICE: Creating Demuxer
22:19:23 T:140151139415808  NOTICE: Opening video stream: 0 source: 256
22:19:23 T:140151139415808  NOTICE: Creating video codec with codec id: 13
22:19:23 T:140151139415808  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
22:19:23 T:140151139415808  NOTICE: Creating video thread
22:19:23 T:140151139415808  NOTICE: Opening audio stream: 1 source: 256
22:19:23 T:140151139415808  NOTICE: Finding audio codec for: 86019
22:19:23 T:140151350195968  NOTICE: running thread: video_thread
22:19:23 T:140151139415808  NOTICE: Creating audio thread
22:19:23 T:140151139415808  NOTICE: Opening Subtitle stream: 0 source: 1024
22:19:23 T:140151358588672  NOTICE: running thread: CDVDPlayerAudio::Process()
22:19:23 T:140151358588672  NOTICE: Creating audio device with codec id: 86019, channels: 6, sample rate: 48000, no pass-through
22:19:23 T:140151350195968  NOTICE:  fps: 25.000000, pwidth: 656, pheight: 288, dwidth: 656, dheight: 288
22:19:23 T:140151350195968 WARNING: CRenderManager::Configure - timeout waiting for previous frame
22:19:23 T:140151350195968  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
22:19:25 T:140151590307744  NOTICE: Using GL_TEXTURE_2D
22:19:25 T:140151590307744  NOTICE: GL: ARB shaders support detected
22:19:25 T:140151590307744  NOTICE: GL: Selecting Single Pass ARB YUV2RGB shader
22:19:25 T:140151590307744  NOTICE: GL: No vertex shader, fixed pipeline in use
22:19:25 T:140151590307744  NOTICE: GL: NPOT texture support detected
22:19:25 T:140151590307744  NOTICE: GL: Using GL_ARB_pixel_buffer_object
22:19:31 T:140151111505664  NOTICE: -->Python Interpreter Initialized<--
22:19:31 T:140151111505664  NOTICE: [u'movie.sub', u'movie.(3886647).nfo', u'zipsubs.zip']
22:19:34 T:140151139415808  NOTICE: Closing subtitle stream
22:19:34 T:140151139415808  NOTICE: Opening Subtitle stream: 0 source: 1024
22:19:35 T:140151590307744   ERROR: ClearBlock: Trying to clear non existent block /home/cocktus/.xbmc/addons/script.xbmc.subtitles
22:20:34 T:140151250425600  NOTICE: ES: Client  from 192.168.0.11 timed out

EDIT: Forgot to say that I'm using the latest Eden beta version and Xubuntu 10.04.4
(This post was last modified: 2012-04-06 15:40 by Cocktus.)
find quote
keig Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #2
I am having the same problem. Suddenly the subtitles with the sub-extension stopped to work.

I have some earlier downloaded sub-extension subtitles and they worked ok. When viewing the video file I re-downloaded the very same subtitle file and then played the video file and tried to load the same subtitle again and then the subtitles didn't work even though the subtitle file was exactly in the right place again.

It is just like my set up has stopped to be able to receive and show ne sub-extension subtitles.

I tested now once again. I had certain tv show episode with a subtitle file with the extension "sub". I watched the episode like one month ago. At that time the subtitles worked ok and they worked ok now also. But, then, when viewing the episode, I re-downloaded that subtitle file with the XBMC subtitle plugin. And after that the subtitles don't show up even though it is the very same subtitle file! It is the only subtitle file for my language for that tv show episode.

This seems to be a bit odd. Will post debug logs later on (I am sleeping my kid right now).

Those subtitles have been downloaded from Opensubtitles-server

I am using Win7 64-bit with XBMC Eden RC2
(This post was last modified: 2012-03-18 21:56 by keig.)
find quote
Tcl89 Offline
Junior Member
Posts: 1
Joined: Mar 2012
Reputation: 0
Post: #3
I have the same problem with the latest release of Eden with 64-bit Windows 7
find quote
Cocktus Offline
Junior Member
Posts: 13
Joined: Oct 2011
Reputation: 0
Post: #4
Here's a snippet of my xbmc.log with debug mode on:

http://pastebin.com/7qktdhbe
find quote
aagobbo Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #5
Well, last sunday i faced the same problem... i tried to watch "kung fu panda" at xbmc eden rc 2... and it didn't connected to the xbmc subtitle add-on... then i watched it in vlc, subtitles downloaded...

well... today i downloaded the stable xbmc eden, installed and tried the kung fu panda 2 again... and worked well... connected to podnapisi.net... then i tried 127 hours... same connection problem...

so i logged i trying to watch 127 hours and trying to download the subtitles without success, then kung fu panda 2 with success and finally for few dollars more without success...

http://pastebin.com/17PwfbUx

[edit] forgot to say that 127 hours don't have any previous subtitle file, but kung fu panda 2 and for a few more dollars have previous subtitle files
(This post was last modified: 2012-03-28 15:06 by aagobbo.)
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #6
(2012-03-28 00:09)aagobbo Wrote:  Well, last sunday i faced the same problem... i tried to watch "kung fu panda" at xbmc eden rc 2... and it didn't connected to the xbmc subtitle add-on... then i watched it in vlc, subtitles downloaded...

well... today i downloaded the stable xbmc eden, installed and tried the kung fu panda 2 again... and worked well... connected to podnapisi.net... then i tried 127 hours... same connection problem...

so i logged i trying to watch 127 hours and trying to download the subtitles without success, then kung fu panda 2 with success and finally for few dollars more without success...

http://pastebin.com/17PwfbUx

[edit] forgot to say that 127 hours don't have any previous subtitle file, but kung fu panda 2 and for a few more dollars have previous subtitle files

disable "auto download" in addon settings, its a known bug that has been fixed

https://github.com/amet/script.xbmc.subt...b390c2e494
find quote
keig Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #7
I am returning to my .sub-subtitle problem . I manually downloaded some .sub-files from other subtitle website . It seems to be working ok. There seems to be CRLF in the end of each line meanwhile the .sub-files from opensubtitle.org has only the carriage return.

I changed the EOL signs with notepad++ as "Windows" and now the .sub file from opensubtitle.org has also the CRLF and now the subtitles are shown ok.

Could it be really so that the .sub files at opensubtitle.org has been edited so that the EOL characters were earlier CRLF and now only CR.

Or is it so that the XBMC subtitle plugin has started for some reason to be unable to handle the .sub files with only the CR as a EOL character.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #8
(2012-03-30 01:25)keig Wrote:  I am returning to my .sub-subtitle problem . I manually downloaded some .sub-files from other subtitle website . It seems to be working ok. There seems to be CRLF in the end of each line meanwhile the .sub-files from opensubtitle.org has only the carriage return.

I changed the EOL signs with notepad++ as "Windows" and now the .sub file from opensubtitle.org has also the CRLF and now the subtitles are shown ok.

Could it be really so that the .sub files at opensubtitle.org has been edited so that the EOL characters were earlier CRLF and now only CR.

Or is it so that the XBMC subtitle plugin has started for some reason to be unable to handle the .sub files with only the CR as a EOL character.

we dont touch sub(srt,txt) files that come from OpenSubtitles. the only thing we do is rename them to match the file name and add language flag if needed.

have you tried downloading that specific .sub from OpenSubtitles website and testing? does it have the CRLF? or is it only CR? if the ones from website are the same as addon then you know the problem is in the way they handle files.

I have noticed lately that there is a line that says "Subtitle downloaded from oensubtitles.org" which leads me to believe that they are editing the file, maybe they are saving it incorrectly?
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #9
can you let us know what subtitleID or the file name is that you are trying to download
find quote
keig Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #10
amet:

I am writing this message in a hurry, try to write more later on.

Unfortunately I have deleted the latest .sub files (have watched those movies/episodes) , the ones that were initially working ok (this was before this problem emerged).

I still have some working .sub files around but I am not 100% sure whether they were downloaded from opensubtitles.org. I am almost sure that they are from opensubtitles.org but not 100% sure. At that point it didn't yet matter at all that from which place did the download as long as they just worked and didn't have this issue.

I now re-downloaded some of those .sub files from opensubtitles.org and because of the replacements of CRLF with CR the subs are not shown in XBMC (this is old news). When comparing those the old version of the .sub file and the new version of the .sub file it would seem to me that they are identical exept the CRLF to CR changes AND the thing that there would now seem to be added
"Subtitles downloaded from http://www.OpenSubtitles.org" message/subtitle . It is located on the beginning part (logically). So, could it be so that they have run a script which has added that thing to all of the subtitle files and that script would have changed the CRLFConfused to CR ?

Whatever the problem is I now understood from your saying that there is no changes neither in XBMC or XBMC subtitle addon that has caused this thing. So I understand that this therefore is not a fault of XBMC or XBMC subtitle addon.

Hopefully somebody have a connection to opensubtitles.org. I could try to contact them by myself but I'm afraid my English is not good enough for explaining this problem clearly enough.

Meanwhile I am wondering that would it be possible easily enough to make a kind of check into XBMC subtitle addon. A checking thing which would make this thing go away. As I don't have a clue about the things that are under the hood of the XBMC thing it could be so that this question is naive and annoying. If it is so then I apologize for asking and wondering that thing.

This problem is not so nasty anymore as it can be manually fixed by editing the .sub file. But of course it would be more fun if the .sub files would work like they worked earlier.


Edit:

Hello again,

Oh, I am so stupid. You mentioned the same observation of the "Subtitle downloaded from oensubtitles.org" adding. Would edit my earlier post but don't have the time just right now. Sorry.
(This post was last modified: 2012-03-30 22:44 by keig.)
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #11
I think we have established what the issue is, it's opensubtitles editing the file... All I need now is for you to tell me what file ( ID or zip name) doesnt work and I can let Brano( opensubtitles admin) know and hopefully fix soon.
find quote
Cocktus Offline
Junior Member
Posts: 13
Joined: Oct 2011
Reputation: 0
Post: #12
For example 127.Hours.2010.DVDSCR.AC3.XViD-T0XiC-iNK.sub does not work.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #13
according to OpenSubtitles administrator, the issue should be fixed now.

not sure how would it affect the files that are already affected. try and let us know.
find quote
aagobbo Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #14
This problem is not the same as my problem? (that was solved disabling the auto download)
(This post was last modified: 2012-04-03 21:38 by aagobbo.)
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,087
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #15
(2012-04-03 21:37)aagobbo Wrote:  This problem is not the same as my problem? (that was solved disabling the auto download)

no, your issue is fixed in 3.0.0
find quote
Post Reply