VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Jul 2008
    Location
    Sweden
    Search Comp PM
    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?
    Quote Quote  
  2. 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?
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    Sweden
    Search Comp PM
    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.
    Quote Quote  
  4. Hm, no idea, a guy told me to run that way with the dgavcdecode and directshowsource.
    You let other people do your thinking for you? If making a DGA file with DGAVCIndex (the only possible reason for loading the DGAVCDecode.dll"), you then use AVCSource, not DirectShowSource. Read the included QuickStart Guide for some accurate information.
    Quote Quote  
  5. Member
    Join Date
    Jul 2008
    Location
    Sweden
    Search Comp PM
    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
    Quote Quote  
  6. You need to post the full text of both scripts.
    Quote Quote  
  7. Member
    Join Date
    Jul 2008
    Location
    Sweden
    Search Comp PM
    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)
    Quote Quote  
  8. 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.
    Quote Quote  
  9. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    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"
    Quote Quote  
  10. 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
    Doesnt matter who does my thinking, this worked before but cant get it to work on my computer.
    No, it didn't work before, not if you did it the same way.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!