I hate to sound like a whinger but can somebody PLLLEAASE help understand how to frameserve with the vdub filters ......aarrgghhh I have been mucking around with the script for about 2 hrs I am a newbie to avisynth but have been encoding capping and what not for sometime and have tried to aviod learning avisynth but as my knowledge has progressed the need for avisynth is apparent and it seems the weapon of choice for efficient and effective encodes
When I open or encode the generated AVS the picture is fine ...but no filter. I have tried the logo filter the unsharp filter but nothing...aarrgt HELP me
AVS file to be framesevered looks like this
import("C:\temp tracks\games\avisynth-1.0-beta3\vdfilters.avs")
AVISource("C:\temp tracks\movie\maurice.avi")
My vdfilters import script looks like this: I got this from the avisyth1.0 beta download and thought it might help...nothing happens...the setting I use should give a grainy picture with the white spacing between pixels .....
################################################## ###########
# This file provides convenient Avisynth interfaces to #
# various VirtualDub plugins. Load it in your script with: #
# #
# Import("vdfilters.avs") #
################################################## ###########
################################################## ######
# Change VirtualDub_plugin_directory below to point to #
# the directory containing your VirtualDub plugins. #
################################################## ######
global VirtualDub_plugin_directory = "c:\temp tracks\games\VirtualDub-1.4.13-MPEG2-AC3"
################################
# Unsharp Mask by Donald Graft #
################################
function VD_UnsharpMask(clip clip, int "diameter", int "strength", int "threshold",
\ bool "interlaced", int "mask_top", int "mask_bottom",
\ int "mask_left", int "mask_right")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \unsharp.vdf", "_VD_UnsharpMask", 1)
return clip._VD_UnsharpMask(default(diameter,5), default(strength,160),
\ default(threshold,30), default(mask_left,0), default(mask_right,0),
\ default(mask_bottom,0), default(mask_top,0), default(interlaced,false)?1:0)
}
+ Reply to Thread
Results 1 to 7 of 7
-
How long could we maintain? I wondered. How long until one of us starts raving and jabbering at this boy? What will he think then?
If you like Tekno download one of my tracks
www.users.bigpond.net.au/thefox149 -
I have read around and I think this is right (although it's not workin)
File that is being frameserved
import("C:\vdub6.avs")
AVISource("C:\temp tracks\movie\mauricetestfile.avi")
ConvertToRGB32()
VD_UnsharpMask(1,5,160,30,0,0,0,0,false)
ConvertToYUY2()
the import file looks like this
################################################## ###########
# This file provides convenient Avisynth interfaces to #
# various VirtualDub plugins. Load it in your script with: #
# #
# Import("vdub_filters.avs") #
# #
# This file contains all the filters in the LabDV-package #
# plus some extra filters. #
# #
# Version 1.5, 10-06-2002; #
# sent remarks to w.j.dijkhof@tue.nl #
################################################## ###########
################################################## ######
# Change VirtualDub_plugin_directory below to point to #
# the directory containing your VirtualDub plugins. #
################################################## ######
global VirtualDub_plugin_directory = "c:\temp tracks\games\VirtualDub-1.4.13-MPEG2-AC3\plugins"
################################
# Unsharp Mask by Donald Graft #
################################
function VD_UnsharpMask(clip clip, int "diameter", int "strength", int "threshold",
\ bool "interlaced", int "mask_top", int "mask_bottom", int "mask_left", int "mask_right")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \unsharp.vdf", "_VD_UnsharpMask", 1)
return clip._VD_UnsharpMask(default(diameter,5), default(strength,160),
\ default(threshold,30), default(mask_left,0), default(mask_right,0),
\ default(mask_bottom,0), default(mask_top,0), default(interlaced,false)?1:0)
It won't load i keep getting script errors......very fustrating...
Help meHow long could we maintain? I wondered. How long until one of us starts raving and jabbering at this boy? What will he think then?
If you like Tekno download one of my tracks
www.users.bigpond.net.au/thefox149 -
There are two problems here.
Firstly there are too many values, you don't need the '1' at the start? you should only have (diameter, strength, threshold, top, bottom, left, right, interlace) - in your example this will be (5,160,30,0,0,0,0,false) which incidently are pretty harsh but you'll see that when you get it working.
Secondly it's just unfortunate that you chose this particular filter to trial - there is an error in the import file.
This part ...
function VD_UnsharpMask(clip clip, int "diameter", int "strength", int "threshold",
\ bool "interlaced", int "mask_top", int "mask_bottom", int "mask_left", int "mask_right")
{
function VD_UnsharpMask(clip clip, int "diameter", int "strength", int "threshold",
\ int "mask_top", int "mask_bottom", int "mask_left", int "mask_right", bool "interlaced")
{
I have tested these corrections and they work fine. -
I used harsh setting for practise ..so that I could see the effect of what I was trying to do....than you so much I was going insane I will let you know how I go as my other machine is encoding at the moment and this one isn't set up for it.....
How long could we maintain? I wondered. How long until one of us starts raving and jabbering at this boy? What will he think then?
If you like Tekno download one of my tracks
www.users.bigpond.net.au/thefox149 -
Put your plugins into the Avisynth2\plugins subdirectory.
Maybe it depends on the used versions, but here (Avisynth 2.08 + Unsharp 1.3) the "interlace" parameter is the 5th one.
old = AVISource("h:\test.avi")
new = VD_UnsharpMask( old, 5, 150, 0, false, 0, 0, 0, 0,)
# new = compare(old, new) # optional for test purposes
# Return StackHorizontal(old, new) # optional for test purposes
Return new
There is also an Avisynth plugin, that you may want to try, warpsharp.dll.
old = AVISource("h:\test.avi")#.ConvertToYUY2
new = UnsharpMask(old,strength=64, radius=3, threshold=10)
# new = compare(old, new) # optional for test purposes
# Return StackHorizontal(old, new) # optional for test purposes
Return new
#Description of the function
# 1.Calculate the value that blur of luminance.
# 2.From the subtraction of the luminance and value of "Description of
# the function 1.", calculate ingredient of the blur.
# 3.From coefficient(strength) and ingredient of the blur, adds to luminance.
#Description of the value
#strength : strength
#radius : Range of blur process
#threshold : threshold
#Only the case is processed that absolute value of "ingredient of the blur" #is larger than threshold. -
Check out http://nickyguides.digital-digest.com/synth-vdub.htm. It is a decent guide to using avisynth scripts.
-
thanks bunyip!!!! You have saved me from acquiring more grey hairs and to everybody else for helping
How long could we maintain? I wondered. How long until one of us starts raving and jabbering at this boy? What will he think then?
If you like Tekno download one of my tracks
www.users.bigpond.net.au/thefox149
Similar Threads
-
VHS to DVD Restoration. Best AviSynth scripts?
By VideoFanatic in forum RestorationReplies: 47Last Post: 25th Oct 2011, 06:34 -
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
I need some help on writing H.264 AVISynth scripts
By rocky12 in forum Newbie / General discussionsReplies: 46Last Post: 6th Dec 2008, 13:40 -
aviSynth + CCE Basic (2.7) fails on certain scripts
By binister in forum Video ConversionReplies: 6Last Post: 11th May 2008, 00:23 -
Avisynth scripts and VDubMOD filters
By GangstaRap in forum Newbie / General discussionsReplies: 2Last Post: 13th May 2007, 11:39