View Full Version : MeGui problem
milldakill
1st August 2005, 02:39
Right after I use the AViSynth script creator the preview window that comes up is black and only says there are 239 frames. I installed the Helix YV12 codec as suggested in the MeGUI thread and I am still having this problem. Any help would be appreciated.
Sirber
1st August 2005, 03:19
Can you post your AVS?
milldakill
1st August 2005, 03:22
Can you post your AVS?
mpeg2source("E:\PERSONA\VIDEO_TS\VTS_01_1.d2v")
crop(2,0,-2,-2)
LanczosResize(640,480)
berrinam
1st August 2005, 06:48
I think it must be the d2v file that is causing the problem. Does it have the correct number of frames indexed in it? Normally, you would expect the size of the d2v file to be around 400KB per hour of video (very approximately). If you find that it is only a few KB big, then it doesn't have the right number of frames, and you will have to run dgindex again.
milldakill
1st August 2005, 07:33
I think it must be the d2v file that is causing the problem. Does it have the correct number of frames indexed in it? Normally, you would expect the size of the d2v file to be around 400KB per hour of video (very approximately). If you find that it is only a few KB big, then it doesn't have the right number of frames, and you will have to run dgindex again.
I think the d2v file is fine (the files size looks good too), when I first load the AVIsynth Script Creator the video comes up fine, and I can crop it and what not, but as soon as I save it and MEgui tries to load the video with the avisynth script I get the black screen.
I just tried MEgui with this script...
LoadPlugin("E:\DVD Stuff\MeGUI\DGDecode.dll")
mpeg2source("E:\PERSONA\VIDEO_TS\VTS_01_1.d2v")
crop(2,0,-2,-2)
LanczosResize(640,480)
and I did not get a black screen preview problem. The encoding looked like it was going to work but it had an error at the start of the second pass. I forgot to copy the log before I quit.
berrinam
1st August 2005, 08:15
I just tried MEgui with this script...
LoadPlugin("E:\DVD Stuff\MeGUI\DGDecode.dll")
mpeg2source("E:\PERSONA\VIDEO_TS\VTS_01_1.d2v")
crop(2,0,-2,-2)
LanczosResize(640,480)
and I did not get a black screen preview problem.Well, the problem most likely is that dgdecode.dll wasn't in your avisynth plugins folder (go to start menu->programs->avisynth->plugins).
Doom9
1st August 2005, 10:46
If there is a problem with an AviSynth script, if you play it in a media player or open it in VirtualDub you'll get a 240 frame video with a red error message on a black screen. For some wicked reason, in such a case, my AVI reader reports a smaller frame size so only the black part of the window is shown, and not the error message. But, if you have a rather wide and not very high black preview window, then the AviSynth script is to be blamed and you can figure out the exact error message by opening the AviSynth script in a media player.
yaz
1st August 2005, 12:00
@milldakill
try to run the script in a player or in vd(m). this way u can prove that everything's ok on the avs side. build and check the script line by line if the source of error is not evident.
anyway, my 1% is crop() here
- using non-mod-4 cropping is always risky. using mod-4 values was advised a time ago (2.54 or around) and i don't know how it goes recently (so i still keep it)
- cropping to non-mod-8 may drive some yv12 decoder (say, xvid) crazy which may lead to quite funny output (if any).
btw, why to use crop ? imho, cropping by 2 is useless. try wout it.
the bests
y
Backflip
1st August 2005, 13:06
I thought I was the only one, but I'm getting the same problem. I've probably installed a bad version of one of the needed program files, probably. I think this might be the problem:
Well, the problem most likely is that dgdecode.dll wasn't in your avisynth plugins folder (go to start menu->programs->avisynth->plugins).
I'm gonna try that out, thanks :)
milldakill
13th August 2005, 01:11
I opened the script in media player classic and it says
"Script error: there is no function named ''mpeg2source'' "
Backflip
13th August 2005, 01:29
I get that error message too.
edit - nope, sorry, it looks like it's working now (just decided to give it a try again). Sweet :)
milldakill
17th August 2005, 00:47
I get that error message too.
edit - nope, sorry, it looks like it's working now (just decided to give it a try again). Sweet :)
damn you! lol
milldakill
23rd August 2005, 21:24
anyone?
Peter1234
23rd August 2005, 22:27
milldakill:
Try adding MPEG2Dec3.dll which is normally called by mpeg2source
Doom9
23rd August 2005, 22:54
@"Script error: there is no function named ''mpeg2source'' ": are you absolutely positively sure you followed the manual? specifically, where is your dgdecode.dll located? hint: There should be at least two copies at very specific locations.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.