PDA

View Full Version : Could someone help me with an AviSynth script?


Synergy37
21st September 2005, 23:16
Alright so I am going trying to go back to MeGUI after may problems most of which Are from my PC just not working with the program. So now I am going to skip all the built in tools because those make my PC mad. :D . Alright so basically instead of going through the D2V creator and AviSynth creator I am going to make my own scrip.

All right so here is what I am going to start with. I can either use DGIndex and make a D2V or if MeGUI supports it start from a DVD. SO if anyone has a good script that they are willing to share and help me with please post it.

neuron2
22nd September 2005, 01:42
A script to do what?

Blue_MiSfit
22nd September 2005, 04:10
Indeed. Scripts are customized for each individual movie and codec. My scripts are usually very simple, loading a couple of plugins, an mpeg2source(), a spatial or temporal denoiser, and selectrangevery() if i am doing a comp test.

Start with mpeg2source(your d2v), and maybe a basic denoiser like undot() or removegrain(mode=1). Then go from there!

-Misfit

Synergy37
22nd September 2005, 22:30
Alright sorrry I wasn't very clear. I am most likey going to start from a d2v source. This means I need to load the DGdecode.dll? I am running the script through MeGUI and it's getting resized. Here is the script i am using right now. I got it from AutoAC. Can someone make it a little easier for me so I can just plug in the root of the d2v and use it for and d2v project?


# AVS Script Made with AutoAC

LoadPlugin("C:\Program Files\AutoAC\Auto AC Apps\dgmpgdec121\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoAC\Auto AC Apps\decomb_25_dll_20040518\decomb521\Decomb521.dll")
Source = Mpeg2Source("C:\Documents and Settings\Owner\Desktop\movie.d2v",idct=7)
If_Interlaced = source.BlindPP(ipp = False).FieldDeinterlace(blend = False)
If_Progressive = source.BlindPP(ipp = False)
clip1 = ConditionalFilter(source, If_Interlaced, source, "IsCombed(source, threshold=20)", "=", "true", Show=False)
clip2 = ConditionalFilter(clip1, If_Progressive, clip1, "IsCombed(source, threshold=20)", "=", "false", Show=False)
clip2 = LanczosResize(clip2,432, 240)
clip2 = crop(clip2,0,30,432,176)
return clip2

neuron2
22nd September 2005, 22:46
Please refer to the QuickStart guide for DGPMPGDec. It gives some minimal scripts for serving video and audio:

http://neuron2.net/dgmpgdec/QuickStart.html