A geneic VLC 'out of tree' code base that can be used to write a VLC Video Output Plugin.
To get started (Assuming this will be built on an Ubuntu platform):
- If you don't have scons install it: sudo apt-get install scons . You'll need libzmq to compile this: sudo apt-get install libzmq3 libzmq3-dev
- Follow the instructions for 'Installing the development files' from this page: https://wiki.videolan.org/OutOfTreeCompile/
- Clone this repo
- Go in the newly created vlc_plugin directory
- build using scons: (type 'scons')
- install (assuming VLC video output plugins are in /usr/lib/vlc/plugins/video_output) by typing ('sudo scons install')
- run vlc (type 'vlc')
- Go to preferences (either 'ctrl+p' or tools->preferences) select 'video' from the left and then from the 'output' combox select 'My Video Output'
- Play a video and bask in the debug output (if you ran vlc from the command line)
To change the settings of this plugin, you'll have to switch "view all" on in the vlc preferences. You can modifiy the B/W threshold and swtich its dynamic calculation on/off there.
I used https://github.com/cospan/vlc_plugin as a base.