Log in

View Full Version : VLC plugin for Vapoursynth processing (BETA)


chainik_svp
27th May 2016, 10:11
It was created mainly for the SVP, BUT it can just load a script from the text file.

Sorry, only binaries for now, I'm gonna create repo on the Github a little bit later...


Usage

- choose the correct plugin depending on the OS and VLC version: VLC 2.2 -> libvapoursynth_plugin.dll.22

- locate VLC's "video_filter" directory: "Program files/VideoLAN/VLC/plugins/video_filter" on Windows, "/usr/lib/vlc/plugins/video_filter" on Linux, /Applications/VLC.app/Contents/MacOS/plugins" on OS X

- copy selected plugin file into that directory under the "libvapoursynth_plugin.dll" (or .so, or .dylib) name

- delete "libdeinterlace_plugin.dll" (or .so, or .dylib) !!!

- run VLC and check the filters list under Tools -> Preferences -> All -> Video -> Filters, you should now see "Vapoursynth" filter here. If not - something is wrong with the installation.

- chose the script file

- open the video

- turn on deinterlacing via Video -> Deinterlace -> On

Scripts

The same as for mpv, however "display_fps" global variable is not available.

import vapoursynth as vs
core = vs.get_core(threads=7)
clip = core.std.FlipVertical(video_in)
clip.set_output()

Bugs and limitations

- this's only a beta version now!
- the script is not allowed to increase frame size
- the script is not allowed to increase the frame rate more than x3
- the plugin replaces native "deinterlace" plugin, so you must choose just one of them
- audio synchronization is a huge issue cause the plugin can't "pull" needed frames from the decoder (like it does in mpv). Sometimes it works fine :D
- there definitely some issues with different color spaces, however any (??) YUV should work
- ... ???

download binaries (http://www.svp-team.com/files/gpl/vlc-vapoursynth.zip) for the VLC 2.2/3.0 64-bit (Win, Lin, OSX)