Avisynth: help with writing new script?
Hi guys.
I'm planning on making a backup of "The Last Samurai". So far the only thing I got for a script is this: Quote:
What I want to do is use LRemoveDust and LimitedSharpen (or maybe LimitedSharpenFast?) but I have no clue to what filter packages I need or how the script should look. :( If someone would help me out with this I would be very grateful! I don't know where to download the functions either... In other words, I need to get help with the whole shebang. :D |
Okay, so I found the LimitedSharpen.avsi, copied it to plugins directory together with mt_masktool.dll and the RemoveGrain 0.9 package. When I try to load my script in VDub it says:
Script error: There is no function named "DEdgeMask". What am I missing? Here's my script: Quote:
|
I found a later version (final?) of LimitedSharpen and with this I get an error message saying:
The named argument "soft" to LimitedSharpen had the wrong type" What does this mean? I'm using the exact same script as seen above. |
Hmm, I'm starting to think I'm the only one left here on this forum... :roll:
Anyways, I changed the "soft" parameter to -1 (=automatic) and now I get a new error message: Script error: There is no function named "unsharpmask". Any ideas? |
It's me again! :lol:
I changed the LimitedSharpen for LimitedSharpenFast and got it to work! :) Now I need to get LRemoveDust to work. For starters, where can I download it? BTW The script I'm using now: Quote:
|
Doesn't anyone know this? :?
|
See LREMOVEDUST on my post here: http://www.kvcd.net/forum/viewtopic....hlight=#124227
|
Where is the post i did 5 hours ago ? 8O :cry: :cry:
I was mentioning that the function can be found also there : http://www.kvcd.net/forum/viewtopic.php?t=16636 |
Thank you (both)! :D
BTW Can I use LimitedSharpenFaster to resize the video instead of the Lanczos4Resize in my script? If so, how would it look in my script? This is my current script: Quote:
What's the better choice- to encode a movie to 4:3 or 16:9 output? |
Quote:
Code:
LRemoveDust_YV12(17,2) Quote:
|
Quote:
Although I had to change the Crop values to even numbers (I changed the 5 to 6) it worked. Okay, 16:9 it is. ;) |
The script look much cleaner now thanks to your help. :D
Quote:
Do you recommed using "cpu=4" when encoding a DVD with very good quality, like this one (The Last Samurai)? |
OKay, now I've implemented Soothe() in my script. The vertical lines certainly looks better with it. :)
Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\LimitedSupport_09Jan06B.dll") |
I use to let cpu=4 for a everything and use cpu=6 when I want more compressibility. For me this setting has nothing to do with "clean or not clean" source. As long as the source is average-to-fully compressed MPEG2, as DVD are, deblocking is needed IMHO.
|
Thanks again Dialhot. :)
Okay, that was step one. Now on to step 2. (I'm not sure this is the correct part of the forum for this...) I was planning on using HC to encode this movie. I also want to be able to choose subtitles. Is there an easy way of doing this? |
Quote:
That's the easier to do DVD->DVD backup but it does not allow to put several movie on a disc, and in the free version you can choose to remove the menu or the bonus (but you can blank them out before to use DVD-RB with vobblanker for instance). |
I'll look into DVD-ReBuilder.
BTW I tried to backup a movie the other day, Lord of War, and it had a wierd protection. DVD Decryter said something about a structure problem? What's that and is there a way around that kind of protection? Is DVD Decrypter still the recommended DVD ripper? |
Quote:
http://www.kvcd.net/forum/viewtopic....=dvdfab#123365 |
Can/shall I copy the whole script into the filter editor in DVD-RB?
EDIT: Where in DVD-RB do I set the path to HCEnc? And should I use the HCenc_018.exe or HCgui_018.exe version? EDIT2: Found out about HCEnc... ;) Still need to know about the script though. |
Quote:
And DO NOT perform any resize. DVD-RB can't handle other thing than 720*576(480), that is the original DVD-size. I suggest you to add a "addborder(16,16,16,16) as last line to reduce the picture area (only if you watch the DVD on a TV, not on a plasma screen on LCD display). Quote:
Note: forget the 1-pass mode, DVD-RB do not handle custom matrix in such modes, whatever the encoder you use. Use the regular 2-pass mode. |
So this is what I put in the filter editor in DVD-RB?
Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\LimitedSupport_09Jan06B.dll") |
You don't have to add any "Loadplugin" or "import" line if what you want to load (or import) is already in the directory "C:\Program Files\AviSynth 2.5\plugins". Everything that is in this directory is loaded automatically by avisynth, so you can remove all that lines.
Concerning the blindPP line : personally I do not add it because it is not recommended to use it on a MPEG2 source by the author of the DGDecode.dll. It's sad that DVD-RB does not allow to add it automatically in the "MPEG2Source" line. |
Quote:
|
Quote:
|
Uh, use a batch text replacer program :wink:
|
Quote:
|
It's any program that can change text strings inside text files. I use idct=6 so I substitute idct=6 with idct=6,cpu=4 in every avs file in the Rebuilder-created d2vavs folder.
I use the one attached in this post : http://forum.doom9.org/showthread.ph...500#post762500 |
Thanks a lot! :)
One more question: What is idct? :oops: |
Quote:
idct is, among other things, the name of a parameter of mpeg2source. It corresponds to the algorythm you want to use to perform the inverse discrete cosine transform (idct) during mpeg2 decoding. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.