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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Convert an ASSDRAW ASS file to the SUP format to use it in a DVD.
Please find below a tutorial I've just written to allow converting ASSDRAW generated ASS files to the SUP format.
Click here to download the tutorial (word .doc file). Cheers Manusse PS: If you need the source code it's here: http://subtitlecreator.svn.sourcefor.../SCVideoToSrt/ Last edited by manusse; 16th July 2008 at 12:26. Reason: Added a link for the source code |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Mar 2004
Location: Italy
Posts: 953
|
Hi manusse!
I am very interested in your work. See this discussion in the authoring forum for the origin of such "interest"... http://forum.doom9.org/showthread.php?t=139517 However I got almost immediately stopped in the process of testing your method due to this error: ![]() I suspect that the SCVideoToSrt dll is someway corrupted or incompatible with my system. Is its size of just 12,5 KB? Have you any hints on how to overcome this stopping issue ? Last edited by Sir Didymus; 16th July 2008 at 14:24. |
![]() |
![]() |
![]() |
#3 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Hi,
Normally this should work. As you've put the dll in the plugins directory, you could try without the LoadPlugin line (just comment it using a #). Maybe this is the problem? Tell me if it's working or not. I've tested the dll with XP SP3 and AviSynth 2.58. Cheers Manusse |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Mar 2004
Location: Italy
Posts: 953
|
Well, I changed the avs script, from the exact content of your example to the one showed in the image of my previous post, just in order to evidence that the plugin can not be loaded, even with the direct "Loadplugin" avisynth call.
Using the straight content of your example, the error reported by avisynth is the following: <<Script Error: there is no function named "SCVideoToSrt" (C:\Tmp\test\test.acs, line 10)>> I have the same configuration: OS WinXp SP3 & AviSynth 2.58... May I ask again: do you confirm the size of the SCVideoToSrt plugin is 12,5KB? It seems very little, considering the job that it should perform... I suspect the version uploaded on sourceforge is corrupted... Cheers, SD EDIT: To other users --> did somebody else already test the approach described in the guide from manusse? Could you please jump in and comment on your experience? Last edited by Sir Didymus; 16th July 2008 at 18:52. |
![]() |
![]() |
![]() |
#5 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Hi,
The exact size of the dll is 12800 bytes. Maybe you have got too many dlls in your plugins directory. I've read somewhere this can be a problem because they are all loaded, I think. Try to remove some of them for testing. Exact AviSynth version: AviSynth 2.58, build:Jun 20 2008 [14:40:39] Cheers Manusse [EDIT] I will not have access to the internet for a few days. Last edited by manusse; 29th August 2008 at 21:05. |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 92
|
OH MY GOD!!!
Man, this is awesome!!! Didn't tested yet ![]() Sorry for my English.... |
![]() |
![]() |
![]() |
#7 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Hi,
Actually, I've developped this for Anime guys. Just test it and tell me if it's working like it should. I'm also open to any suggestions you may have and may also need some help for future features. Cheers Manusse |
![]() |
![]() |
![]() |
#8 | Link |
Registered User
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 92
|
OH NO! Not working...
![]() The same problem with the SCVideoToSrt - Virtual Dud crashes. ![]() I manualy installed only 4 plugins -VSFilter.dll, SCVideoToSrt.dll, FFMpegSource.dll and TIVTC.dll. So, I don't think that is a "a lot of plugins" problem... Any ideas ![]() I am using Windows XP Service Pack 3 and latest AviSynth 2.58 alfa Sorry for my English... Last edited by Oleg Rode; 30th August 2008 at 20:59. |
![]() |
![]() |
![]() |
#9 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
OK,
I'll try on another computer of mine and keep you informed (today, I think). Thanks for the feedback. Cheers Manusse [EDIT]: I could reproduce the bug, I'm on it... [EDIT2]: It seems if I install VC++ Express 2008, I don't have the error anymore. I have to check why. I'll keep you informed. [EDIT3]: It seems it's a compilation problem due to my use of VC++ Express 2008. I'm currently trying to compile it with VC++ Express 2005 but I have big problems installing it. Last edited by manusse; 2nd September 2008 at 20:38. |
![]() |
![]() |
![]() |
#10 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Ok,
It took me some time but I could finally recompile it using VC++ Express 2005. Could you please give it a try. Tell me if it's OK or not. Cheers Manusse Last edited by manusse; 9th September 2008 at 20:04. Reason: Suppressed attached file (see next post) |
![]() |
![]() |
![]() |
#13 | Link |
Registered User
Join Date: Mar 2004
Location: Italy
Posts: 953
|
Hi manusse!
I just tested the new dll and the overall procedure... I have a good news, then a bad news, then another good news... So, I would say the balance of the testing session is positive... :-) 1. Good news. The dll is now working! I have followed your nice guide, step by step, and it seems your overall method is working! The procedure is not stopped any more by any sort of errors! 2. Bad news. The playback with Cyberlink Power DVD was not OK. Just few subpictures were properly played, then the DVD stopped. Using MPC and Corel WINDVD9 as software players was OK. Burning a DVD and testing on my standalone player produced very bad results: the playback of the subpictures suffered from strong "flickering", "stopping" and other instabilities. 3. Good news. Trying to go deeper into the issue, I think I figured out the reason for the problems above. It is a very old problem (never solved) with SC. In each individual SPU produced by Subtitle Creator, in order to comply with the DVD-VIDEO specifications, the subpicture display control area should be (for PAL): Code:
0 <= Start_X_coordinate < End_X_coordinate <= 719 2 <= Start_Y_coordinate < End_Y_coordinate <= 575 Code:
0 <= Start_X_coordinate < End_X_coordinate <= 719 2 <= Start_Y_coordinate < End_Y_coordinate <= 479 Ha... By the way, little heads up: Jeanl just released a new version (1.5) of its great application! Hey Jeanl, thanks! With some "tricks and adaptations", it is possible to make your procedure working (it is just a tuning of the subpicture size and position, in order to bypass the SC error): - first of all the BlankClip line in the script for feeding the dll should be changed (showing just the PAL version): Code:
#Make a srt file compatible with the new version of SubtitleCreator (2.3rc1) video=BlankClip(width=719,height=573,fps=25) ![]() - this will lead to the following result (screenshot from DVDSubEdit), which is compliant with the DVD-VIDEO specs - and with PowerDVD and with my standalone: ![]() OK. It was a nice testing session... Please, please, please try to involve the authors of SC in this thread... It would be very nice to have this very old issue in the sup assets generated by SC faced (and possibly solved...)... Cheers, SD Last edited by Sir Didymus; 13th September 2008 at 11:59. |
![]() |
![]() |
![]() |
#14 | Link | |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
First thanks for the rather positive feedback. I'm inspecting your message...
Quote:
Cheers Manusse |
|
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: Mar 2004
Location: Italy
Posts: 953
|
OK!
I really hope it should be not too difficult to verify that the issue I am seeing is really present! I am quite sure it is also the origin of the troubles from other users, as reported in the SC thread... It happen, apparently, that the parameters defined in the SC GUI (position the subtitles panel; "horizontal", "vertical", "width" and "lines" edit boxes) do not translate to the right values for the corresponding SPU DCSQT command (Set Display Area sx, ex, sy, ey)... DVDSubEdit is the right tool to use for the inspection... Thanks a lot for looking into the matter, and please consider myself available for whatever support or further testing you need on the subject... Cheers, SD |
![]() |
![]() |
![]() |
#16 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Hi Sir Didymus,
I checked the DVD specs I could find and I found a small difference with what you are mentioning but I thank you for pointing this bug (see below in green): Code:
0 <= Start_X_coordinate < End_X_coordinate <= 719 2 <= Start_Y_coordinate < End_Y_coordinate <= 574 Code:
0 <= Start_X_coordinate < End_X_coordinate <= 719 2 <= Start_Y_coordinate < End_Y_coordinate <= 479 Cheers Manusse Last edited by manusse; 24th September 2008 at 20:41. |
![]() |
![]() |
![]() |
#17 | Link |
Registered User
Join Date: Mar 2004
Location: Italy
Posts: 953
|
Yes, yes! Of course I agree... It was a (memory leak) mistake from my side.
The point is that the display area, for PAL should be no larger than 573 lines, and start on line 2. Its size should be less or equal to 720 pixels. So the StartX coordinate sholud be >= 0 and the EndX coordinate should be <= 719. The StartY coordinate should be >= 2 and the EndY coordinate should be <= 574. In the output of SC I frequently have observed odd values of StartY = 0 and EndX = 720. This is the reason, IMHO of some big instability issues that can be seen by playing the subpictures created by SC by playing them on the standalones. Thanks a lot for focusing on this glitch! Cheers, SD |
![]() |
![]() |
![]() |
#18 | Link |
Guest
Posts: n/a
|
Hello there. I made it Work with every Draw I made, but when I try to use the same script for a normal ass, even without Karaokes, It doesn't work right (When I make the bmps they are always blank pages). Is there another way of doing it? Or may it be that I'm messing up things? (Thing that its waaaaaaaaaaaay possible xD).
Thx. Cya. |
![]() |
![]() |
#19 | Link | |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Quote:
Cheers Manusse |
|
![]() |
![]() |
![]() |
#20 | Link |
SubtitleCreator's Co-Dev
Join Date: Oct 2005
Location: France
Posts: 579
|
Hi all,
I've updated the dll (plugin) and the source files so that Y is now set to 2 and not to 0 (in conformity with DVD specs). An update of SubtitleCreator will also be needed for full compliance but you'll have to wait for that. I'll update the documentation ASAP. Cheers Manusse |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|