avs scripting help

This forum is for video and audio help and discussion.

avs scripting help

Postby CHWOODYARD » Fri Feb 21, 2003 7:56 pm

I'm having trouble with the avs scripting procedure and it is annoying me that it is taking time away from editing the dvd in premier.

So far I have ripped the first dvd in the 3 dvd series.
I used DVD2AVI to convert the first 2 VOBs into 5 AVIs.

ErMac's guide says to put the 2 lines of script into the AVS file, but I don't know what I should type in the script to load the AVS file into Premier.

What exaclty should I type for the 2 line of script and what should I do after that?

Please don't tell me to read the guides, because I have been going over them for a while trying to fix my problem.
User avatar
CHWOODYARD
 
Joined: 15 Jul 2002
Location: SoCal.

Postby RadicalEd0 » Fri Feb 21, 2003 8:20 pm

er... thats it :\ put the lines you want in and save it as a .avs file and open it in premiere/virtualdub/whatever program you want
User avatar
RadicalEd0
 
Joined: 24 Jun 2002

avs scripting help

Postby CHWOODYARD » Fri Feb 21, 2003 11:31 pm

I put in the 2 lines of avs script in the file and both Premier and VirtualDub says that they are unrecognized exceptions. The line that appears in both of the programs is the script that is pointing to the d2v file.

It says MPEG2Source("D:\Folder01\video_folder\anime_DVD_1\anime_DVD_1.d2v")
User avatar
CHWOODYARD
 
Joined: 15 Jul 2002
Location: SoCal.

Postby burntoast » Sat Feb 22, 2003 12:20 am

LoadPlugin("C:\AVSFilters\MPEG2DEC3.DLL")

Did you type something similar to that in the first line? the MPEGDEC3.DLL should be in the directory where you put it in ur avs filters.

i had a lot of problems with this at awhlie ago. it helps to re-type parts of ur avs file and save frequently, to get it to reload in Premier. First, double check that every letter is correct in ur avs which leads to ur d2v.

what exactly does it say in ur "unrecognized exception" window? this would help cuz it points out what's causing the error. it should be something like "line 1..., or line 2..." and some sorta mistake.

make sure ur d2v file contains the location of ur vobs, also. and ur avs file should have the file extension ".avs", not ".txt".
User avatar
burntoast
 
Joined: 21 Dec 2002
Location: Pasadena, MD
Status: Outside, looking in.

Postby NicholasDWolfwood » Sat Feb 22, 2003 12:49 am

keiichi87 wrote:LoadPlugin("C:\AVSFilters\MPEG2DEC3.DLL")
First off, you don't need that line. It's autoloaded.
Image
User avatar
NicholasDWolfwood
 
Joined: 30 Jun 2002
Location: New Jersey, US

avs scripting help

Postby CHWOODYARD » Sat Feb 22, 2003 12:52 am

I typed LoadPlugin("D:\MPEG2dec.dll") in the first line

LoadPlugin("D:\My_name\Decomb.dll") in the second and

MPEG2Source("D:\My_name\video_folder\anime_DVD_1\anime_DVD_1.d2v") for the 3rd line and Premier says that it's the "unrecognized exception." Also that d2v file is in the folder with all the VOBs that was ripped of the dvd.

Oh, and your icon, keiichi87, is what my amv the anime is based on.
User avatar
CHWOODYARD
 
Joined: 15 Jul 2002
Location: SoCal.

avs scripting help

Postby CHWOODYARD » Sat Feb 22, 2003 12:55 am

I think I should have have checked the last sentence more carefully. What I mean is keiichi87's icon is from the anime my amv is going to be based on.
User avatar
CHWOODYARD
 
Joined: 15 Jul 2002
Location: SoCal.

Re: avs scripting help

Postby burntoast » Sat Feb 22, 2003 12:03 pm

CHWOODYARD wrote:MPEG2Source("D:\My_name\video_folder\anime_DVD_1\anime_DVD_1.d2v") for the 3rd line and Premier says that it's the "unrecognized exception."
Oh, and your icon, keiichi87, is what my amv the anime is based on.


Oh, ur doing a Chobits vid? :lol:

