PDA

View Full Version : Loading a d2v with DGDecode_MPEG2Source() over a network share


UsedUser
17th October 2008, 08:28
I'm trying to use an avs file on a local drive to access a d2v file on a network share using DGDecode_MPEG2Source().

D:\test.avs resides on a local drive.

U:\test.d2v and U:\test.ts reside on a mapped drive of a network share (i.e., U: = \\192.168.0.2\C$\).


DGDecode_mpeg2source("U:\test.d2v")
#deinterlace
#crop
#resize
#denoise


I am trying to load the script in MeGUI. I get the following error:


AviSynth script error:
MPEG2Source: Could not open one of the input files.
(D:\test.avs, line 1)


What am I doing wrong?

I have also tried using UNC paths, and tried storing the avs script on the remote machine.

dragon25
17th October 2008, 08:34
so your tryign to access this via the network on another system?

if so you need the full path to the file , ie network adress with full hard drive and file name.

\\your pc n the network\hard drive\file

plus i believe just the mpeg2source will do with d2v

if you still get error sayign mpeg2source is not compatable...well it is but you need to install such things like klite codec pack and then reboot for it to take effect.

UsedUser
17th October 2008, 09:42
I am including the full network path to the file.

"U:\test.d2v" is equivalent to "\\192.168.0.2\C$\test.d2v".

I tried them both, and both produced the same error. MPEG2Source() works for local files, so it doesn't seem to have anything to do with installed codecs, other than network compatibility.


MeGUI made the AVS file, using DGDecode_mpeg2source("network\path\to\test.d2v").

I also tried just mpeg2source("network\path\to\test.d2v")

and

LoadPlugin("local\path\to\DGDecode.dll")
mpeg2source("network\path\to\test.d2v").

stickboy
17th October 2008, 09:58
Open the .d2v file in a text editor. Does it store absolute paths or relative paths? If absolute, you'll need to fix them.

UsedUser
17th October 2008, 23:37
Open the .d2v file in a text editor. Does it store absolute paths or relative paths? If absolute, you'll need to fix them.
Bingo! Right on, thanks.