New optimal script
Hi guys,
Check the sticky thread in top of the forum to have the least revision of Divx optimal script for DVD2SVCD. I finally used Deen() as it gives much better results and a file a lot smaller than previous version based on ATC. I also found a way to override the YUY2 conversion that D2S always does. With this trick we are sure to work in YV12 and the best is that the ConvertToYV12 is performed only if we need it :-) (no useless convertTo...() anymore :-)) Enjoy ! :-D note: it's possible that the permanent subtitles won't work because of the trick used. Let me know. |
yes dialhot you`re right perm subs won`t show when using this new script.
not in preview also. |
In this case, ask to edit the avs script while video encoding and just comment out (or erase) the line :
Code:
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } |
Quote:
In fact, yes it's normal. So, the conclusion is that the optimal script with deen can't be used with permanent subtitles. No workaround. You can replace Deen() by ATC(2,3,5,0.5,false) but you will have poor results. I suggest you to use scripteditor taht is now included in D2S (frameserver tab) and to make a new script that you will used only for subtitles. |
Quote:
|
CCE, cannot find codec for YV12
Hi Dialhot,
I just discovered your fantastic script and used it successfully in DVD2SVCD using Tmpgenc. I tried the same script but using CCE and I get an error message saying that CCE cannot find the appropriate coded for YV12. Does this mean that I have to change the script to ConverT .... instead of the function you created ? I have updated to the latest DIVX codec and XVID, but with CCE still no luck. Your suggestion will be much appreciated. ps : I'm using CCE 2.50 Thanks Ciao quote="Dialhot"]In this case, ask to edit the avs script while video encoding and just comment out (or erase) the line : Code:
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } |
vmesquita told me that CCE need to have YUY2 video. So, as for subtitles, you must remove the line "function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }" to use CCE
|
Quote:
Grazie, Merci, Thank you |
Dialhot,
I think I adjusted the optimal script v3 you posted in the divx to kvcd forum to use with d2s. Could you check if i've done it right? This is one without perm.subs. Thanks... Code:
0=BlindPP(cpu=4) |
It is correct. Thank you. I really don't have the time to use D2S currently.
As soon as possible I will give you modification to do on this script to use permsubs. |
No problem Phil,
Take your time. This script is working for me and I think the others can use it as wel. Regarding the permsubs, I'm using the vsfilter with a textsub line and a style file. I must say the subs are looking better than they did with the permsubs in d2s. Earlier I said they were a little bit fuzzy, but I had a corrupted filter I think. After reïnstalling the filter, everything was ok. I must say this is a great script. I'm encoding now mpeg1 and muxing as svcd (my standalone cannot handle the svcd ntsc gop-structure(in general, not only ksvcd). Every second the screen is pulled-down a little bit. (Maybe someone else has this problem?)My last project was +/- 2h15min 352x240 resolution on 1 cd. And it really looked great! I won't claim near DVD quality, but almost no blocks and smooth transitions. Here's my script for permsubs. Code:
0=BlindPP(cpu=4) |
It's not a good idea to have the name of the subtitle hard coded in the script. The fastest way is to use a variable. Like this :
Code:
10=Textsub("^subtitle") |
That is a great idea, much easier....
But what to do with the .srt.style file? Do you have to make a different style file for every srt or is there a sollution to create a general style for all srt files? Will make the subname a variable, thanks for the tip. Tinus. |
Quote:
That's just a matter of doing a file copy but it has to be done manually. |
@staigerpaip.
Hello Tinus, Don't you have to remove line 9 from your perm subs script ? (function convert to ...." ?). |
Paulus, I use the vsfilter with the Textsub command in the script. This Textsub works also in the yv12 colorspace. The permsub function in d2s doesn't work in yv12. That is the problem with the subs. So the convert to yv12 line can stay in the script.
|
...Ah,...of course :oops:
But, is the optimal DivX script with Deen not better then ?.. |
No it isn't. You should read threads about optimal script in avi->mpg forum.
|
Sorry........can't keep up.
Another :oops: I guess....... :) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.