as Wolfwood pointed out, u don't need to type in "LoadPlugin("D:\mpeg2dec.dll")" into ur avs file. my apologies, u only need to type this in if u don't have the AMVapp or Avisynth 2.06 and higher.

now for the unrecognized exception, the location or content of ur d2v file must be wrong, since Premier is nicely pointing out for us. you should double-check the spelling within ur avs file. also, are you running Windows XP? your file extensions should also be ".avs" and ".d2v", respectively. they should not be .txt files.
User avatar
burntoast
 
Joined: 21 Dec 2002
Location: Pasadena, MD
Status: Outside, looking in.

Postby WilLoW :--) » Sat Feb 22, 2003 1:38 pm

I've had the same problem.

using the LATEST version of DVD2AVI should fix this problem (the latest version of dvd2avi is not tthe one that is provided in amvApps)
User avatar
WilLoW :--)
 
Joined: 14 Jun 2001
Location: Matsudo, Japan

Re: avs scripting help

Postby FurryCurry » Sat Feb 22, 2003 2:32 pm

CHWOODYARD wrote:
So far I have ripped the first dvd in the 3 dvd series.
I used DVD2AVI to convert the first 2 VOBs into 5 AVIs.


Maybe this is your problem.

According to the guides,

YOU ARE NOT SUPPOSED TO MAKE AN AVI FILE.

You are supposed to make a project file. Go to the file menu and choose save project. It will run for a bit, and leave you with a .d2v file.

Point avisynth at the d2v file like so:

MPEG2Source("C:\myproject\vobs\myproject.d2v") or whatever your pathname is.

I think the distinction between making an avi and a project file ought to be colored and enlarged in the guides as I've done here. I keep seeing people make this mistake over and over.

Assuming you have installed the latest version of amv.app, (go get it if you haven't) that one line is all you need for a working .avs file.
User avatar
FurryCurry
 
Joined: 14 Jul 2002

Postby RadicalEd0 » Sat Feb 22, 2003 2:38 pm

:shock:

-_-
that would explain why MPEG2DECODER wouldnt be working :roll:
User avatar
RadicalEd0
 
Joined: 24 Jun 2002

Re: avs scripting help

Postby AbsoluteDestiny » Sat Feb 22, 2003 2:59 pm

FurryCurry wrote:I think the distinction between making an avi and a project file ought to be colored and enlarged in the guides as I've done here. I keep seeing people make this mistake over and over.


I am making this part of the guide more straight-forward at the moment, actually. The suggestion is noted.
User avatar
AbsoluteDestiny
 
Joined: 15 Aug 2001
Location: Oxford, UK

Postby Frosta Rahl » Sat Feb 22, 2003 7:13 pm

I didn't want to post a new thread on the same topic but I seem to be having a problem converting the D2V to AVIsynth. Up until this point its all good I have a feeling I'm typing in the wrong folder or file

my info says to type this

MPEG2Source("C:\yourfolder\yourfile.d2v")

using this info I type for "your folder" My Documents

and "your file" as newfy

newfy is the file I saved in dvd2avi and its located in my documents.

So does anyone have any idea what I am doing wrong here? Sorry if I sound dumb but Ive been working at it for 3 hrs trying to figure it out myself. Please? Anyone?
Frosta Rahl
 
Joined: 20 Feb 2003

Postby WilLoW :--) » Sat Feb 22, 2003 7:19 pm

Frosta Rahl wrote:my info says to type this

MPEG2Source("C:\yourfolder\yourfile.d2v")

using this info I type for "your folder" My Documents

and "your file" as newfy

newfy is the file I saved in dvd2avi and its located in my documents.



what is the error you get ?

is your file in C:\My Documents or in
C:\Documents and settings\IdontKnowWhat\Blabla\My Documents ?
User avatar
WilLoW :--)
 
Joined: 14 Jun 2001
Location: Matsudo, Japan

Postby Frosta Rahl » Sat Feb 22, 2003 7:24 pm

its in My documents and this is what I get for windows media player when I try to open it up in there

Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.

When I try to open it in premiere I get the text window like notepad had been opened again
Frosta Rahl
 
Joined: 20 Feb 2003

Next

Return to Video & Audio Help

Who is online

Users browsing this forum: No registered users and 2 guests