Log in

View Full Version : Cannot Open Video Input


San07
1st July 2008, 21:24
In Megui >> TOOLS >> AVISynth Script Creator when i click preview it shows this.

http://i187.photobucket.com/albums/x20/srini07/Error1.jpg



Iam trying to create DVD To H264.:)






Mods Plz Move to the Right Sec.:thanks:

Sharktooth
1st July 2008, 21:31
open the avs in a player.
if it doesnt work then you miss something.
also, what's your OS? is it 32 or 64 bit? what megui version? etc...

Guest
1st July 2008, 21:34
Looks like a syntax error in your script. Post it in its entirety.

San07
1st July 2008, 23:29
Windows Xp SP2 (32-Bit)

megui-0_3_0_1013

http://i187.photobucket.com/albums/x20/srini07/Error.jpg


LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\degrainmedian.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\vaguedenoiser_25_dll_20050926\VagueDenoiser.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\removegrain_25_dll_20050501\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")

# Set DAR in encoder to 23 : 9. The following line is for automatic signalling
global MeGUI_darx = 23
global MeGUI_dary = 9
DGDecode_mpeg2source("G:\Ripped Mov\ATM\VIDEO_TS\VTS_02_1.d2v")
#deinterlace
crop( 12, 66, -14, -84)

LanczosResize(720,336) # Lanczos (Sharp)
Undot() # Minimal Noise

import("C:\Program Files\AviSynth 2.5\plugins\Scripts\SeeSaw.avs")


a= last
b=a.degrainmedian(mode=2).VagueDenoiser()
SeeSaw(a,b, NRlimit=6, NRlimit2=7, Sstr=1.5, Slimit=8, Spower=5, Sdamplo=6, Szp=16)

tweak(cont=1.5,bright=0,sat=1.1,hue=1)


My Source is DVD9,Aspect Ratio = 16:9

I want to make a H264/AVC/AAC. MP4 in 2CD.:) (I have done H264 before thrice doing it after a long time what am i doing wrong ?):confused:

Sharktooth
2nd July 2008, 03:24
what exactly happens? does megui crash? what's the error message? have you tried saving a basic script?

San07
2nd July 2008, 04:14
what exactly happens? does megui crash? what's the error message? have you tried saving a basic script?

what exactly happens?

When i try to Press Preview AVS Script or save avs file it shows Cannot Open Video Input.

does megui crash?

Megui is not crashing

what's the error message?

Cannot Open Video Input.

http://i187.photobucket.com/albums/x20/srini07/Error1.jpg

have you tried saving a basic script?

When i saved the script & opened it in a Player it shows this

http://i187.photobucket.com/albums/x20/srini07/Error.jpg

The Script i saved is shown before.

Avisynth version : Avisynth_257


Without Plugin's also i couldn't save.

San07
2nd July 2008, 17:13
What am i doing wrong guys.

Guest
2nd July 2008, 17:17
An exception was thrown. Start stripping down your script until you find the culprit.

Inventive Software
2nd July 2008, 17:26
DGDecode.dll is in the plugins directory, yes? There's no need to call DGDecode_MPEG2Source like that, unless for some crazy reason there's more than one MPEG-2 decoder in the directory, so just use MPEG2Source. Make sure the name between " " is fully correct. :)

San07
2nd July 2008, 17:57
# Set DAR in encoder to 23 : 9. The following line is for automatic signalling
global MeGUI_darx = 23
global MeGUI_dary = 9
mpeg2source("G:\Ripped Mov\ATM\VIDEO_TS\VTS_02_1.d2v")
#deinterlace
crop( 12, 66, -14, -84)


I couldn't even save or Preview this script.:confused:

San07
2nd July 2008, 18:06
Same Error cannot open Video Input.

stax76
2nd July 2008, 18:25
Add 'return last' directly under the source filter, if it don't work, clean your AviSynth plugin directory, if it works move 'return last' down the the code until it breaks.

Guest
2nd July 2008, 20:06
Show us the top section of your D2V file.

Make a script with just the MPEG2Source() line. What happens?

San07
2nd July 2008, 20:20
Add 'return last' directly under the source filter, if it don't work, clean your AviSynth plugin directory, if it works move 'return last' down the the code until it breaks.

Wow I uninstalled Megui & Avisynth 2.5.7 & deleted the Avisynth directory in Program files & installed Avisynth 2.5.7 freshly & installed Megui also freshly & updated all files.

Actually i did this before several times it didn't work at that time any how It works now perfectly.




Thank's a million guys.

~bT~
4th July 2008, 17:40
^ too many plugins? last time that hapnd to me, removed a few unnecessary plugins and it was all good.

San07
18th July 2008, 20:31
^ too many plugins? last time that hapnd to me, removed a few unnecessary plugins and it was all good.

Is the problem caused because of too many plugins in plugin folder?

Sharktooth
20th July 2008, 03:18
too many, broken or conflicting plugins.

San07
20th July 2008, 17:20
too many, broken or conflicting plugins.

How to find that kind of plugin.