Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th August 2005, 12:38   #1  |  Link
Prodater64
Registered User
 
Join Date: Mar 2004
Posts: 266
Importing avs and assigning to a variable.

Is there any way to import an avs script wich its result is a video and assign it to a variable:

video=import("MyVideo.avs")
last=video

I tryed this but it doesn't work.
_________________
__________________
Prodater64
Prodater64 is offline   Reply With Quote
Old 14th August 2005, 12:39   #2  |  Link
Inc
Squeeze it!
 
Inc's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 472
video=import("MyVideo.avs")
return video
Inc is offline   Reply With Quote
Old 14th August 2005, 20:52   #3  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Does Import actually return a value?

Try this:
Code:
Import("MyVideo.avs")
video = last
But this way is better:
Code:
video = AVISource("MyVideo.avs")
stickboy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.