Quantcast Avisynth can't open script? What am I doing wrong? - digitalFAQ Forum
  #1  
03-24-2019, 11:27 AM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
I used to do this years ago when I was more involved in the hobby. Then my computer damaged and I just stopped doing video for a few years. Now I'm trying to get back, so I downloaded (in my new computer, using windows 10) the following:

A) Current version of Avisynth: Stored in the C: Program Files (X86) folder with the plugins folder included AND the dgdecode dll copied and pasted in the plugins folder

B) Current version of DGMPEC decoder package- stored in downloads folder

C) Current version of AVSPMOD - stored in downloads folder

I used DVD Decrypter to create VOB files and I stored the DGIndex-create d2v files in the same folder.

But when I try to open the d2v file in avspmod, I get an error telling me that there's no mpeg2-source.

So again I ask please.....what am I doing wrong????
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-24-2019, 12:47 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 8,082
Thanked 1,306 Times in 1,153 Posts
Did you remember to install all the Avisynth dependencies in system32/syswow64, etc?

I don't install Avisynth all the time either, so I know how you feel.

- Did my advice help you? Then become a Premium Member and support this site.
- Find television shows, cartoons, DVDs and Blu-ray releases at the TVPast forums.
Reply With Quote
  #3  
03-24-2019, 02:24 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
What are avisynth "dependencies" and how would I go about doing that?

Thanks for getting back to me LS. How are ya, btw? been a while.

-- merged --

Now I downloaded Virtualdub and it's not opening any video streams. When I tried to open an mpeg-2 I get the message error: "virtualdub cannot open any mpeg-2 video streams". Why are these programs so delicate and finicky?
Reply With Quote
  #4  
03-25-2019, 05:02 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 8,082
Thanked 1,306 Times in 1,153 Posts
Because I don't do it often myself, I forget the details. Certain DLLs need to be placed in folders outside the Avisynth install folders, like system32/syswow64. Going from memory, fftw3.dll is one, and avisynth.dll is another. Different filters may have their own dependencies as well. I think dgmpegdec does as well, some/all files placed in Avisynth folder.

Start with a simple script
Code:
avisource("c:\file.avi")
See if that at least works.

The official VirtualDub can only open AVI. You need plugins to enable more. The VirtualDub available from this site has all of that preloaded, or you can use the fork VirtualDub2 (formerly VirtualDub FilterMod). But be warned, the 2/FM version has some filter issues, such as resize, so it's not as stable as the original VirtualDub.

Open-source software often is buggy, often being hobby programmed, not paid.

Hopefully sanlyn comes along, he installs this more than I do, can rattle off dependencies (and versions!) much more quickly.

- Did my advice help you? Then become a Premium Member and support this site.
- Find television shows, cartoons, DVDs and Blu-ray releases at the TVPast forums.
Reply With Quote
  #5  
03-25-2019, 01:20 PM
ELinder ELinder is offline
Premium Member
 
Join Date: Oct 2018
Posts: 108
Thanked 14 Times in 13 Posts
Also make sure you've reinstalled the various 32/64 bit C++ redistributable libraries. I got all sorts of AviSynth error messages before I had them all installed.

Erich
Reply With Quote
  #6  
03-25-2019, 06:14 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
LordSmurf,

I downloaded your custom Virtualdub with Huffyuv, but I want to make sure I did this correct:

I used Winzip to open the Huffyuv zip file and extracted both, the Huffyuv dnl and inf files. Both, the dnl and inf Huffyuv files in a separate folder in my downloads section called Huffyuv. I noticed that your custom Virtualdub downloaded along with the Huffyuv, so I didn't have to download that separately as I thought I would. Was that supposed to happen? (it was convenient for me, but I want to make sure that this is normal and that I didn't mess up here).

I then copied both the Huffyuv dnl and inf files and pasted them in the Virtualdub folder, where other dll files (such as corona, ogg, vdcmdrv) and other dll files are saved.

So here are my questions:

1. Was copying and pasting the huffyuv dnl and inf files in the Virtualdub folder correct, unnecessary, or just plain wrong?
2. If if was correct, can I now delete my separate huffyuv folder which contains both, the dnl and inf files or do I still need to keep it?
3. When I save my avi in virtualdub, how do I know I'm saving it as a lossless huffyuv?

Thanks
Reply With Quote
  #7  
03-25-2019, 06:15 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
Quote:
Originally Posted by ELinder View Post
Also make sure you've reinstalled the various 32/64 bit C++ redistributable libraries. I got all sorts of AviSynth error messages before I had them all installed.

Erich
Thanks ELinder, but how do I do this?
Reply With Quote
  #8  
03-25-2019, 06:21 PM
ELinder ELinder is offline
Premium Member
 
Join Date: Oct 2018
Posts: 108
Thanked 14 Times in 13 Posts
This article helped me locate all the various versions. I went ahead and installed all of them, both 32 and 64 bit, just in case.

https://www.itechtics.com/microsoft-...ownload-links/

Erich
Reply With Quote
  #9  
