Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to run avisynth on linux?

OR

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.

Update:

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
add comment

4 Answers

Looks like wine + avs2yuv is the way to go

Quoting from http://akuvian.org/src/avisynth/avs2yuv/:

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
add comment

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? –  hasenj Oct 7 '09 at 10:26
    
    
That link is broken (I believe it was an April fools joke when they posted it) –  hasenj Oct 23 '09 at 17:14
    
Hmm. It was live the day I poseted it, but the parent page (avisynth3.unite-video.com/download.html) 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
add comment

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? –  hasenj 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
add comment

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).

VirtualDub

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.