Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

TCPDeliver

TCPServer (clip clip[, int port])

TCPSource (string hostname [, int port, string compression])

This filter will enable you to send clips over your network. You can connect several clients to the same machine.

Syntax

Server:

TCPServer (clip clip, int port)

This will spawn a server thread on the current machine running on the specified port. Port default is 22050.

You will get output in the application you open your script in, but the server will only be running as long as the application (vdub for instance) is open.

Example:

Colorbars(512, 256)
TCPServer()

will start a server.

Client:

TCPSource (string hostname [, int port, string compression])

This will connect to the machine with the given address (IP-number for instance) to a server running on the given port. Port default is also 22050 here.

Compression enable you to choose the compression used for the video:

Compression TypeDescription
NoneUse no compression. Fastest option - video will not be compressed before being sent over the net
LZOUse [LZO] dictionary compression. Fairly fast, but only compresses well on artificial sources, like cartoons and anime with very uniform surfaces.
HuffmanUses a fairly slow Huffman routine by [Marcus Geelnard]. Compresses natural video better than LZO.
GZipUses a [Gzip] Huffman only compression. Works much like Huffman setting, but seems faster.

If no compression is given, GZip is currently used by default. Interlaced material compresses worse than non-interlaced due to downwards deltaencoding. If network speed is a problem you might want to use SeparateFields.

Example:

TCPSource("127.0.0.1")
Info()

This will connect to the local machine, if a server is running.

Examples

You can use this to run each/some filters on different PC's. For example:

# Clustermember 1:
AVISource()
Deinterlacer()
TCPServer()

# Clustermember 2:
TCPSource()
Sharpener()
TCPServer()

# Clustermember 3:
TCPSource()
# client app -> video codec -> final file

Changelog

v2.55 Initial Release

SourceForge Logo

 


Edit this document | View document history
Document last modified Sun, 01 Aug 2004 10:25:29