AVCSource("__vid__.dga")KidEgo wrote:Avisynth Error:
Script error: there is no function named "DirectShowSource"
(C:\Directory\File Name.m2ts)
Qyot27 wrote:You'll want to use DGAVCDec (DGAVCIndex and DGAVCDecode.dll) instead of DGMPGDec (DGIndex and DGDecode.dll). You need to make sure you place DGAVCDecode.dll in C:\Program Files\AviSynth 2.5\plugins, or else it won't autoload.
Open the .m2ts in DGAVCIndex and let it save the .dga indexing file. Then use AVCSource in your script to open the .dga rather than using DirectShowSource at all (which, you might not have DirectShowSource.dll in your AviSynth plugins directory).
You can actually have DGAVCIndex (or DGIndex, if you were working with MPEG-2) generate a script for you. That info is available in the help, but the basic gist is that you have a template.avs file residing in the same directory as the program, and it contains something like this, at the very least:
- Code: Select all
AVCSource("__vid__.dga")
You then tell the program where that template is (Options->AVS Template, and then the Change Template File button), and then when you save the .dga file it will make the script for you automatically. The __vid__ part is the key there - it tells the program to replace __vid__ with the actual directory and filename you're saving to. That's two underscores on each side.
Users browsing this forum: No registered users and 1 guest