View Single Post
Old 23rd July 2021, 22:07   #1  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
VapourSynth - AUDIO SUPPORT AND NEW API BETA

It's finally happened!

Biggest changes:
  • Audio support
  • Cleaner API
  • More performance

I'll provide a longer post later but things have now reached a state I'm happy with in general. Basically full backwards compatibility is provided with only a few minor caveats:
  • YCoCg is no longer a separate format so any scripts that reference it will break (now fixed in all known script, simply update your things).
  • Filters that output multiple clips (old api FFMS2 in alpha mode) will simply have outputs beyond the first discarded.
  • Compat formats have been removed so applications that rely on them for output are broken.
  • Avisynth filters now all have a secret argument called compatpack added, set it to True to pack YV16 and RGB24 before passing to the filter.
  • get_read/write_array() functions have been removed in Python and replaced by a better implementation that can't accidentally cause access violations
  • Histogram filter no longer bundled in windows installer since it's not a part of the VS source tree

Note that none of the previously compiled plugins for api4 will work so use the provided versions in this release. If you want to do speed comparisons I'd recommend using the linked FFMS2 binary which supports both old and new VS APIs. The alpha plane is now attached to the main frame and has to be extracted with PropToClip().

https://github.com/vapoursynth/vapou...g/R55-API4-RC2
https://github.com/vapoursynth/vapou...R54-API4-test1 <- get filter binaries from this release
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet

Last edited by Myrsloik; 7th September 2021 at 08:53.
Myrsloik is offline   Reply With Quote