Alright, I'm trying to use QTGMC on a VOB source. The VOB has been run through DGIndex. I can't figure out why this isn't opening in either Virtualdub or Avidemux.
Virtualdub reports: "File (the avs) does not have a video stream."
Avidemux reports: "Attempt to open (file) failed!"
I suspect I'm missing something blatantly obvious, but I'm not very familiar with avisynth usage.
Here's the contents of the AVS:
Mpeg2Source("C:\asdfas\VTS_01_2.d2v")
SetMTMode(5, 8)
QTGMC( Preset="Slow", SourceMatch=3, Sharpness=1.0, TR2=0, Lossless=2 )
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 18 of 18
Thread
-
-
Comment out everything but the source line, like this:
Mpeg2Source("C:\asdfas\VTS_01_2.d2v")
#SetMTMode(5, 8)
#QTGMC( Preset="Slow", SourceMatch=3, Sharpness=1.0, TR2=0, Lossless=2 )
Then try to open it in VDub. Does it open? If not, do you have AviSynth installed? To check, make a new AVS with just this one line:
Version()
You could also do it like this:
#Mpeg2Source("C:\asdfas\VTS_01_2.d2v")
#SetMTMode(5, 8)
#QTGMC( Preset="Slow", SourceMatch=3, Sharpness=1.0, TR2=0, Lossless=2 )
Version()
Does that open in VDub? Do you have either 16bit or 32bit everything? VDub and AviSynth? -
I was using 64 bit Virtualdub 1.10.4, Avisynth 2.6 64 bit. I couldn't find an option for a 64 bit download of Avisynth just now, but I've replaced it with Avisynth+ and I'm getting the same issue.
-
-
Did you put the right version of DgDecode.dll in AviSynth's plugins folder? Of import the dll within the script.
And when using 64 bit AviSynth+ you need to use d2vsource.dll instead because the 64 bit vesion of DgDecode.dll doesn't work correctly.
http://avisynth.nl/index.php/MPEG2DecPlus -
Edit: TL;DR: Same issue with that one.
Well, I was using the dgdecode.dll from https://www.videohelp.com/software/DGMPGDec
I've just tried the version here: http://avisynth.nl/index.php/AviSynth%2B_x64_plugins
as well as: http://avisynth.nl/index.php/MPEG2DecPlus. -
I should have written 32 and 64bit before, not 16 and 32bit. Sorry.
Anyway, maybe try loading the D2VSource.dll into the script. Did you already try that, as jagabo suggested?
LoadPlugin("C:\Path\To\d2vsource.dll")
Mpeg2Source("C:\asdfas\VTS_01_2.d2v")
#SetMTMode(5, 8)
#QTGMC( Preset="Slow", SourceMatch=3, Sharpness=1.0, TR2=0, Lossless=2 )
It might be better to make a fresh D2V file as well.Last edited by manono; 5th Oct 2020 at 21:52.
-
-
comment out the mpeg2source and try directshowource directly on one of the VOB's and see if it opens
for example
Code:DirectShowSource("c:\path\test.vob")
Are these VOB files you ran through DGindex on the hard drive? -
-
-
Always post your entire script. Indicate which editor and AviSynth(+) version and their bitness.
Note that that the script doesn't determine whether you are using 32bit or 64bit AviSyneh. If you open an AviSynth script with a 32 bit editor/encoder you will be using 32 bit AviSynth (if 32 bit AviSynth isn't installed you will get an error), and 32 bit filters. If you open an AviSynth script with a 64 bit editor you will be using 64 bit AviSynth (if 64 AviSynth isn't installed you will get an error) and 64 bit filters. 32 bit Editors can't use 64 bit AviSynth. 64 bit editors can't use 32 bit AviSynth. (Actually they can but it requires special handling that you aren't doing.)
Did you move your MPG/VOB source file and/or the d2v file after building the d2v? The d2v files requires the original VOB/MPG remain in its original location.
Open your d2v file in notepad. Does it look something like this:
Code:DGIndexProjectFile16 1 input.mpg Stream_Type=1 MPEG_Type=2 iDCT_Algorithm=6 YUVRGB_Scale=1 Luminance_Filter=0,0 Clipping=0,0,0,0 Aspect_Ratio=4:3 Picture_Size=720x480 Field_Operation=0 Frame_Rate=29970 (30000/1001) Location=0,0,0,3e2a d00 6 0 4096 0 0 0 92 b2 b2 a2 b2 b2 a2 d00 6 0 4096 1 0 0 92 b2 b2 a2 a2 d00 6 0 329728 0 0 0 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 900 6 0 688128 0 0 0 32 32 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 900 6 0 1075200 0 0 0 32 32 92 b2 b2 a2 d00 6 0 1224704 0 0 0 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 900 6 0 1579008 0 0 0 32 32 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 900 6 0 1961984 0 0 0 32 32 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 900 6 0 2326528 0 0 0 32 32 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2 ...
Last edited by jagabo; 6th Oct 2020 at 19:06.
-
Alright, it seems to be working now. davexnet, thank you so much for bringing avsmeter to my attention, it helped me solve everything.
avsmeter revealed that TCPDeliver.dll in my plugins directory (I'm guessing I copied this from my earlier vanilla Avisynth installation, but I don't recall) was 32 bit and getting in the way of loading. I renamed that file.
QTGMC needed TdeInt in the plugins folder too, which it seems I was missing.
And I found out that Avisynth+ needs SetFilterMTMode instead of SetMTMode.
Thank you all for your helpLast edited by Groundhog; 7th Oct 2020 at 01:22.
Similar Threads
-
AVS scripts opened by VirtualDub but no video with AVFS
By abolibibelot in forum Video ConversionReplies: 24Last Post: 27th Nov 2018, 20:16 -
Opening MTS with virtualdub doesn't go smooth
By Bencuri in forum Video ConversionReplies: 7Last Post: 31st Aug 2018, 18:56 -
Opening AviSynth script on Avidemux
By jseo13579 in forum EditingReplies: 1Last Post: 24th Aug 2018, 12:00 -
AviDemux 2.6.12 Nightly Opening Error
By gonwk in forum Newbie / General discussionsReplies: 1Last Post: 31st Jul 2016, 18:44 -
AVIDemux: Trouble initializing audio device (WinFF trouble too)
By Joker41NAM in forum Newbie / General discussionsReplies: 1Last Post: 1st Nov 2015, 04:12