View Full Version : Frameserver from VirtualDub 2 MeGUI
BlockABoots
8th January 2013, 16:52
I am using VirtualDub to edit some gameplay captures, i have edited the capture to my like and want to encode in within MeGUI. I have started the frameserver within VirtualDub and save the file as test1.vdr, i then open this .vdr file in AvsPmod and change the line of code from, DirectShowSource("E:\f-test1.vdr") to AviSource("E:\test1.vdr") and save the file as test1.avs (this is the only line in the avs script there is nothing else). I then load another instance of VirtualDub and drag either of the test1.vdr or test1.avs files both show the video in VirtualDub. Finally i load MeGUI and drag the test1.avs file into the 'AviSynth Script' box and MeGUI gives me the following error message...
AviSynth script error:
AviSource:Could not locate video stream,
(E:\test2.avs, line 1)
I cannot work out at all why this isnt working, can anyone help at all?
Overdrive80
8th January 2013, 17:52
Why not try load video directly captured video in megui???
DirectShowSource("E:\f-test1.avi,mpg....")
BlockABoots
8th January 2013, 18:08
What so instead of saving the frameserver file as .vdr save it as .avi?
if i do that and try and drag the test1.avi file to MeGUI, it gives me this message...
The file E:\test1.vdr cannot be opened.
Please make sure its avalid AviSynth script and that AviSynth is properly installed.
You can check the validity of your script and AviSynth installtion by opening the file in your favorite player.
If That works, try opening the video in VirtualDub(Mod) as well. If the former works and the latter doesnt, install a YV12 codec. Error message for your reference: Cant read the video stream.
And as said in my first post that the files open up fine if i drag them to VirtualDub, so i dont think its the script thats the problem??
That said i have just grabbed a raw capture file (no editing done at all) and dragged that to AvsPmod and just save it as an avs file, then dragged that avs file in MeGUI and it loads that avs file fine!!. So it must be something to do with VirtualDubs frameserver???
StainlessS
8th January 2013, 18:30
What so instead of saving the frameserver file as .vdr save it as .avi?
Yes, that would do it. Perhaps tryout the lossless UT Video codec YUV420 (YV12) to compress. MeGUI will expect YV12 clip (or you feed avi into avs and ConvertToYV12() and feed that into MeGUI.
I'm guessing that MeGUI is trying to scan with various tools eg MediaInfo, and one of them is failing when trying to read contents of vdr as a file. (It would do the same in an avs, trying to read the source vdr as a file, eg the arg to AviSource).
MeGUI thread may be able to better answer that question.
EDIT: No dont save the frameserver vdr as an avi, save an AVI as an AVI.
EDIT: Dont think many people use VD frameserver capability, I have not used it for maybe 8-10 years.
Overdrive80
8th January 2013, 19:23
What so instead of saving the frameserver file as .vdr save it as .avi?
Yes, you should install lossless codec as lagarith. Then you load you video in vdub, go to "Video--> Compression... Lagarith", and "Video-->Fast compression". Then save as avi... You are already for editing video in any editor, f.e. megui.
BlockABoots
8th January 2013, 19:54
I'm guessing that MeGUI is trying to scan with various tools eg MediaInfo, and one of them is failing when trying to read contents of vdr as a file. (It would do the same in an avs, trying to read the source vdr as a file, eg the arg to AviSource)..
Well as i said above, that i took an avi file fresh from being captured and dragged that into AvsPmod and save it as an avs file (no script editing or anything) and then dragged that into MeGUI and it accepted the file fine no errors or anything.
EDIT: No dont save the frameserver vdr as an avi, save an AVI as an AVI.
Well when i loadup frameserver in VirtualDub it asks me to save the file as either an vdr or avi.
A bit more information, i tried to get this to work on my laptop PC, which hasnt had any video editing software or codecs installed before. I downloaded:
VirtualDub
AviSynth
AvsPmod
x264vfw codec
MeGui
and installed all the above program. I then copied over one of the capture videos to my laptop and did the following..
Loaded capture clip into VirtualDub
Loaded VirtualDub's Frameserver
Save frameserver file as 'test.vdr' in root of C Drive
Loaded c:\test.vdr in AvsPmod
Change DirectShowSource("C:\test.vdr") to AviSource("C:\test.vdr") and saved as 'test.avs'
But usually on my main PC the avs file would load fine in VirtualDub and play the video but on my laptop when l loaded the test.avs file into VirtualDub i get an error message..
AviSynth open failure:
AviSource: Couldn't open file 'C:\test.vdr'
(C:\test.avs, line 1)
Now im not sure why when i did the above it opened up fine in VirtualDub on my main PC but doesnt on my Laptop???
StainlessS
9th January 2013, 02:02
Perhaps an RGB to YUV problem, see this solution (read the thread), used to be a major problem a few years back.
http://forum.doom9.org/showthread.php?p=1605174#post1605174
Revgen
9th January 2013, 07:47
Download VCF2AVS here. http://forum.doom9.org/showthread.php?t=106294
1) Edit your video with VirtualDub.
2) Go to File-->Save Processing Settings
3) When you get to the "Save Configuration" window, check the box that says "Include Selection and Edit List". Save the .vcf file.
4) Open VCF2AVS, select your .vcf file, and create an avs script file with all the Trim() commands necessary to cut your video in avisynth. Add your video source to the top of the script and you're ready to encode.
BlockABoots
9th January 2013, 18:10
Download VCF2AVS here. http://forum.doom9.org/showthread.php?t=106294
1) Edit your video with VirtualDub.
2) Go to File-->Save Processing Settings
3) When you get to the "Save Configuration" window, check the box that says "Include Selection and Edit List". Save the .vcf file.
4) Open VCF2AVS, select your .vcf file, and create an avs script file with all the Trim() commands necessary to cut your video in avisynth. Add your video source to the top of the script and you're ready to encode.
Thank you my man, that did the trick!!!. On a side note VD's frameserve and Ripbot264 work fine together, i was able to use the frameserve from VD and and then load the vdr file into AvsPmod and save as an .avs and then load into RipBot264 without any errors at all. So i guess the problem lies with MeGUI, but the vcf2avs prog works well!
bxyhxyh
13th November 2016, 17:26
Old thread but It happened to me today.
Just disabling "improved AVS opening" solved the problem for me.
Might be useful for future victims of this lol.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.