Need AVS Codes

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Need AVS Codes

Post by ForeverZeroo » Sat Aug 01, 2009 5:38 pm

Hello. My apartment was robbed and my computer was stolen (for a 2nd time within a year....JOY)

May I have some basic AVS codes. Also ones which would make MKV files work.

or anything else that might be useful down the road.

SOrry for the bothering but i basicly lost everything (Including about 3 or 4 projects i was working on T_T)
Image
Image

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Need AVS Codes

Post by LantisEscudo » Sat Aug 01, 2009 10:59 pm

ffmpegsource is probably your best bet for working with MKVs.

Quick usage example:

Code: Select all

v=ffvideosource("path\to\file.mkv", vtrack=-1)
a=ffaudiosource("path\to\file.mkv", atrack=-1)
AudioDub(v,a)
This example is if you need both audio and video, if you just need video, omit the last two lines and the "v=" of the first line.

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Need AVS Codes

Post by ForeverZeroo » Sat Aug 01, 2009 11:50 pm

LantisEscudo wrote:ffmpegsource is probably your best bet for working with MKVs.

Quick usage example:

Code: Select all

v=ffvideosource("path\to\file.mkv", vtrack=-1)
a=ffaudiosource("path\to\file.mkv", atrack=-1)
AudioDub(v,a)
This example is if you need both audio and video, if you just need video, omit the last two lines and the "v=" of the first line.
Which beta do you suggest is best for me to download....number 10?
do i need to put it in a certain place for it to work?
Sorry. The techy stuff isnt my stength. ^^;;
Image
Image

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Need AVS Codes

Post by LantisEscudo » Sun Aug 02, 2009 12:17 am

If you get the latest AMVApp, it includes the needed files in the AVSPluginPack.exe. If you're downloading it on your own, get the most recent 2.00 beta (currently 10, IIRC) and extract all the files in the archive to your AviSynth plugins directory (typically C:\Program Files\AviSynth 2.5\plugins\).

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Need AVS Codes

Post by ForeverZeroo » Sun Aug 02, 2009 10:51 am

LantisEscudo wrote:If you get the latest AMVApp, it includes the needed files in the AVSPluginPack.exe. If you're downloading it on your own, get the most recent 2.00 beta (currently 10, IIRC) and extract all the files in the archive to your AviSynth plugins directory (typically C:\Program Files\AviSynth 2.5\plugins\).
OK i dunno why my amvapp didnt have that. but i downloaded the current 2.00 beta, 10. Put the extraxted files into the file you said.
restarted and it seems to have made a change. now the error says this:

Avisynth Open Failure:
Script Error: ffvideosource does not have a named argument "vtracK"

I went back in and tried entering the v= was well..but that didnt work either.

here is my script:
#ASYNTHER Default (ffvideosource)
v=ffvideosource("C:\Program Files\BitLord\Downloads\[EG-BSS]_Tengen_Toppa_Gurren-Lagann_[DVD]\[BSS]Gurren_Lagann_20_DVD[EE095A1D].avs", vtrack=-1)


Thanks for any help pointing out what i did wrong. I really wanna get started on this
Image
Image

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Need AVS Codes

Post by LantisEscudo » Sun Aug 02, 2009 11:05 am

Ah, that was my mistake. It's just "track" in 2.00, not "vtrack" like it was in 1.21. I was remembering the name from the old versions.

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Need AVS Codes

Post by ForeverZeroo » Sun Aug 02, 2009 11:12 am

LantisEscudo wrote:Ah, that was my mistake. It's just "track" in 2.00, not "vtrack" like it was in 1.21. I was remembering the name from the old versions.
BAH!
changed it annnnnd:
Avisynth open Failure:
FFVideoSource: Can't Open "ffvideosource("C:\Program Files\BitLord\Downloads\[EG-BSS]_Tengen_Toppa_Gurren-Lagann_[DVD]\[BSS]Gurren_Lagann_20_DVD[EE095A1D].avs", track=-1)" line 2

here is my full script i used. i also tried opening with "open using avisynth" and i also tried adding v= in the front of my script's 2nd line. and a combination of both. none of that worked either.

Sorry. it seems to be a theme i run into every problem known to man. Next it'll say: "Avisynth Open Failure: First make peace on earth." -.-
Image
Image

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Need AVS Codes

Post by LantisEscudo » Sun Aug 02, 2009 11:20 am

Try just using the "Open..." command and opening the AVS that way. "Open via AviSynth..." is to make a NEW script pointing to an existing video file.

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Need AVS Codes

Post by ForeverZeroo » Sun Aug 02, 2009 11:28 am

LantisEscudo wrote:Try just using the "Open..." command and opening the AVS that way. "Open via AviSynth..." is to make a NEW script pointing to an existing video file.
Yeah i Did. and thats the error it gave me.
I opened with avisynth afterwards for the hell of it..but i guess that wouldnt have done any good ^^;
Image
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Need AVS Codes

Post by mirkosp » Sun Aug 02, 2009 11:35 am

ffvideosource("C:\Program Files\BitLord\Downloads\[EG-BSS]_Tengen_Toppa_Gurren-Lagann_[DVD]\[BSS]Gurren_Lagann_20_DVD[EE095A1D].avs", track=-1)

You'll want your file's extension instead of avs in there (I believe it's an mkv?) and the audio should be loaded separately and added with audiodub (v2 is buggy and beta for a reason).

EDIT: Actually, let's make the things easier. Do you have the CCCP installed? If so, go to "C:\Program Files\Combined Community Codec Pack\Filters\Haali", copy the avss.dll, and paste it into "C:\Program Files\AviSynth 2.5\plugins".
Then, call your mkv like

Code: Select all

dss2("C:\Program Files\BitLord\Downloads\[EG-BSS]_Tengen_Toppa_Gurren-Lagann_[DVD]\[BSS]Gurren_Lagann_20_DVD[EE095A1D].mkv")
Again, since I believe it is an mkv, I put mkv in there, but just use the actual extension if it's different.
dss2 will be able to load any file that directshow can open on your pc. Basically, it's like directshowsource, except that it is frame accurate, which is why ffmpegsource/ffvideousource/ffmpegsource2 get suggested - the basic directshowsource isn't frame accurate so that's why it should be used only for transcoding purposes. dss2, however, is completely fine. Also, it will audio audio by default and it won't need to create index files, but in my experience, it is faster than any other loader.
Image

Locked

Return to “AviSynth Help”