03-25-2019, 08:44 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
Ok, I installed it and it made absolutely no difference. This is what I don't understand: if you download avisynth correctly, why should you still have to go on wild goose chases looking for other things to make it work? Does Avisynth need a plugins folder with the dgdecode.dll in it to make mpeg2source open?
Reply With Quote
  #10  
03-26-2019, 02:54 PM
ELinder ELinder is offline
Premium Member
 
Join Date: Oct 2018
Posts: 108
Thanked 14 Times in 13 Posts
Actually, a lot of your questions are covered in the Virtualdub guide here on the forum. Sanlyn also has an AviSynth download zip file with everything needed and includes a text file showing exactly what to copy where. I can't find it right now, but if you search you'll find it. The Huffyuv codec needs to be installed, not just copied to a directory. Right clicking on the .inf file and selecting “install” should do it, and if not there are also threads on trouble shooting if it doesn't. I had trouble with that myself on Windows 10 and found the answers here.

As for why all this needs so many hoops to jump thru, I've asked myself that too. Remember all of this was created by many people over many years and all free, so it naturally won't be as self comtained a a program you buy off the shelf.

Erich
Reply With Quote
  #11  
03-26-2019, 03:29 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
Ok, so I installed Huffyuv, or whatever it's called, as per instructions. Now, how do I know I actually did it correctly? It's a codec for lossless right? So when I save a video in Virtualdub, I don't see anything that says Huffyuv. It just saves it as an AVI. How do I know it's using Huffyuv?
Reply With Quote
  #12  
03-26-2019, 03:30 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
And with all respect and gratitude to you ELinder, please if it's possible, explain this to me the way you would explain it to an idiot. I really appreciate that. I am by no means familiar with the jargon.
Reply With Quote
  #13  
03-26-2019, 03:45 PM
ELinder ELinder is offline
Premium Member
 
Join Date: Oct 2018
Posts: 108
Thanked 14 Times in 13 Posts
Here's the guide for Virtualdub, it includes where to set the Huffyuv codec as the one being used.

Capturing with VirtualDub [Settings Guide]

If you don't see the just installed Huffyuv in the capture codec list where appropriate in that guide, it may not have installed properly. See this post that talks more about installing it and what to do if it didn't.

VirtualDub with Filters Pre-loaded + HuffYUV [DOWNLOADS]

Erich
Reply With Quote
  #14  
03-26-2019, 04:13 PM
unclescoob unclescoob is offline
Free Member
 
Join Date: Jul 2011
Posts: 83
Thanked 1 Time in 1 Post
"To install Huffyuv, simply unRAR the correct file, and then right-click and install the INF file. If you can't tell the difference between the DLL and the INF file, you have Windows setup to hide file extensions -- something that I suggest against."

I did this already. I only ask, where in the Virtualdub program do I check and see if it's actually properly installed?

Copying and pasting links to other threads which have thousands upon thousands of varying comments and suggestions by other users is NOT helping me here. It's actually confusing me and causing more frustration! This is not Videohelp.com, where they're notorious for this. One of the things I like about Digitalfaq.com is that people here explain things in simple, step-by-step down-to-earth language where ALL can learn.


If you can't simply explain to me what I need to do, that's fine. Just please stop posting more links!

Smurf--please help when you see this.

Thanks.
Reply With Quote
  #15  
03-27-2019, 11:03 AM
ELinder ELinder is offline
Premium Member
 
Join Date: Oct 2018
Posts: 108
Thanked 14 Times in 13 Posts
I'm sorry you're frustrated, believe me I know the feeling. I still have to go thru things on this site numerous times myself until I figure out what's being talked about. The people here are extremely generous with their time and knowledge and are very helpful. Having said that, you're asking basic questions that the Guides have been created to answer. They are like the program manuals that we wish exist for these programs and take you step by step thru the settings of the program to make sure everything is the way it should be.

Yes, I'm going to post links, as I'm not going to retype something that has already been written.

You asked about where to see that VDub was using the Huffyuv codec. If you had glanced thru the guide of the first link I gave you, you would see this in the fourth post complete with screenshots. Capturing with VirtualDub [Settings Guide]



If you do not see the Huffyuv codec in that list, it did not install correctly. You're using Windows 10, right? Use these step by step instructions to make sure it does install correctly:

Cannot install HuffYUV on Windows 64-bit Vista or Win 7 [solved]

Erich
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubling Avisynth script to remove comets? sirbyron Restore, Filter, Improve Quality 19 01-20-2019 08:55 PM
Problem with custom script in Avisynth to stabilize video? benzio Restore, Filter, Improve Quality 0 03-07-2018 11:27 AM
VCR simulator script, Avisynth fake VHS look! jmac698 Restore, Filter, Improve Quality 1 02-12-2018 06:17 AM
Avisynth script to fix offset interlacing? lordsmurf Restore, Filter, Improve Quality 4 02-10-2018 05:34 PM
Avisynth script for QTGMC, encode x264 - no video after deinterlace? mo418 Capture, Record, Transfer 18 09-16-2015 01:06 PM

Thread Tools



 
All times are GMT -5. The time now is 03:41 AM