Log in

View Full Version : Others 2 questions on AviSynth


Matrixbob
11th December 2007, 10:08
Others 2 questions:

[1]
If:
- AviSynth is a frameserver;
- A frameserver is a program that work as a audio/video source (Avisynth acts as the "middle man" between your videos and video applications).
- A script is a program written in a scripting language.
Then:
We are speaking about a program that executes a program, is correct this?

[2]
If:
Output of AviSynth is a audiovisual flow
Then:
What's realy? Frame + synchronized audio? Images in the RGB space of colors + what?

[3]
If:
- AVI are the container of codified video, and codified audio?
Then:
In AVISynth what'is the entity in output?

Guest
11th December 2007, 14:27
I'm afraid your translator has made your post senseless, and therefore impossible to answer.

Matrixbob
11th December 2007, 17:01
I'm afraid your translator has made your post senseless, and therefore impossible to answer.

I'm edit:
http://forum.doom9.org/showpost.php?p=1075088&postcount=1

Blue_MiSfit
11th December 2007, 21:37
I'll give this a try :) More knowledgeable people please feel free to correct me as I'm no expert!


If:
- AviSynth is a frameserver;
- A frameserver is a program that work as a audio/video source (Avisynth acts as the "middle man" between your videos and video applications).
- A script is a program written in a scripting language.
Then:
We are speaking about a program that executes a program, is correct this?


Avisynth is a frameserver. To the client program, the result of an AviSynth script appears as uncompressed video. The client program does not "execute" avisynth in my understanding. Avisynth provides it with video frames (and synchronized audio, in some cases)


[2]
If:
Output of AviSynth is a audiovisual flow
Then:
What's realy? Frame + synchronized audio? Images in the RGB space of colors + what?

It's an uncompressed video stream in whatever color-space your script outputs. That can be RGB24, RGB32, YUY2, YV12, or any of the other supported colorspaces. Audio can be synchronized to this as well (and processed inside of AviSynth)


[3]
If:
- AVI are the container of codified video, and codified audio?
Then:
In AVISynth what'is the entity in output?

AVI is one of many audio/video containers. It's a very common choice. What does avisynth feed its client, exactly? I don't know. I would imagine it's similar to an AVI with uncompressed video, and uncompressed audio. Whether these streams are delivered discretely or as a muxed stream - I don't know.

I hope that helps...

Avisynth devs?

~MiSfit

IanB
11th December 2007, 22:49
If:
- AviSynth is a frameserver;
- A frameserver is a program that work as a audio/video source (Avisynth acts as the "middle man" between your videos and video applications).
- A script is a program written in a scripting language.
Then:
We are speaking about a program that executes a program, is correct this?Avisynth is actually a Library that other programs can call. It allows the main program to execute a script to preprocess the video and audio before it receives it.

But yes loosely, a program that executes a program is the general idea.
If:
Output of AviSynth is a audiovisual flow
Then:
What's realy? Frame + synchronized audio? Images in the RGB space of colors + what?Avisynth provides a stream of audio synchronized to a series of video frames, much the same as a normal .AVI file does.
If:
- AVI are the container of codified video, and codified audio?
Then:
In AVISynth what'is the entity in output?The output video format is format at the end of the script. It will be one of YV12, YUY2, RGB32 or RGB24 and the Height, Width and FPS will be as specified at the end of the script.

The output audio format will also be as specified at the end of the script. It will be raw PCM with 8, 16, 24 or 32 bits per sample and the number of channels and Samples per Second will be as specified at the end of the script.

Use the Info() filter to examine the properties at the end of your script. You need to write your script to provide the output formats expected by the application you are loading it into. i.e TMPGEnc expects RGB24, VirtualDub works with all.

You might look at http://www.64k.it/andres/dettaglio.php?sez=avisynth for some leads to Italian language resources for Avisynth.