Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   Subtitles (http://forum.bsplayer.com/subtitles/)
-   -   Pasting subs??? Edit mystery/problem [SOLVED] (http://forum.bsplayer.com/subtitles/10957-pasting-subs-edit-mystery-problem-solved.html)

Opara 5th February 2010 10:22 AM

Pasting subs??? Edit mystery/problem [SOLVED]
 
I have translated a bunch of subtitles in my time, every time I did this was that I downloaded subs in English and then just translated them in notepad and saved as filename: "movie.srt".
Worked every time.

Now I translated one documentary and when I play the video with subtitle in that folder bsplayer get's an error message "error occured in application".
The video plays fine without subtitle and all other videos play fine with subtitles.

When I play the subtitle before I translate it, it plays fine. I don't know does it have to do something with the captions, but all the other subs with captions work fine for me.

I don't know what's wrong, help???

BSPeter 5th February 2010 01:13 PM

If the original sub is playing without problems, there must be an error of some sort in the translated file.
Can you upload/attach that sub (or a sample of it) so that we can test.
It is text-based (.srt) so the file size will be fairly limited.
:wink:

Opara 6th February 2010 02:08 AM

Quote:

Originally Posted by BSPeter (Beitrag 40567)
Can you upload/attach that sub (or a sample of it) so that we can test.

I tried to upload subtitles to this forum but I keep getting "invalid file" error message.

Pic don't help but here they are:

English
http://i620.photobucket.com/albums/t...ac/English.jpg

Translated
http://i620.photobucket.com/albums/t...c/Croatian.jpg

BSPeter 6th February 2010 02:20 AM

Can't you upload the offensive file as a .zip-file?
:wink:

Opara 6th February 2010 08:25 AM

1 Attachment(s)
Oh, I thought I can upload a .rar file but it seems I can't.

Here it is:

BSPeter 6th February 2010 11:43 AM

I've meanwhile tested your files.
The translated file did not cause an error in BS.Player, but it simply wasn't recognized as a subtitle-file.
I've looked a bit better and then I saw (what I could and should have also seen from the images posted by you earlier) that, whereas a correct srt file uses --> as "separator" to indicate the time that a sub-line should be displayed ...
Code:

00:01:39,619 --> 00:02:40,950
display this sub-line from ... to ...
 
00:02:46,359 --> 00:02:48,850
and show this sub-line from ... to ...

... your translated file has -> (a single hyphen instead of two).
When I simply generally replaced "->" by "-->" using Notepad and tried the translated file again, it was shown without any problem!!
:wink:
(Sometimes a solution is so simple and it really is "staring you in the face",
but nevertheless you simply don't see it, like I also didn't see it at first. :happyroll:)

Opara 6th February 2010 12:35 PM

Thank you!!! You saved me a lot of time. :smile:

I don't know why it changed that when I didn't touch that at all. :confuse:

Anyway do you know why does it now show me the number of the next subtitle line when there's only one line shown?

It dosen't show it when there's two lines shown.

Two lines = correct
http://i620.photobucket.com/albums/t...c/Titlovi1.jpg

One line = incorrect
http://i620.photobucket.com/albums/t...c/Titlovi2.jpg

Thnx in advance!

BSPeter 6th February 2010 04:23 PM

No such problem here.
Same problem for every one-line sub? (There are a lot of them)
If you open in notepad nothing strange to be seen?
What build of BS.Player are you using?
:wink:

Opara 6th February 2010 10:15 PM

BSplayer Pro 2.27

but again, when I load english sub it dosen't do that, only with the translated one.

It must be that something changed just like on the previous problem, but I can't see anything different.
Something is causing BSplayer to read the line number as a subtitle line when there is only one line to be shown but I don't know why when there is blank line separating the subtitle from the next line number... :angry:

If I enter another enter (two blank lines separating them) then it dosen't show it, why?

I don't want to go manually putting enters in between every subtitle line...

BSPeter 6th February 2010 11:34 PM

Did you indeed use notepad or maybe wordpad (or another text-editor)?
(notepad is safest to get real plain text output.)
:wink:

Opara 7th February 2010 10:47 PM

Quote:

Originally Posted by BSPeter (Beitrag 40613)
Did you indeed use notepad or maybe wordpad (or another text-editor)?
(notepad is safest to get real plain text output.)
:wink:

Yup, definitely notepad.

BSPeter 8th February 2010 02:37 PM

Can you post the offending file again (zipped)?
:wink:

Opara 9th February 2010 10:35 AM

1 Attachment(s)
Here it is:

BSPeter 9th February 2010 03:21 PM

1 Attachment(s)
:happyroll: Found the culprit: creepy :bug: Space Invaders !! :happyroll:
Somehow in your version of Notepad a space was inserted following the line-numbers and before [CR/LF] (or 'newline'). In the English original these spaces were not there. In the image below you will see what I mean. Left is with the spaces (which should not be there); Right is without spaces (like the English original), which is shown as expected. (Note: in fact a space was/is inserted before virtually every 'newline-code' not only those of the linenumbers.)

That being said ...
... if you select "Use new subtitle parser/renderer" under
(rightclick >) Options > Preferences > Subtitles [Subtitle properties]
you will see those (extra) spaces don't influence a correct display of subtitles.

However when you don't use this "new" option, then the "old subs-engine" apparently supposes it has to show (its max) three lines, the second being an empty line and the third being the line-number (if followed by a space before the [Enter]).
:wink:
P.S.:
While testing it appeared to me that whereas the old subtitle-engine allowed a maximum of 3 lines (which IMHO is more than sufficient for normal subtitles), the new subtitle engine can almost just as well be used as a kind of telecue or teleprompter (provided the number of lines does not cause the top lines to be displayed over a black upper border -if present- (where the picture isn't refreshed)).

Opara 9th February 2010 05:20 PM

Quote:

Originally Posted by BSPeter (Beitrag 40649)
That being said ...
... if you select "Use new subtitle parser/renderer" under
(rightclick >) Options > Preferences > Subtitles [Subtitle properties]
you will see those (extra) spaces don't influence a correct display of subtitles.

Sorry for being a pain but I don't have that option in preferences/subtitles in my version.

This is what I have:

http://i620.photobucket.com/albums/t...c/BSplayer.jpg

BSPeter 9th February 2010 05:31 PM

New subtitle parser/renderer was introduced with version 2.41.1003.
Most recent changes in new subs-engine were done in version 2.50.1016
Most recent versions at this moment are 2.51.1022 resp. 2.52.1023beta.
I don't know when your Pro-licence expires/expired, but you can easily find out by logging into your user area.
You can always download upto the latest Pro version within your licence-period.
And most recent Free version can be downloaded by everybody of course.
:wink:
By the way: if you're using Pro-version, why aren't you using BS.Player-Pro's in-built subtitle editor in stead of notepad?
:confuse:

Opara 9th February 2010 06:23 PM

Quote:

Originally Posted by BSPeter (Beitrag 40655)
New subtitle parser/renderer was introduced with version 2.41.1003.
Most recent changes in new subs-engine were done in version 2.50.1016
Most recent versions at this moment are 2.51.1022 resp. 2.52.1023beta.
I don't know when your Pro-licence expires/expired, but you can easily find out by logging into your user area.
You can always download upto the latest Pro version within your licence-period.
And most recent Free version can be downloaded by everybody of course.
:wink:
By the way: if you're using Pro-version, why aren't you using BS.Player-Pro's in-built subtitle editor in stead of notepad?
:confuse:

Didn't know any of that!!!:omg:
Ill download the latest version and try the BSPlayer subtitle editor.:embarassed:

Thanks for all your help, much appreciated.:wink: :thumbs_up: :beer:

BSPeter 9th February 2010 07:36 PM

Subtitle editor in BS.Player Pro 227 (with your faulty "spacey" subfile)
(Happened to have your version still installed on my PC)
:wink:
http://members.home.nl/van.raak/SubtitleEditor1.png
http://members.home.nl/van.raak/SubtitleEditor2.png


All times are GMT +1. The time now is 03:25 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20