Hey !
i wanted to teach my friend how to make a xvid encode ...but when he was gonna use "vfapi" , he got some strange language on it and vfapi could only add *.tpr files ... and i gave him the one i use .... anyone know why this happens ?
is there maybe another way to do it ?
why im using vfapi is to be able to use it in vdub ....
+ Reply to Thread
Results 1 to 19 of 19
-
-
The only time I can recall needing to use VFAPI to input a file to virtualdub is if you have a D2V ffrom DGIndex/DVD2AVI. As it stands, with the creation of virtualdubmod and virtualdub-MPEG2, all you need to do now is rip in IFO mode, outputting to one big VOB and then there's no need to frameserve.
What's the source ?If in doubt, Google it. -
It's very easy to generate an AviSynth .avs file automatically with DGMPEGDec if you set up a template file. You could then just load the .avs file directly in VDub instead of using the .d2v file and vfapi.
Here's the relevant part from the manual -
DGIndex can automatically generate an Avisynth script for serving your project.
Suppose you have a script that you use all the time. Maybe like this:
loadplugin("...\DGDecode.dll")
loadplugin("...\Decomb.dll")
mpeg2source("myvob.d2v",cpu=6)
fielddeinterlace()
Copy the following file to the same directory where DGIndex is located, and call it 'template.avs'. Then edit it to replace the D2V file name with __vid__ (that's two underscores before "vid" and two after). It should then look like this:
loadplugin("...\DGDecode.dll")
loadplugin("...\Decomb.dll")
mpeg2source("__vid__",cpu=6)
fielddeinterlace()
After performing a Save Project operation, DGIndex uses this file as a template and inserts the right file name whenever it sees __vid__.
DGIndex creates the AVS script file only if it does not already exist. The script file is created in the same directory as the d2v file."Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope" -
You also need to add cropping/resizing, etc. If you do that in VDub, then you may have well have just used VFAPI, since VDub filters require RGB24.
Too much work? Isn't that the point of doing things manually. No point cutting corners or you may as well go the AutoGK, FairUse, etc. route since it will give you better quality anyway. -
Sorry, I left out the bit about audio, but you can do that too.
You may also use the __aud__ specifier to generate the audio file name. Note that if you are generating more than one audio file, this specifier will refer to the last audio file that is opened. Therefore, to be sure to get the desired audio file, process just one audio stream.
loadplugin("C:\Program Files\DGMPGdec\DGDecode.dll")
video=mpeg2source("__vid__")
audio=DirectShowSource("__aud__")
AudioDub(video, audio)
Note I used DirectShowSource to load the audio instead of the command wavsource, so that AC3 or MPA audio can be loaded and not just WAV. Remember though that you'll need to have an AC3 decoder installed for VirtualDub, such as AC3 ACM Decompressor.
Hope this helps."Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope" -
on the first sample they got ,cpu=6 .... what does that mean... i have checked dg's manual "Post-Processing Quickset Options" ..but what does it mean ? what does it do ?
Loadplugin("F:\XviD-Apps\DGMPGDEC\DGDecode.dll")
Loadplugin("F:\XviD-Apps\AviSynth 2.5\plugins\Decomb.dll")
Video=mpeg2source("__vid__")
Audio=DirectShowSource("__aud__")
AudioDub(video,audio)
FieldDeinterlace(full=false) <--- Deinterlace method : blend ? .. possible to set that like in VDubmod
LanzcosResize(512,384)
is it possible to do some final settings in Vdubmod after you have opened the avs in vdub ? -
I'm no expert on this, have a look at the DGDecode Manual for what these options mean. I think if your source is MPEG2, you probably don't need to use any of these and my basic script will suffice. Similarly, only use the Decomb and deinterlace settings if you need to. Once the file is loaded in VDub, you can use any of VDubs features or filters, just as you would on a normal AVI file.
"Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope" -
-
Once the file is loaded in VDub, you can use any of VDubs features or filters, just as you would on a normal AVI file.
You could, but you wouldn't want to, as then you'll lose most of the benefits of using AviSynth in the first place.
You use VDub filters, you have to use Full Processing. You go AviSynth alone, you use Fast Recompress. The benefit of Fast Recompress? 25-30% faster encoding, no colorspace conversions, and better quality.
FieldDeinterlace(full=false) <--- Deinterlace method : blend ? .. possible to set that like in VDubmod
Yes, the default FieldDeinterlace setting is for Blend. If you set Blend=False, it'll interpolate. Both are lousy compared to other AviSynth deinterlacers, such as KernelDeint. And be real sure that your video is truly interlaced before using a deinterlacer, even if set for Full=False. Don't just rely on the DGIndex Statistics window. It tells you how it was encoded and not what the source is like, often 2 very different things.
Yes, read the DGDecodeManual for what the CPU settings mean. That was just an example. I, for one, would never even consider using CPU=6. And also read the DecombUsersManual. neuron2 (Don Graft) writes the best guides/tutorials for his filters in the business. You'll learn a lot by reading what he has to say, much more than asking a bunch of questions when you haven't even done your homework. And for more about AviSynth, read everything on the www.avisynth.org site. -
Originally Posted by Safesurfer
and about the audio part ... i would lose the benefits if i would add the audio in Vdub right ?
Originally Posted by manono....
And hehe , i will read the manuals and check the website, but i just needed some help to get there :P
btw ... lets say i use BeSweet to convert the ac3 to mp3 ... should it still be "DirectShowSource" ? -
Originally Posted by 0verd0ze
I was just saying you could use a basic script (without any of the options) such as
loadplugin("C:\Program Files\DGMPGdec\DGDecode.dll")
video=mpeg2source("__vid__")
audio=DirectShowSource("__aud__")
AudioDub(video, audio)"Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope"
Similar Threads
-
VFAPI Codec Problems
By [K]eep[A]way in forum Newbie / General discussionsReplies: 20Last Post: 8th Sep 2011, 06:40 -
VFAPI Reader Batch convert?
By Totta in forum Video ConversionReplies: 0Last Post: 20th Sep 2010, 11:44 -
VFAPI and Windows 7 64 Bit
By JekhoOne in forum Video ConversionReplies: 3Last Post: 21st Apr 2010, 13:56 -
Unexpected issue with VFAPI Reader
By NotSoEasy in forum DVD RippingReplies: 6Last Post: 8th Feb 2008, 04:29 -
VFAPI problem on Windows Vista (Home Premium)
By foochuck in forum Video ConversionReplies: 1Last Post: 3rd Nov 2007, 18:10