Log in

View Full Version : MeGUI DirectShowSource Error


MixMasters
27th May 2010, 13:57
I don't know but i keep getting this error and can't find right solution to fix it.

System Specs

Intel Core 2 Quad 2.40GHz
4 GB RAM
Windows Server 2003 Standard Edition x86


Error Log

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.0
--[NoImage] OS : Windows Server 2003 Standard Edition x86 SP2 (5.2.131072.3790)
--[NoImage] Latest .Net Framework installed : 3.5 (3.5.30729.01)
--[NoImage] Avisynth Version : 2.5.8.5
-[Error] Log for job3 (video, VTS_02_1.avs -> )
--[Information] [5/27/2010 2:49:42 PM] Started handling job
--[Information] [5/27/2010 2:49:42 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 737 --stats "D:\DVD9\VIDEO_TS\VTS_02_1.stats" --thread-input --trellis 0 --profile high --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000 --vbv-bufsize 14500 --sar 1:1 --output NUL "D:\DVD9\VIDEO_TS\VTS_02_1.avs"
--[Information] [5/27/2010 2:49:54 PM] Encoding started
--[Error] An error occurred: avs [error]: DirectShowSource: Could not open as video or audio.
--[Error] An error occurred: x264 [error]: could not open input file `D:\DVD9\VIDEO_TS\VTS_02_1.avs'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] Video returned: "DirectShowSource: couldn't create filter graph:
---[NoImage] CoInitialize has not been called. "
---[NoImage] Audio returned: "DirectShowSource: couldn't create filter graph:
---[NoImage] CoInitialize has not been called. "
---[NoImage] (D:\DVD9\VIDEO_TS\VTS_02_1.avs, line 11)
--[Information] [5/27/2010 2:49:57 PM] Job completed


I've installed CCCP but no use, I can't figure out the cause of the error :confused:

Guest
27th May 2010, 13:58
Post your Avisynth script.

MixMasters
27th May 2010, 14:34
LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\DVD9\VIDEO_TS\VTS_02_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 16, 56, -12, -62)
Import("C:\AVSP\Avsi\LimitedSharpenFaster.avs")
Undot()
LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,Smode=4,overshoot=3,special=true,strength=75)
vid=ChangeFPS(23.976)
aud=DirectShowSource("D:\DVD9\VIDEO_TS\VTS_02_1 T80 3_2ch 448Kbps DELAY -49ms.ac3", FPS=23.976, convertfps=true).DelayAudio(-0.049)
LanczosResize(640, 272)

Guest
27th May 2010, 15:03
There's one obvious error. You haven't dubbed the audio and video together and returned the result.

I would also use NicAudio rather than DirectShowSource for the audio. If you must use DirectShowSource() add video=false.

Finally, you should post an unprocessed source sample so we can see if your frame rate changing is really the best thing to do here.

Something like this:

DGDecode_mpeg2source("D:\DVD9\VIDEO_TS\VTS_02_1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, threads=0)
crop( 16, 56, -12, -62)
Undot()
LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,Smode=4,overshoot=3,special=true,strength=75)
vid=LanczosResize(640, 272)
aud=NicAC3Source("D:\DVD9\VIDEO_TS\VTS_02_1 T80 3_2ch 448Kbps DELAY -49ms.ac3", 2).DelayAudio(-0.049)
AudioDub(vid,aud)

I left out the frame rate conversion. Need to see a sample to know if it is a good idea.

MixMasters
27th May 2010, 15:34
I just edited the script as you told it works fine in x264 now i can't get it done in xvid

here this is the error what i got

C:\>cd "C:\Program Files\MeGUI\tools\xvid_encraw\"

C:\Program Files\MeGUI\tools\xvid_encraw>xvid_encraw -i "D:\DVD9\VIDEO_TS\Script.avs" -pass1 "D:\VIDEO_TS\Script.stats" -bitrate 737 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10 -chigh 30 -clow 15 -overhead 0 -vbvmax 4 854000 -vbvsize 3145728 -vbvpeak 2359296 -turbo -max_key_interval 250 -vhqmode 4 -imin 1 -pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 1:1 -threads 1
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003


Trying to retrieve width and height from input header
xvid [info]: Avisynth detected

C:\Program Files\MeGUI\tools\xvid_encraw>


Now what's this?

I've attached the script for reference

Guest
27th May 2010, 15:44
You need to post in the xvid_encraw thread. I know nothing about that app and it is off topic for this thread you created.