View Full Version : Adding avisynth script commands
chips144
26th July 2002, 06:13
I have run many tests over the last few weeks relative to the sharpening settings in the frameserver tab vs. using the "unfilter" method found in some threads on doom9. Everybody has to judge for themselves which looks more pleasing to their eyes and this objectivity may also be related to the bit rate used, dvd player used, and finally to the TV screen size. For me, the unfilter method achieves the same sharpening effect that I desired to get out of the built-in sharpening command, but it does it without increasing the transcoding time in CCE (it does slow it down a little, maybe 2 or 3%, but not by 40%).
That being said, my problem is that I always have to hand-edit the avisynth script file in order to add the 2 lines referring to unfilter (1. point to the dll, 2. set the levels). I have to check "edit when dvd2avi is done" in the conversion tab. This means that I have to wait for the process to get to that point, then do the editing, and only then can I walk away and let the processes complete.
I have tried using the "save" after I have done the editing and I have also tried using "save settings" under the misc tab. None of these save the added avisynth script lines. When I start DVD2SVCD on the next movie, I will again have to edit the avisynth script file. Does anybody know how to make these added lines perminent?
Clixo
26th July 2002, 13:22
@ chips144 : i am making a few tests regarding this matter , when i have my final results i will come back ;)
switu
26th July 2002, 13:54
hI Chips44
check this thread out , its' all about UNFILTER
Unfilter (http://forum.doom9.org/showthread.php?s=&threadid=28197&perpage=20&pagenumber=2)
and you have seen and read this thread
UNfilter (http://forum.doom9.org/showthread.php?s=&threadid=28610)
In my opinion UNFILTEr is quicker. Encoding with UNFILTER I have not lost any quality when encoding the movie. Like you mentioned before, you only loosing a few % of encoding time versa upto 40 % when you use temp.smopther and sharpen filter . The math is very simple, and I think maybe there should be more tests done , so once for all we can say that UNFILTEr is a very good filter and it's worth it to implement this filter into new version of DVD2SVCD
:D :D
magnanimous
27th July 2002, 10:31
G'day there, I was about to post a similar message. I've been getting tired of editing the avisynth file myself. I've found the unfilter plugin very useful, I use it in conjuction with temporal smoother and getting very interesting results.
My settings for anyone interested are:
CBR (can't justify the time on VBR)
lum gain 3
lum offset 3
audio bitrate 128
no downsample
bicubic resize .6
CD size 740
image quality 22
anti noise filter 10
TS 1,1
unfilter(20,20) after temporal smoothing
I've converted a few films using these setting with very good results (THE OTHERS) came out very well indeed.
manono
27th July 2002, 11:40
Hi-
Those of you that prefer the Unfilter (as I do) over the included Sharpen filter because it's so much faster, might also consider using TemporalSoften2 (http://users.win.be/dividee/TemporalSoften2.zip) in place of the included TemporalSmoother for the same reason.
Unfortunately, I don't see any way around pausing the DVD2SVCD process to edit the .avs. If dvd2svcd should allow the use of a premade .avs, he'll be beseiged with claims of bugs in DVD2SVCD when the complaints start pouring in over green lines when using SimpleResize or the Unfilter, crashes when using Decomb, or bad AR. I don't find it a big deal anyway to start the ripping and then to come back 45 minutes later to edit the .avs before sending it off on its merry way for the rest of the process.
If he should just replace Sharpen with Unfilter and TemporalSmoother with TemporalSoften2 in a future version (which I would recommend, but who asked me), there will still be squawks from those that prefer the old filters, or wonder why Tweak or SSHiQ or TextSub or others weren't included. I like to open the edited .avs in VDub before encoding to see how it looks and to make sure that the settings are OK for that particular movie and it doesn't crash, so I don't find the current editing system a bad way to go
switu
27th July 2002, 13:06
@ Hi manono
If you want edit the Avisynth when runing dvd2svcd it's very simple, I have done it many times. Just go to Frameserver on the left bottom corner you will see "Edit the Avisynth Script File" with three choice,
default is No editing, switch this to "Edit as part of Video encoding"
and just before CCE will run Avisynth will pop up and you can edit the way you like it. You can add different filters , you can delete and change anything in Avisynth.
cheers
manono
27th July 2002, 16:30
Cheers switu:)
1loser
27th July 2002, 20:50
Originally posted by switu
@ Hi manono
If you want edit the Avisynth when runing dvd2svcd it's very simple, I have done it many times. Just go to Frameserver on the left bottom corner you will see "Edit the Avisynth Script File" with three choice,
default is No editing, switch this to "Edit as part of Video encoding"
and just before CCE will run Avisynth will pop up and you can edit the way you like it. You can add different filters , you can delete and change anything in Avisynth.
cheers Yes, we already know this. We want to edit the script WITHOUT waiting for the script to pop up so we don't have to be at the computer waiting for the audio encoding to finish.
Clixo
28th July 2002, 10:13
as i wrote befoure i am doing a few tests myself regarding this matter, to edit the avisynt or to use premade ones. ok so far my results are not very bad. i am using " automate " ( you can see more info here http://forum.doom9.org/showthread.php?s=&threadid=18629&highlight=clixomano (http://)
so what you do is to make an avisynth file with the correct paths and when the pop up apears automate will paste the premade avisynth in the pop up box and then save the text and after close the box, the sequence sould be something like this :
wait...
paste or type
save
close
hope it helps you
chips144
29th July 2002, 17:39
I have done more testing regarding this issue since I first posted it. Initially I thought there should be a simple solution. I had also given thought to some automated script entry, but as I experimented further it became apparent to me that this solution, while it could be adjusted properly for a particular type of movie (interlaced vs. progressive; 4:3 vs. 16:9 aspect ratio, etc.)it would never be the perfect solution for ALL types of movies. The structure of the preloaded avisynth script differs for each type movie; therefore, the IDEAL entry points for the required added script lines varies. Here is a sample list of my preferred script files for different type movies:
4:3 HYBRID or INTERLACED (no borders, encode as 4:3)
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\INVERS~1\DONALD~1\decomb.dll")
LoadPlugin("C:\Program Files\DVD2SVCD\Unfilter\Unfilter.dll")
mpeg2source("E:\DVDRIP~1\DVD2AV~1.D2V")
Telecide()
Decimate(5)
Unfilter(50,50)
SimpleResize(480,480)
16:9 PROGRESSIVE (borders added, encode as 4:3)
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\Program Files\DVD2SVCD\Unfilter\Unfilter.dll")
mpeg2source("E:\DVDRIP~1\DVD2AV~1.D2V")
Unfilter(50,50)
SimpleResize(480,360)
AddBorders(0,60,0,60)
16:9 HYBRID or INTERLACED (borders added, encode as 4:3)
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\INVERS~1\DONALD~1\decomb.dll")
LoadPlugin("C:\Program Files\DVD2SVCD\Unfilter\Unfilter.dll")
mpeg2source("E:\DVDRIP~1\DVD2AV~1.D2V")
Telecide()
Decimate(5)
Unfilter(50,50)
SimpleResize(480,360)
AddBorders(0,60,0,60)
4:3 Progressive (no borders, encode as 4:3) - movie is actually 2.35:1 aspect ratio
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\Program Files\DVD2SVCD\Unfilter\Unfilter.dll")
mpeg2source("E:\DVDRIP~1\DVD2AV~1.D2V")
Unfilter(50,50)
SimpleResize(480,480)
Since the scripts differ so much, it makes it difficult to compose one script file that would cover all applications.
The perfect solution would be to have an added selection for choosing "unfilter" and the unfilter settings in addition to the presently available sharpening filter under the Frameserver tab in DVD2SVCD. Until that happens, I guess I will have to continue to resort to stopping the process and hand-editing the file.
I would be remiss if I didn't add the following comment to the author of DVD2SVCD. You have done a fantastic job. In no way am I criticizing the performance of your program. I LOVE IT. If you would attempt to react to the requests of all the program users, you would never get any rest. To add to this is the fact that you don't even get paid for what you have already done! We all owe you one.
dvd2svcd
29th July 2002, 23:29
Support for Unfilter added, enjoy (if it works).
chips144
30th July 2002, 00:03
Thank you so much. I will give it a try tomorrow.
switu
30th July 2002, 00:17
I'll try it tomorrow soon as I'll finish The big blue
Thanks a lot
cheers
chips144
30th July 2002, 04:34
I couldn't wait until tomorrow. I just finished a complete run through the program. It works GREAT. It performs exactly the way I wanted it. Great job. Thanks again.
jorel
30th July 2002, 07:09
thanks too dvd2svcd and all
;) ;) :D :) :p
jorel
15th August 2002, 02:20
;)
i'm a bewby and read this post!
i use used unfilter to make vcd and svcd
(as default 50-50)and the final mpegs
was WONDER-FULL!!!!!!!:D
thanks to all again.
it's surprising me.
:eek: ;) :) :D :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.