Log in

View Full Version : help DGMPGDec DGdecode not working, new to avisynth which appears to be working.


xekon
24th September 2011, 08:31
I am using Avisynth for the first time. I have been using HandbrakeCLI for a long while now with bash scripts that Ive written.

With Avisynth installed and CCCP, I am able to use avisynth with an mkv from bluray source encoded using x264:

Here is the script I used to test my AviSynth installation

work.avs (This works, The hali media spliter and ffdshow load into the task tray. and I have video and audio)
DirectShowSource("E:\video\BD 1080p\copout.mkv")

First, let me say that I am trying to use AviSynth to remove the pulldown from an episode which has a pulldown error: http://forum.doom9.org/showthread.php?t=162611
DGMPGDec DGdecode was the only way that I found to get the DVD video accessible by avisynth, if there is another way to get my dvd video readable then please let me know(without re-encoding/ loosing quality)

I have simplified my script to the bare necessities and it still does not play.

I cannot get this simple script using DGdecode to work, any tips suggesions? is there a way I can troubleshoot this?
loadplugin("E:\avisynth\plugins\DGDecode.dll")
mpeg2source("E:\DBZ1_4\VIDEO_TS\VTS_01_1.d2v")
VTS_01_1.d2v was created using DGIndex.exe, in DGIndex.exe I loaded the two .Vob files that had the episode im trying to encode and then saved the project which gave me the .d2v file.

Windows media player says it encountered a problem and vlc does not even try and play the file, and media player classic gives me this:

http://sites.google.com/site/jakejsite/help2.jpg

mastrboy
24th September 2011, 11:40
If your not using it already get AvsPmod for script editing/previewing: http://forum.doom9.org/showthread.php?t=153248

If you want to preview it in MPC-HC, that error you are receiving can usually be solved with a colorspace conversion: ConvertToRGB() (Just remember to remove it before running the encode)

Guest
24th September 2011, 13:53
You're not making any sense. You say you have a problem with DGDecode() but then you show an error for a script (work.avs) that uses DirectShow(). And opening your second script cannot cause a DirectShow error like that. So I conclude that you are either confused or have explained your issue badly. Please clarify.

xekon
24th September 2011, 20:23
WOW! Thanks guys!!!

That error that I posted above from media player classic would pop up when I tried to run:

loadplugin("E:\avisynth\plugins\DGDecode.dll")
mpeg2source("E:\DBZ1_4\VIDEO_TS\VTS_01_1.d2v")
Also it would not play in Windows Media Player or VLC.

Adding that last line did the trick! I am now able to play the file in Media Player classic OR Windows media Player. I had no idea what I could possibly be doing wrong, but I am very new to this.
loadplugin("E:\avisynth\plugins\DGDecode.dll")
mpeg2source("E:\DBZ1_4\VIDEO_TS\VTS_01_1.d2v")
ConvertToRGB()

neuron2, is it really using directshow? Am I not writing my .avs correctly? mpeg2source() is a DGDecode function right?