Skip to content
umläute edited this page Dec 10, 2018 · 7 revisions

videoVLC

video grabber using VLC

Description

This plugin allows to open any media that VLC can read as if it was a live video feed.

building the plugin

Windows

If ./configure does not automatically detect your installation of libvlc, you can help it by passing the following flags (adjust paths to your system):

--with-libvlc-CFLAGS="-I/c/Programme/VideoLAN/VLC/sdk/include" \
--with-libvlc-LIBS="-L/c/Programme/VideoLAN/VLC/sdk/lib -lvlc"

macOS

If ./configure does not automatically detect your installation of libvlc, you can help it by passing the following flags (adjust paths to your system):

--with-libvlc-CFLAGS="-I/Applications/VLC.app/Contents/MacOS/include" \
--with-libvlc-LIBS="-Wl,-rpath,/Applications/VLC.app/Contents/MacOS/ -L/Applications/VLC.app/Contents/MacOS/ -lvlc"

note: it seems that current VLC-packages for macOS are 64bit only. This

using the plugin

In order to make proper use of videoVLC, it must find the VLC-plugins. If it doesn't do so automatically, you can help it via an environment variable VLC_PLUGIN_PATH which must be set before running Pd/Gem.

Windows

You probably will want to set the environment-variables system-wide. Search the wild wild web on general instructions about setting environment variables:

VLC_PLUGIN_PATH="%ProgramFiles%\VideoLAN\VLC\plugins"

macOS

If you start Pd from the cmdline, you can simply set the environment variable in the same line as the Pd-launch command:

VLC_PLUGIN_PATH="/Applications/VLC.app/Contents/MacOS/plugins" pd -lib Gem

Search the wild wild web for other ways to set environment variables permanently.

Clone this wiki locally