Another n00bish question...

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Another n00bish question...

Postby Millions Legato » Sat Dec 02, 2006 2:23 am

After much work and careful studying, ive hit a snag. Ive managed to rip the correct .vob file I needed and indexed it for optimum performance in DGIindex, but when I take the next step and use VirtualDubMod, I cannot seem to get it to open the video script. It gives the message "Script error: there is no function named "mpeg2source". Does this mean that I have to reinstall AVIsynth or does that mean i have to make the script manually?
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Kariudo » Sat Dec 02, 2006 3:09 am

you need a plugin to be able to use mpeg2source().
it should be mpeg2dec3.dll (if you're using dvd2avi)
or dgdecode.dll (if using DGindex).

since you're using DGIndex, you'll need to use the second one
you need to load the plugin (or put the .dll in avisynth's plugin directory) before doing anything else in your script, it's done like this:
Code: Select all
loadPlugin("path to dgdecode.dll")

if you put the .dll into avisynth's plugin directory then you don't need to have the loadPlugin() line.

you just need to make sure that your version of AviSynth supports auto-loading (not sure which version started supporting this...but if you have version 2.5.6 or later it will work)
Image
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Millions Legato » Sat Dec 02, 2006 5:35 am

Again, thank you for the information! You have my gratitude.
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Millions Legato » Sat Dec 02, 2006 5:53 am

...except now im not sure how to go about and do that..like I said, Im very new to this whole thing. Is there a part in the guide that can take me through this step by step?
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Kariudo » Sat Dec 02, 2006 2:09 pm

I don't think so, but I'll give it a shot.

alright, when you downloaded DGindex you also got dgdecode.dll.
so the first step is to go to where you put DGindex. (or you could just go to start-search [all files and folders] and have your computer look for dgdecode.dll)
*once your computer finds the file, click and drag it from the search window onto your desktop

next, you have to go to where you installed AviSynth. It's most likely under my computer-C:-program files.
The folder will say AviSynth 2.5, go into it.
there should now be a folder that says plugins, go into it

now you need to drag DGDecode.dll from wherever it is, into the plugins folder (after you find it you may want to put it on your desktop so that it's easily accessible)
Image
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Millions Legato » Sun Dec 03, 2006 3:45 am

Hmmm...odd..I already have that script in the right place in the right folder and its still giving me the same message. I can load the .vob file, but not the AVI Synth script. What else could be wrong?
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Kariudo » Sun Dec 03, 2006 3:55 am

so you put the vob through DGIndex and got a d2v file right?
are you trying to load the vob file or the d2v file?

it would help if you posted your script
you can use the code tags
Code: Select all
[code]avisynth script goes in here[/code]
Image
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Millions Legato » Sun Dec 03, 2006 5:06 am

Yes, I ran it through and I do have a .d2v file of the .vob. The guide said to load the AVS file, not the .vob file, or maybe im mistaking the directions.
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Kariudo » Sun Dec 03, 2006 1:42 pm

post your AviSynth script please
Image
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Millions Legato » Mon Dec 04, 2006 12:55 am

Im not sure how to do that, im sorry but can you explain?
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Kariudo » Mon Dec 04, 2006 10:39 am

open notepad, open your .avs file.
highlight everything (either with your mouse or by pressing ctrl+a)
copy (ctrl+c)
open up your browser and navigate to here
hit the "post reply" button
make sure your cursor is in the text field, and then paste (ctrl+v)

some people find it helpful to use the code tags (which I've explained above)
Image
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Postby Minion » Mon Dec 04, 2006 10:42 am

given he doesn't know what you meant, i assume he hasn't modified the script which was generated. which should be something like

mpeg2source("filepath\filename.dv2")
KioAtWork: I'm so bored. I don't have class again for another half hour.
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes
User avatar
Minion
 
Joined: 22 May 2004
Location: orlando

Postby Millions Legato » Mon Dec 04, 2006 5:55 pm

Here it is.

Code: Select all
mpeg2source("C:\Program Files\Ben's Stuff\Ben's Video\My Movies\Cowboy bebop\Episode 23.d2v")
If wishes and busts were clusters of nuts, we'd all have a bowl of granola.
User avatar
Millions Legato
 
Joined: 22 Nov 2006

Postby Gepetto » Tue Dec 05, 2006 7:46 am

Good. You need to load the plugin like Kariudo said. So your new script should look like this:

Code: Select all
LoadPlugin("C:\path\dgdecode.dll")
mpeg2source("C:\Program Files\Ben's Stuff\Ben's Video\My Movies\Cowboy bebop\Episode 23.d2v")


where "path" is the path to the folder where dgdecode is. If you use Windows and installed AviSynth in the default directory then your script will probably read like this:

Code: Select all
LoadPlugin("C:\Program Files\AviSynth 2.5\Plugins\dgdecode.dll")
mpeg2source("C:\Program Files\Ben's Stuff\Ben's Video\My Movies\Cowboy bebop\Episode 23.d2v")
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby Melanchthon » Tue Dec 05, 2006 7:44 pm

Code: Select all
LoadPlugin("C:\Program Files\AviSynth 2.5\Plugins\dgdecode.dll")
....

Shouldn't it autoload, since it's a dll in the plugins folder?
User avatar
Melanchthon
 
Joined: 02 Sep 2004

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest