Thread: Avisynth+
View Single Post
Old 21st October 2019, 18:55   #4913  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by markfilipak View Post
Now I have the latest installed. Thanks for the link. And I found the example AVS scripts.

I have crawled through what documentation I could find. I apparently missed some [1].

I was hoping avisynth could serve video files, starting with something simple, like this:

return read('d:\path\movie.mkv')

I see how to create a blank clip or color bars, but I can't find anything like the above. A link to info would be fine of course.

Thanks.

[1]
I can't find a link between this:
http://avisynth.nl/index.php/Internal_functions
and this:
http://avisynth.nl/index.php/AviSynth_Syntax
so it appears I'm missing some crucial info.


You need a source filter to load videos. Common ones are ffms2 and lsmash. They are separate .dll's which will autoload if placed into the plugins directory, or you can explicitly load them with LoadPlugin . Certain source filters have various pros/cons in different situations and for different types of video

FFVideoSource("d:\path\movie.mkv")

or

LWLibavVideoSource("d:\path\movie.mkv")


avisynth is a bit different in that there is an "implied last" , so you don't have to return an output node such as in vapoursynth, you can omit it entirely

If you omit it, it really means
return last

Last edited by poisondeathray; 21st October 2019 at 19:15.
poisondeathray is offline