Hello, here is how my avs script looks like :
loadplugin("C:\Documents and Settings\Administratör\Skrivbord\DGAVCiNDEX\DGAVCDecode.dll")
directshowsource("C:\Recorded\file_cutts", fps=50)
selecteven()
( I have AviSynth 2.5.7 )
When i open it in Gordian Knot
Avisynth open failure :
Evaluate: System exception - Access violation
(C:\Recorded\hdtv.avs), line 18.
And on line 18 it says :
# SOURCE
avisource("C:\Recorded\hdtv.avs")
What can i do to solve this?![]()
+ Reply to Thread
Results 1 to 10 of 10
-
-
Why are you loading DgAvcDecode and then using DirectShowSource()?
Is there really no extension on file_cutts?
Your script only shows 3 lines. How are you getting an error on line 18?
And why is an AVS script being opened with AviSource() on the alleged line 18? -
yea the extension is .ts, forgot to put it there.
I open that .avs file in Gordian Knot, loading settings etc, and then create a new avs file for all the options for cutting and so on.
and then when i press Encode Now that error pops up.
Hm, no idea, a guy told me to run that way with the dgavcdecode and directshowsource. -
Hm, no idea, a guy told me to run that way with the dgavcdecode and directshowsource.
-
Doesnt matter who does my thinking, this worked before but cant get it to work on my computer.
here is a printscreen of what happens with the avs file posted.
http://i38.tinypic.com/vy4d35.jpg -
The script i load in gordian knot to start the encode and to move further to save the second avs script :
loadplugin("C:\Documents and Settings\Administratör\Skrivbord\DGAVCiNDEX\DGAVCDecode.dll")
DirectShowSource("C:\Recorded\Olssons.studio_cut.t s", fps=50)
selecteven()
the script that is saved for the encodes sake :
# Created with Gordian Knot
#
# http://gknot.doom9.org
# PLUGINS
LoadPlugin("C:\Program\GORDIA~1\DGMPGDec\DGDecode.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\d ecomb.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\K ernelDeInt.dll")
LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\Un Dot.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\d gbob.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\C onvolution3d.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\F luxSmooth.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\T omsMoComp.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\S impleResize.dll")
# SOURCE
avisource("C:\Recorded\hdtv.avs")
# TRIM
#trim(startframe,endframe)
# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=0)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
# CROPPING
crop(10,10,1260,700)
# SUBTITLES
#VobSub("FileName")
# RESIZING
LanczosResize(640,352)
# DENOISING: choose one combination (or none)
Undot()
# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmoothST(5,7)
# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmoothST(7,7)
# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmoothST(10,15)
# BORDERS
#AddBorders(left,top,right,bottom)
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
# FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty) -
Can you load the first script directly with VirtualDub?
As was pointed out earlier, there is no point in loading DgAvcDecode if you are going to use DirectShowSource(). DgAvcDecode.dll is only needed for AvcSource(). DirectShowSource() will only work if you have DirectShow file splitters and decoders for the TS container.
So your first script should read:
DirectShowSource("C:\Recorded\Olssons.studio_cut.t s", fps=50)
selecteven()
Or (note the DGA extension):
loadplugin("C:\Documents and Settings\Administratör\Skrivbord\DGAVCiNDEX\DGAVCDecode.dll")
AvcSource("C:\Recorded\Olssons.studio_cut.DGA")
selecteven()
AvcSource() doesn't support an FPS argument. And you have to have run DgAvcIndex to produce the DGA file. -
indeed, how about just not using gk.
in any case,
just edit the final avs you're to use:
Code:LoadPlugin("C:\Program\GORDIA~1\AviSynthPlugins\UnDot.dll") DirectShowSource("C:\Recorded\Olssons.studio_cut.ts", fps=50) selecteven() # CROPPING crop(10,10,1260,700) # RESIZING LanczosResize(640,352) # DENOISING: choose one combination (or none) Undot()
"I'll give you five dollars if you let me throw a rock at you" -
Yeah, I don't understand the use of GKnot for this, either. However, the problem with the GKnot generated .avs is this:
# SOURCE
avisource("C:\Recorded\hdtv.avs")
If you change the AVISource line to:
Import("C:\Recorded\hdtv.avs")
then it should work. But since you're going about this all wrong, I'd suggest starting over with DGAVCIndex and using the DGAVCDecode.dll together with AVCSource and stop using DirectShowSource.
Originally Posted by vck
Similar Threads
-
How to encode using H x264 in Virtual dub
By cyberlion in forum EditingReplies: 21Last Post: 1st Sep 2011, 23:45 -
How do I get the exact file size I want with Virtual Dub ?
By Simmons in forum Video ConversionReplies: 3Last Post: 21st Jul 2011, 01:32 -
Virtual Dub delogo output file help
By Rogert in forum Newbie / General discussionsReplies: 3Last Post: 7th Jun 2011, 12:25 -
Virtual Dub problem
By rocka in forum EditingReplies: 3Last Post: 2nd Jan 2009, 03:46 -
how to batch file in virtual dub?
By warlock110 in forum Video ConversionReplies: 2Last Post: 17th May 2007, 00:56