Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to run avisynth on linux?


Is there a similar tool? That is, a way to write a script file that can be played in a video player and/or fed into an encoder, etc.


My distro is min (ubuntu based).

I tried to build from source and failed (it's complicated, I might try again sometime).

Let me Clarify

I don't want to get avisynth to run as much as I want to be able to montage videos with a text/script file.

The real question here: is there something else on linux that allows this?

For instance: is it possible to use gstreamer to montage videos through scripts? If yes, then how?

share|improve this question

Looks like wine + avs2yuv is the way to go

Quoting from

Sample usage:
wine avs2yuv.exe foo.avs - | mencoder - -o hfyu.avi -ovc lavc -lavcopts vcodec=ffvhuff:vstrict=-1:pred=2:context=1

share|improve this answer

If you are willing to compile it, there is Avisynth 3.0 - source is available & there's a Gentoo binary distro.

share|improve this answer
link for the binary distro? – hasen Oct 7 '09 at 10:26
That link is broken (I believe it was an April fools joke when they posted it) – hasen Oct 23 '09 at 17:14
Hmm. It was live the day I poseted it, but the parent page ( doesn't read like yoyur typical April fools joke... – DaveParillo Oct 23 '09 at 18:30
Avisynth 3.0 never really got off the ground.. It was an attempt to bring AviSynth natively to *nix, but didn't quite make it... (it was not a simple port). – Peter.O Jan 12 '12 at 9:05

If you have an AviSynth build from Windows that you really like, and building your own doesn't work for you, you could try it in Wine. You don't give your distribution but it's likely available (if not already installed).

share|improve this answer
When I install it under wine, how do I make use of it? – hasen Oct 7 '09 at 11:32
If you have wine configured right, you should be able to run the .exe from a commandline. – quack quixote Oct 7 '09 at 12:10

avs2yuv is an AviSynth proxy for programs which are not AviSynth aware. However avs2yuv only handles the video stream; audio is ignored.

That means that the audio must be handled seperately. This often voids some of the strong features of AviSynth.. eg. to manipulate a section of audio, or if you want to cut the stream. you will of course want to cut the audio too...

A wine combination of the following 2 apps, enables the handling both audio and video streams concurrently, as you would normally expect from AviSynth...

avidemux2 and avsproxy to the rescue

You can also feed AviSynth scripts via wine to VirtualDub (for Windows).
It too handles both audio and video streams (as expected).


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .