Quantcast Avisynth: can Avisynth Chain Scripts? - digitalFAQ.com Forums [Archives]
  #1  
06-19-2003, 10:09 AM
MrTibs MrTibs is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
The idea is to run part of the script on different computers...

Computer 1:
Avisource("...)
Telecide()
Decimate()


Computer 2:
Avisource (computer1.avs)
Temporalsmoother(4,3)


Computer 3:
Avisource(computer2.avs)
PixieDust()


Computer 4: - TMPG encoder
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-19-2003, 10:15 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
We would first need to be able to Frameserve via TCP/IP, which I believe it currently doesn't work.

-kwag
Reply With Quote
  #3  
06-19-2003, 12:39 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
We would first need to be able to Frameserve via TCP/IP, which I believe it currently doesn't work.

-kwag
Even with videolan ?


By the way, I really don't understand what is the final purpose : to gain compression time ?
Reply With Quote
  #4  
06-19-2003, 03:17 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Even in theory, there wouldn't be much gained, unless you are talk some serious processing time.

A Vdub-like filtering method is a bit more likely to be able to work distributed (since it is fairly linear), put passing along uncompressed videoframes back and forth between computers would most likely kill anything gained from it.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #5  
06-19-2003, 03:28 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, unless the network was fiberoptics or at least a GIGABit network

-kwag
Reply With Quote
  #6  
06-19-2003, 03:40 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I tried to do this on a 100baseT network. I was accessing the Vobs and frameserving over my network to my local PC, because my laptop has lots of CPU power, but all my HD space was on the fileserver.

It took freakin forever to encode because even at 100Mbp/s it couldn't keep up.

Look under the couch for some pennies and upgrade your machine. Much easier and simplier then trying to design a distributed system just to encode KVCD.
Reply With Quote
  #7  
06-19-2003, 06:28 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ MrTibs..

As long as TIME is not a factor, then this or any other method of "chaining"
would work. But, this would definately tie up your pcs some what.. and
especally over a network. I use a 100Tbase but even at the rate, it's
still slow when encoding over a network. As long as you have ONE
item on the chain during your encoding, you are looking at a slow-down.
Move EVERYTHING to one drive, and your encoding speed should not
be effected. But, don't get discuraged w/ your thoughts on this.

Your example seems to indicate this script pattern/flow (assuming networked
computers) Mind you, this is assuming you are initating from a MAIN pc..
and that the MAIN pc. You start your first .AVS source on your MAIN pc,
then, wherever TMPG is, you start that, and it will "milk" all the scripts
into a final encode. But, break/stop anyone of those .AVS scripts, and
TMPG will either "freeze" or continue encodng "blackness" or whatever.
Just remember that your MAIN (or 1st) PC that starts the kickoff of the
.AVS script (frameserver) could be any PC in the chain, but you can't
start the process, say at CMP2 for instance. You have to start it at
CMP1, followed by CMP2, and last CMP3 --> TMPG. TMPG can be running on
any one of those PC's. That's why you note how I put the process in the
sort order below, because starting CMP2 wont work.. cause CMP1 doesn't
yet exhist, let along CMP3, and worse, TMPG!! Also note that colorspace
may be effected by this "chaining" cause you are "filtering" through
all those frameservers (but I could be wrong.. experiment to be sure)

CMP1(AVS["cmp1.avs"]) -> CMP2(AVS["cmp2.avs"]) -> CMP3(AVS["cmp3.avs"])--> TMPG

Computer 1:

Code:
 Avisource("cmp1.avi") 
Telecide() 
Decimate()
-- cmp1. "CMP1.AVS" --

Notes.. We always start from this script first.. "CMP1.AVS" whichever
...........computer it's on.



Computer 2:
Code:
 Avisource (cmp1.avs) 
Temporalsmoother(4,3)
-- cmp2. "CMP2.AVS" --

Notes.. Computer 2 opens up Computer 1's .AVS script "CMP1.AVS"


Computer 3:
Code:
 Avisource(cmp2.avs) 
PixieDust()
-- cmp3. "CMP3.AVS" --

Notes.. Computer 3 will open up Computer 2's .AVS script "CMP2.AVS"


Encoder: TMPG("CMP3.AVS")
Notes.. finally, TMPG (any computer) will open up .AVS script "CMP3.AVS"


Main Notes:
-------------------------
* User always starts off w/ FIRST script ie, "CMP1.AVS" no mater which
...computer that script is on.
...Also, any of the .AVS (or .VDR) scripts can be on any computer
* The actual video files ie, .AVI or .D2V can be on any computer
* The encoder can also be on any computer

Special Note..
-------------------------
Remeber, that the more computers you have "networked", the slower the
final encoding will be.. no matter which computer has the scripts and
video files etc. They are all hooked up to each other, and as soon as
ONE item is linked on another computer, there goes your speed.

Ok, I believe that this should work. Only way to know, is to have
3 computers, and try it !!

Good luck.
-vhelp
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: What scripts are you using? rainer Avisynth Scripting 9 04-17-2007 12:51 AM
what are AviSynth Scripts? krustytheklown Avisynth Scripting 11 08-10-2003 08:43 PM
Sizes with scripts for avisynth 2.08 vs avisynth 2.52 ? jorel Avisynth Scripting 24 07-10-2003 09:57 PM
Avisynth: How do you load these scripts? pixeldotz Avisynth Scripting 3 06-23-2003 04:35 AM
Avisynth: My avisynth scripts do not work ! Kane Avisynth Scripting 2 04-16-2003 03:40 AM

Thread Tools



 
All times are GMT -5. The time now is 09:21 PM  —  vBulletin Jelsoft Enterprises Ltd