This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

AVS files?

Problems, bugs, suggestions... anything related to SMPlayer.

AVS files?

Postby TT1 » Wed Apr 30, 2014 12:46 am

Is there any (easy) way to get SMPlayer to recognize and play AVS, or AviSynth files? MPlayer handles them directly, but not when played through SMPlayer. Thanks.
TT1
 

Re: AVS files?

Postby rvm » Wed Apr 30, 2014 2:59 am

Sample?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: AVS files?

Postby TT1 » Fri May 02, 2014 4:42 pm

Some background...

AviSynth is a powerful, open-source, script-driven video editor that provides real-time, on-the-fly, frame-by-frame encoding and playback through certain players.

A script is generated with a text editor, and that script can be opened/run by other video tools such as editors or encoders like Avanti or FFmpeg, or players such as FFplay, Media Player Classic, or even Windows Media Player. I've seen mentioned on various sites that MPlayer will 'play' AVS files. Those programs feed the script to AviSynth (must be 'installed' on the machine) which then applies the script functions frame-by-frame to the video, and feeds it back, frame-by-frame, to the calling program.

AviSynth is better explained here...
http://avisynth.nl/index.php/Main_Page
https://en.wikipedia.org/wiki/AviSynth

Avilable here...
http://sourceforge.net/projects/avisynt ... nth%202.5/

Example 3-line script (save as script.avs). Simply drop the script on FFplay.exe ...

ColorBars(width=320, height=240, pixel_type="YV12")
Trim(0,200)
FadeOut(200, color=$b4b4b4, fps=24)

This script creates a small colorbar video that slowly fades out. Of course, any of the numerous AviSynth functions can be applied to an existing video to be played back, such as...

AVISource("inputvideo.avi")
Grayscale
FlipVertical()

This script would play back inputvideo.avi, converting it to grayscale and flipping it upside down as it does.

I hope this makes sense. I'm not sure what the required parameters are, or if SMPlayer simply passed the script to MPlayer if it would play.
TT1
 


Return to General

Who is online

Users browsing this forum: Google [Bot] and 31 guests