Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th February 2007, 17:19   #41  |  Link
Kiriakos
Registered User
 
Join Date: Feb 2007
Posts: 16
Firstly, thanks for the very usefull programs that you are feeding us with, Pelican9. Really great!
I am wondering, what is wrong with my system and the .srt file that outputs SUPread, looks like this:
1
12:01:14 AM,145 --> 12:01:18 AM,480
Line 1

2
12:01:18 AM,550 --> 12:01:21 AM,042
Line 2

3
12:01:21 AM,152 --> 12:01:24 AM,350
Line 3

4
12:01:24 AM,456 --> 12:01:29 AM,291
Line 4
.........
..........
...........

The time numbers are in a strange format as you can see!!!!
Any ideas?

Thanks again.
Kiriakos is offline   Reply With Quote
Old 21st February 2007, 16:09   #42  |  Link
Kiriakos
Registered User
 
Join Date: Feb 2007
Posts: 16
Quote:
Originally Posted by Kiriakos View Post
Firstly, thanks for the very usefull programs that you are feeding us with, Pelican9. Really great!
I am wondering, what is wrong with my system and the .srt file that outputs SUPread, looks like this:
1
12:01:14 AM,145 --> 12:01:18 AM,480
Line 1

2
12:01:18 AM,550 --> 12:01:21 AM,042
Line 2

3
12:01:21 AM,152 --> 12:01:24 AM,350
Line 3

4
12:01:24 AM,456 --> 12:01:29 AM,291
Line 4
.........
..........
...........

The time numbers are in a strange format as you can see!!!!
Any ideas?

Thanks again.
Found it. It was the format of the time (control panel>regional settings> etc) on my system. It seams that SUPread uses this setting to form the .srt file.

Another one: It seams that if the movie has over 1000 lines of subtitles, in SUPread you can see in "Image" tab, only the first 999. From there and above, it sticks and shows the 999nth.
Kiriakos is offline   Reply With Quote
Old 22nd February 2007, 10:45   #43  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Kiriakos View Post
Found it. It was the format of the time (control panel>regional settings> etc) on my system. It seams that SUPread uses this setting to form the .srt file.

Another one: It seams that if the movie has over 1000 lines of subtitles, in SUPread you can see in "Image" tab, only the first 999. From there and above, it sticks and shows the 999nth.
Thank for your report, I'll fix it soon.
The used time format is the system's default setting as you described. (The same problem was in EVOdemux.)

Edit:

I've fixed the time format and the other problem with lines above 1000

Last edited by Pelican9; 22nd February 2007 at 21:43.
Pelican9 is offline   Reply With Quote
Old 22nd February 2007, 22:06   #44  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Any news about exporting bitmaps ?
Thank you.
Deckard2019 is offline   Reply With Quote
Old 23rd February 2007, 00:55   #45  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Deckard2019 View Post
Any news about exporting bitmaps ?
Thank you.
I'm working on EVOdemux...

Off:
... Nehogy már! Te vagy a blade, blade runner.

Last edited by Pelican9; 23rd February 2007 at 01:01.
Pelican9 is offline   Reply With Quote
Old 23rd February 2007, 01:23   #46  |  Link
Kiriakos
Registered User
 
Join Date: Feb 2007
Posts: 16
Quote:
Originally Posted by Pelican9 View Post
I've fixed the time format and the other problem with lines above 1000
You are a king!

Kiriakos is offline   Reply With Quote
Old 24th February 2007, 18:56   #47  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
SUPread v0.23

Changes for v0.23

- New option 'Auto read'
- New option 'Output folder'
- New feature 'Save BMPs'

SUPread v0.23
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 21:06   #48  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Deckard2019 View Post
Is there a chance we could use SubRip OCR engine ?

SubRip can take image sequence as Input. Image Sequence comes from DVDSupDecode.
So maybe you could export each image to BMP and create output text file just as DVDSupDecode does ?

Output text file starts with :

And then :

