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. |
23rd July 2007, 12:29 | #81 | Link |
Registered User
Join Date: Mar 2005
Posts: 6
|
Hi!
This thread looks kinda dead but it was the most "on-topic" I could find. I have been trying to fix subtitles for The Rock BluRay so I can mux them to a downscaled 720p MKV. However using OCR with Supread fails, as output is garbish. Code:
-Kl. 0000 tr··s··r········. -Hvem r·al·l·erje6 med· Bri6ade·e·eral ·ra·cirY. Hummel, mari·ei···terˇet.je· er p· Alcatraz. Exported SUP from SUPread ) Im stuck on what to do next, my ideal goal would be to get a Sub/Idx-file for muxing, but what steps would be necessary to get there? Is doing the job manually my only option? For info: SUPRead.exe Version 0.45b MD5:B15C3DBCC6538A8494A8E3090CA4B5AC SubtitleCreator.exe Version 2.2.2 MD5:2D8C4DB5F80418E5014D629DB4B9569F Links for sup-files: This is the original SUP from the disc This is from export sup in Supread |
23rd July 2007, 16:31 | #82 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
The best method I found was to use ABBYY's FineReader 8.0 program. Tell Supread to output BMPs, then use ABBYY's FineReader for OCR. However, you need to find a way to convert FineReader's text output into SRT format...so if you know how to program in Python, .NET, or some other language then you will have great results.
BTW, I get 99% accuracy using FineReader. However, I did have to use a photoshop batch action to change the background color to black, as Supread outputs a gray color, which messes up OCR because each white letter has a black outline. Changing the background to black eliminates this. |
11th August 2007, 02:06 | #86 | Link |
Registered User
Join Date: Mar 2005
Posts: 6
|
btw, I just output a stream to BMP, going to try the approach given by Rectal Prolapse above, and the subtitles.scn-sst -file contains: 1 00:01:17:07 00:01:19:08 line0001.png
The output however is BMP... edit: Using supread 0.45b edit2: and speaking of that file, what is it really for? Last edited by Ralin; 11th August 2007 at 02:10. |
11th August 2007, 15:52 | #90 | Link |
Embedded Coder
Join Date: Aug 2007
Posts: 7
|
Pelican9:
Thanks for help. I think "bits0001.sup" is subtitle file and does not contain any Presentation Graphics Stream PGS. I wish to have PGS sample stream. It will be nice if some one can provide it. Thanks, Ahmguy. Addition : May be I was wrong. [/off] I am vary much new to subtitle and PGS. I was trying to compare stream with doc and I did not work.[/off] Thanks, Viral Last edited by ahmguy; 13th August 2007 at 08:21. |
12th August 2007, 20:13 | #92 | Link |
Registered User
Join Date: Oct 2003
Posts: 435
|
hi
is there any way to add a delay to a subtitles.scn-sst file? i looked at tsremux but it seems the delay area at the bottom is grayed out for me anyways. i have succeeded in authoring the png's into SACA and the result plays fine in powerdvd showing the subs, but they are 12 secs to late to the voice. this is constant delay throughout the movie. other than that issue tho it all seems to be ok |
12th August 2007, 20:22 | #93 | Link |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
woah!:
Do you mean you've suceeded with subtitles.scn-sst and pngs made by SUPread? I can create a delay option in SUPread, but I think it's meanless, I cannot imagine how that 12 sec delay occured. Could you try another movie? Last edited by Pelican9; 12th August 2007 at 20:27. |
12th August 2007, 20:26 | #94 | Link |
Registered User
Join Date: Oct 2003
Posts: 435
|
yes i used tsremux to demux the subread track from ghostrider blueray, i opened it in supread and exported to .pngs
i then imported those into sonic aca with no issues (it seems) but the start time in the sst file is 1min 06secs but to match up to the voice it needs 12sec delay? weird huh.. |
12th August 2007, 21:13 | #96 | Link |
Registered User
Join Date: Oct 2003
Posts: 435
|
Blu-ray subtitle found.
------------1---------- 00000002: PTS=005B7DE2 (00:01:06,622) 0000000A: PCS (13) state: 2 0000002A: WDS1 (0A) id: 0 [674,876] - [1254,1025] 00000041: PDS (142) 64 palettes 00000190: ODS (6931) 580 x 149 00006ACE: END 00006AD3: PTS=006012EE (00:01:09,959) 00006ADB: PCS (0B) state: 0 00006AF3: WDS1 (0A) id: 0 [674,876] - [1254,1025] 00006B0A: END so the voice starts at 54secs into the movie and the subs start at 1min 06sec by my eye. the audio is completely sync with the video. |
12th August 2007, 21:21 | #97 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
woah, sounds like you need to apply a PTS delay offset to the subs (the timestamps never start at zero by the way - usually there is a 10 second or more delay added for some unknown reason). xport with the PGS extraction option is able to apply the proper offset.
What is SACA? And, are you playing the subs in PowerDVD using external subs? Were they left in bitmapped format? I would like to get bitmapped subs working in other players that support DirectVobSub, but for now I have to convert to text-format. I'd rather avoid that step to save time and fixing OCR errors. |
|
|