VideoHelp Forum
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. 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 )
    Quote Quote  
  2. Are you using the correct x86 or x64 matching versions ? e.g. if you have avisynth x64 installed, you should be using vdub2 x64 not x86
    Quote Quote  
  3. 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?
    Quote Quote  
  4. Originally Posted by poisondeathray View Post
    Are you using the correct x86 or x64 matching versions ? e.g. if you have avisynth x64 installed, you should be using vdub2 x64 not x86
    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.
    Quote Quote  
  5. Originally Posted by manono View Post
    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?
    Commenting out all but the source line didn't work. Version() correctly reports the Avisynth installation.
    Quote Quote  
  6. 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
    Quote Quote  
  7. Originally Posted by jagabo View Post
    Did you put the right version of DgDecode.dll in AviSynth's plugins folder? Of import the dll within the script.
    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.
    Quote Quote  
  8. 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.
    Quote Quote  
  9. Originally Posted by manono View Post
    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.
    I actually missed that suggestion, but I've tried it now. I copied D2VSource.dll into the folder with the VOB & d2v and I've tried referencing it with and without the path in the avs file. It's still not working.
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Groundhog View Post
    Originally Posted by manono View Post
    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.
    I actually missed that suggestion, but I've tried it now. I copied D2VSource.dll into the folder with the VOB & d2v and I've tried referencing it with and without the path in the avs file. It's still not working.
    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")
    AviDemux does not open avs scripts, stick with AvsPmod or Virtualdub for testing

    Are these VOB files you ran through DGindex on the hard drive?
    Quote Quote  
  11. Originally Posted by davexnet View Post
    Originally Posted by Groundhog View Post
    Originally Posted by manono View Post
    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.
    I actually missed that suggestion, but I've tried it now. I copied D2VSource.dll into the folder with the VOB & d2v and I've tried referencing it with and without the path in the avs file. It's still not working.
    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")
    AviDemux does not open avs scripts, stick with AvsPmod or Virtualdub for testing

    Are these VOB files you ran through DGindex on the hard drive?
    Same result with DirectShowSource.

    I just downloaded AvsPmod to test with that, but it crashes with my avisynth.dll *shrug*

    Yes, these files are on my primary hard drive.
    Quote Quote  
  12. Originally Posted by Groundhog View Post
    Originally Posted by manono View Post
    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.
    I actually missed that suggestion, but I've tried it now. I copied D2VSource.dll into the folder with the VOB & d2v and I've tried referencing it with and without the path in the avs file. It's still not working.
    Post the error message.

    If you're using the newest mpeg2decplus x64, it's been renamed as d2vsource 1.0. The source filter syntax is now D2VSource, not MPEG2Source

    Code:
    D2VSource("C:\asdfas\VTS_01_2.d2v")
    Quote Quote  
  13. Originally Posted by poisondeathray View Post
    Originally Posted by Groundhog View Post
    Originally Posted by manono View Post
    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.
    I actually missed that suggestion, but I've tried it now. I copied D2VSource.dll into the folder with the VOB & d2v and I've tried referencing it with and without the path in the avs file. It's still not working.
    Post the error message.

    If you're using the newest mpeg2decplus x64, it's been renamed as d2vsource 1.0. The source filter syntax is now D2VSource, not MPEG2Source

    Code:
    D2VSource("C:\asdfas\VTS_01_2.d2v")
    Using D2VSource now. The error is: File "C:\asdfas\script.avs" does not have a video stream.
    Quote Quote  
  14. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Download and run avsmeter from the command line to see if any errors come up

    Code:
    avsmeter64 -avsinfo
    and
    Code:
    avsmeter -avsinfo
    Quote Quote  
  15. 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.
    Quote Quote  
  16. 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 help
    Last edited by Groundhog; 7th Oct 2020 at 01:22.
    Quote Quote  
  17. Originally Posted by davexnet View Post
    Please see my post above I found that thread and solved the rest of the issues with the help of avsmeter. Thanks again!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!