If you want me to test anything, just ask ...
I've created a subrip.txt but Subrip makes an error...
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 21:17   #49  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Thank a lot for the feature !
Did you try to resize bitmaps to DVD resolution (720x480 or 720x576) before using SubRip ?
Deckard2019 is offline   Reply With Quote
Old 24th February 2007, 21:34   #50  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Deckard2019 View Post
Thank a lot for the feature !
Did you try to resize bitmaps to DVD resolution (720x480 or 720x576) before using SubRip ?
I'm trying with an NTSC DVD, so the bitmaps are 720x480...
I cannot create a valid txt, or valid bmp. :-(
Subrip always give access violation error...

Could you send me a valid file?

My txt:
Code:
;VTS_01_1.Subpicture.00.sup
FrameRate=23.976
Alpha=FFF0
{107}{218}{VTS_01_0.20_000001.bmp}
{239}{298}{VTS_01_0.20_000002.bmp}
{311}{441}{VTS_01_0.20_000003.bmp}

Last edited by Pelican9; 24th February 2007 at 21:38.
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 21:41   #51  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Hi pel,

It seems there is no carriage return in the generated subrip.txt file.
Could it be the problem?

Cheers
Manusse
manusse is offline   Reply With Quote
Old 24th February 2007, 21:46   #52  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
Hi pel,

It seems there is no carriage return in the generated subrip.txt file.
Could it be the problem?

Cheers
Manusse
Your version could be quite old...
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 21:47   #53  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Downloaded 5 minutes ago.
;-)
manusse is offline   Reply With Quote
Old 24th February 2007, 21:49   #54  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
Downloaded 5 minutes ago.
;-)
Well, I don't know...
Look at my post, there are CRLFs...
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 22:26   #55  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
I tried again with the last versions of EVOdemux and SUPread and have still the same problem.
I've carefully checked the file with a binary editor and it seems each line is separated by 0x0a followed by 0x0d whereas notepad.exe puts 0x0d followed by 0x0a. This explains why notepad is confused. Could it be the same for subrip?

Hope this helps
Manusse
manusse is offline   Reply With Quote
Old 24th February 2007, 22:47   #56  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
Could you send me a valid file?
Just tried with a PAL DVD. Subtitle file can be found here.
DVDSupDecode generates :
Quote:
;Subpictures_21.sup
FrameRate=25
Palette=8328
Alpha=0FA0
{1293}{1355}{Subpictures_21_000001.bmp}
{1361}{1425}{Subpictures_21_000002.bmp}
{1460}{1507}{Subpictures_21_000003.bmp}
...
Supread generates :
Quote:
;Subpictures_21.sup

FrameRate=23.976

Alpha=FFF0

{1240}{1299}{line0001.bmp}

{1305}{1366}{line0002.bmp}

{1400}{1445}{line0003.bmp}
...
As you can see, Palette info is in the .txt file. Also, Supread seems to always set Alpha to FFF0 ...
Deckard2019 is offline   Reply With Quote
Old 24th February 2007, 22:47   #57  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
I tried again with the last versions of EVOdemux and SUPread and have still teparhe same problem.
I've carefully checked the file with a binary editor and it seems each line is sated by 0x0a followed by 0x0d whereas notepad.exe puts 0x0d followed by 0x0a. This explains why notepad is confused. Could it be the same for subrip?

Hope this helps
Manusse

My notepad works normally with it...
I've tried to change 0d0a but then my notepad can't handle it.

each line is sated by 0x0a followed by 0x0d
Are you sure? This is definitly 0D0A...
Code:
 
7B 31 32 30 31 7D 7B 31 32 37 32 7D 7B 56 54 53   {1201}{1272}{VTS
5F 30 31 5F 30 2E 32 30 5F 30 30 30 30 30 35 2E   _01_0.20_000005.
62 6D 70 7D 0D 0A 7B 31 33 33 30 7D 7B 31 34 31   bmp}..{1330}{141
36 7D 7B 56 54 53 5F 30 31 5F 30 2E 32 30 5F 30   6}{VTS_01_0.20_0

Last edited by Pelican9; 24th February 2007 at 22:57.
Pelican9 is offline   Reply With Quote
Old 24th February 2007, 22:59   #58  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
I've rechecked and I confirm what I've written.
Really strange...

Manusse
manusse is offline   Reply With Quote
Old 24th February 2007, 23:01   #59  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Code:
00000000:3b 2e 53 75 62 70 69 63 74 75 72 65 2e 30 30 2e    ;.Subpicture.00.
00000010:73 75 70 0a 0d 46 72 61 6d 65 52 61 74 65 3d 32    sup..FrameRate=2
00000020:33 2e 39 37 36 0a 0d 41 6c 70 68 61 3d 46 46 46    3.976..Alpha=FFF
00000030:30 0a 0d 7b 37 32 39 7d 7b 37 35 39 7d 7b 6c 69    0..{729}{759}{li
00000040:6e 65 30 30 30 31 2e 62 6d 70 7d                   ne0001.bmp}
manusse is offline   Reply With Quote
Old 25th February 2007, 09:32   #60  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
Code:
00000000:3b 2e 53 75 62 70 69 63 74 75 72 65 2e 30 30 2e    ;.Subpicture.00.
00000010:73 75 70 0a 0d 46 72 61 6d 65 52 61 74 65 3d 32    sup..FrameRate=2
00000020:33 2e 39 37 36 0a 0d 41 6c 70 68 61 3d 46 46 46    3.976..Alpha=FFF
00000030:30 0a 0d 7b 37 32 39 7d 7b 37 35 39 7d 7b 6c 69    0..{729}{759}{li
00000040:6e 65 30 30 30 31 2e 62 6d 70 7d                   ne0001.bmp}
Hmmm, interesting.
1:1 :-)
Pelican9 is offline   Reply With Quote
Reply

Tags
supread, suprip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.