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. |
25th February 2007, 13:53 | #61 | Link |
Registered User
Join Date: Feb 2007
Posts: 3
|
Few (friendly) advices:
1. Use formatdatetime like FormatDateTime('h:m:s.z', myDate) so the ppl regional settings won't affect. 2. In every loop use application.processmessages insted of item.refresh or similiar to prevent app from "non-responding". 3. Use image object to temprary load image, resize them and write output to file. 4. Do not use "writeln" to write to file, use memory allocating - it's more reliable, add manual #$D#$A at the end of the row. Is there any api for image reading? It will be easier to insert it into supread and produce results with 1 tool. Great job, btw... |
25th February 2007, 19:00 | #62 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
1. I'm using TFormatSetting, the result is the same, I think. 2. Yes, I usually use Processmessages, but until now I've tried with only little size subtitles, the process takes only a second. 3. I'm using image object. 4. I'm not using writeln. 5. What do you mean? What kinf of API? I think, there is no tool to handle this new subtitle format. |
|
25th February 2007, 19:14 | #63 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
Could you send me a txt which works with Subrip? I cannot create a good one, maybe my Supread doesn't work. Last edited by Pelican9; 25th February 2007 at 19:25. |
|
25th February 2007, 20:00 | #64 | Link | |
Registered User
Join Date: Feb 2007
Posts: 3
|
Quote:
2. Ok, but extraction of 1150 images can take quite a while. 3. Ok, just a suggestion, is resizing works ? 4. Good. 5. I tought some component or API for image recognizing (OCR, reading bmp file and returning text) instead of exporting bmp and then using subrip or whatever to handle (OCR) those bitmaps. I'm pretty sure there's some of it around (will make user life easier). Maybe u had some bugs in Delphi. Fileinfo says u're using Delphi 3.0 ? |
|
25th February 2007, 20:57 | #65 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
3. I haven't tried yet. Strech is working on the screen, but I don't know, what happens when save the bitmap. 5. Understand. It could be useful... It's a newest one (2006). |
|
26th February 2007, 00:44 | #66 | Link | |
Registered User
Join Date: Jan 2005
Posts: 110
|
Quote:
Subrip works great with VOB files but with image sequence ... 2/ If I open subrip.txt (from Supread) in Ultraedit, it says it's in Unix format. I convert it to DOS format and then I can open it in Subrip. But Subrip exits suddenly ... |
|
26th February 2007, 13:55 | #67 | Link |
Registered User
Join Date: Jan 2004
Location: Czech
Posts: 181
|
I try SUPread on Pitch Black and discovered this:
Exported images can be readed via SubRip only when resized to 720 x XXX. subrip.txt script works fine. So I create script in PSP-X - increase contrast for 100% (liquidate gray colors), resize to 720 x XXX. Runs this script on all images. Then open in SubRip, set OCR sensitivity around 950-980, and all works fine.
__________________
(Sorry for my bad english, I'm czech, not englishman... :)) |
26th February 2007, 14:07 | #68 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
Which version of Subrip did you use? |
|
26th February 2007, 14:33 | #69 | Link |
Registered User
Join Date: Jan 2004
Location: Czech
Posts: 181
|
SubRip 1.50b3.
I think it can handle only images of specific resolution. I try 720x405 and works fine. Images converted like this: Black background with white text, preserved original pallete. I only liquidate gray shade beneath text (subs can be easily OCRed wia subrip). This action can be scripted in most graphics editors... EDIT: Image can be 256, but also 16M colors.
__________________
(Sorry for my bad english, I'm czech, not englishman... :)) Last edited by JnZ; 26th February 2007 at 14:39. |
26th February 2007, 15:20 | #70 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
|
|
26th February 2007, 16:35 | #71 | Link |
Registered User
Join Date: Jan 2004
Location: Czech
Posts: 181
|
After some experimenting, I must say, that SubRip open this images very strangely. Sometimes not, sometimes opens only first one and next images are only black...etc.
__________________
(Sorry for my bad english, I'm czech, not englishman... :)) |
2nd March 2007, 01:01 | #75 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
I've got an HD DVD player, so I'm playing with my new toy. :-) But I would like to write back the compressed movie to HD DVD or BluRay. Not an easy task for me... |
|
4th March 2007, 16:10 | #76 | Link |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
SUPread v0.24
Changes for v0.24
- Cancel button - Remove 'Save BMPs' - New feature 'Save bitmaps' writes PNGs and subtitles.scn-sst (Scenarist ACA compatible script) SUPread v0.24 |
4th March 2007, 20:24 | #77 | Link |
Registered User
Join Date: Apr 2005
Posts: 50
|
SUPread v0.24 crashes towards the end of the SUP file (line 981) during bitmap writing with Out of system resources message.
Is there a way to mux the subtitles into matroska container without OCR? Last edited by tjf; 4th March 2007 at 21:23. |
5th March 2007, 01:50 | #80 | Link | |
Coder
Join Date: Jan 2007
Location: Around the World
Posts: 697
|
Quote:
I haven't got yet a working OCR... Last edited by Pelican9; 5th March 2007 at 10:36. |
|
Tags |
supread, suprip |
|
|