Hello,
maybe you noticed the issue concerning videoplayback on linux.
I wrote a small and dirty script to control VLC (play, pause, stop, next, prev, playlist entry) with QLCPlus through OSC.
I first tried subprocess and communicate (via stdin/stdout) to control vlc through the rc interface, but there seems to be a bug in vlc or lua, thatswhy the script is using oldrc and unix sockets.
Its very far from perfect. I'm thinking about to use mplayer in future. The slave mode there looks a bit more promising, although mplayer has not the pause feature in the playlist, which is quite handy.
One Thing. The unix sockets interface of vlc crashed as I tried out seeking. Thatswhy just simple playback buttons.
Second thing. The internal playlist ID's of VLC dont match with the gui. To get the right numbers you can start:
vlc -I rc
and then type playlist.
This is done really quick. Feel free to change this, or make this better
Files:
VLC-OSC-Remote.qxf (dummy Fixture definition for the python script)
test-vlcosc.qxw (demo)
vlcosc.py (python script)
vlcosc.ui (gtk ui def for the python script)
offtools
Script and fixture definition to control VLC Player (Linux)
- Attachments
-
- VLC-OSC-Remote.qxf
- (1.67 KiB) Downloaded 203 times
-
- test-vlcosc.qxw
- (2.48 KiB) Downloaded 257 times
Hi,
tried the same for mplayer now, works a bit better. It uses files in a folder as playlist.
offtools
tried the same for mplayer now, works a bit better. It uses files in a folder as playlist.
offtools
- Attachments
-
- test-mplayerosc.qxw
- (14.23 KiB) Downloaded 175 times
-
- Mediaplayer-VLC-Linux.qxf
- (1.66 KiB) Downloaded 270 times
-
- Mediaplayer-Mplayer-Linux.qxf
- (3.9 KiB) Downloaded 161 times
-
- Posts: 15
- Joined: Mon May 04, 2015 6:22 pm
- Real Name: Antonio
Hi,
I'm a newbie with QLC+ and scripting, but I've been looking for a good opensource video player controlled by OSC/Artnet and haven't found any. The idea of controlling mplayer or VLC is the best one so far, but I don't understand what I need to do with the files you posted.
Could you give me some indications about what to do with them to make it work? Are there any scripts for Mac or Windows?
Thanks!
I'm a newbie with QLC+ and scripting, but I've been looking for a good opensource video player controlled by OSC/Artnet and haven't found any. The idea of controlling mplayer or VLC is the best one so far, but I don't understand what I need to do with the files you posted.
Could you give me some indications about what to do with them to make it work? Are there any scripts for Mac or Windows?
Thanks!
-
- Posts: 637
- Joined: Sun Apr 12, 2015 6:30 pm
- Real Name: David
Hi,
python scripts are missing. see here: https://sourceforge.net/p/qlcplus/discu ... /6e879b03/
I'm not sure, but they should work on windows and OSX.
.qxw files are qlcplus workspace files, they're just here as an example
.qxf files are fixture definitions files, they go to the fixture definition folder
.py files should be executed while qlc+ is running
I can't provide any more support on this, sorry.
python scripts are missing. see here: https://sourceforge.net/p/qlcplus/discu ... /6e879b03/
I'm not sure, but they should work on windows and OSX.
.qxw files are qlcplus workspace files, they're just here as an example
.qxf files are fixture definitions files, they go to the fixture definition folder
.py files should be executed while qlc+ is running
I can't provide any more support on this, sorry.