VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    Hi,

    Please help with the scripts.

    I have the scripts that were kindly advised by guns1inger and manono for me to be able to preview the affect of the sharpening scripts like ASharp and LimitedSharpen in splitted screen in virualdubmod. It works with AVIs but I do not know what changes I have to make to the scripts or script to be able to do the same with d2v files.

    I can watch d2v with the following script:

    ASharp,avs
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
    MPEG2Source("E:\WORK-LONG\movie.d2v")
    asharp(2,3,0)

    But the following two that actually split the screen do not work with MPEG2 and I do not know what changes I should make to make them work, I mean to produce the picture from d2v on splitted screen. I tried to change AVISource for MPEG2source but it did not work.

    RestorationScript.avs

    Orig_Clip=AVISource("RestorationScript1.avs",false )
    Rest_Clip=AVISource("ASharp.avs",false)

    # Crop clips for comparison. Clips are cropped to create
    # a single complete frame

    Orig_Clip_Crop=Crop(Orig_Clip,0,0,360,0).AddBorder s(0,0,4,0)
    Rest_Clip_Crop=Crop(Rest_Clip,360,0,0,0)

    # Stack the two halves together to finish up
    StackHorizontal(Orig_Clip_Crop,Rest_Clip_Crop)

    RestorationScript1.avs

    AVIsource ("E:\WORK-LONG\movie.d2v",false)

    Thank you!
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    restoration script1 needs to use mpeg2source instead of avisource
    Read my blog here.
    Quote Quote  
  3. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    And that's it? I tried so many changes in Restoration.avs but never touched Restoration1.avs

    Thank you!
    Quote Quote  
  4. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    guns1inger,

    I changed tp MPEG2 but it does not work. I have the following script (Restoration1.avs):

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
    MPEG2Source("E:\WORK-LONG\Sneakers.d2v")
    asharp(1,3,0)

    But once I try to open it in VDM I receive error message:

    Quote Quote  
  5. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    Unlikely .d2v can be treated as MPEG2Source: once an MPEG2 file is opened in VDubMod it becomes an avi as any output from VDubMod.
    Quote Quote  
  6. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    Thank you.

    But I am not clear - what the script changes should be and should be any?
    Quote Quote  
  7. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    you need to load the plugins for mpeg2 reading.

    Try adding

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll") (adjusting the path as necessary) at the top of the script for both asharp.avs and restorationscript1.avs, then use mpeg2source instead of avisource.
    Read my blog here.
    Quote Quote  
  8. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    I remember I was advised to remove dgdecode.dll from AVIsync plugins folder for some time while we were tuning the script for AVIs. Now I cannot find dgdecode.dll

    I browsed Internet but found lots of mentioning of the file but no doanload anywhere. Any references would be appreciated. Thanks.
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    It's part of the DGIndex package from Donald Graft

    http://neuron2.net/dgmpgdec/dgmpgdec148.zip
    Read my blog here.
    Quote Quote  
  10. And unless you get the DGDecode.dll that comes with the same DGIndex you used to create the D2V, you'll have to make the D2V over again. You can check in the Help Tab->About for your DGIndex version.
    Quote Quote  
  11. Member
    Join Date
    Jun 2006
    Location
    Canada
    Search Comp PM
    Thank you!
    Quote Quote  



Similar Threads

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