[OSC_dev] Adding OSC support to VLC

Nicholas J Humfrey njh at aelius.com
Mon Nov 24 13:26:29 PST 2008


Hello,

I am thinking about adding OSC support to VideoLan. I did some work on  
using MPRIS (http://www.mpris.org/), which uses D-Bus to communicate  
with with VLC, but I am missing OSC and could do without the hassle of  
running D-Bus.

I previously wrote MadJACK, an MPEG Audio Deck which sends its output  
to Jack:
http://www.aelius.com/njh/madjack/


I tried to design the protocol to be generic, so that it could be used  
by other media players too. There doesn't seem to be very much  
standardisation of OSC messages in the community (apart from the 'SYN'  
namespace).

What do people think about my message format and namespace?
Is it useful to standardise the messages for inter-compatibility?
Would it be helpful to change the protocol to be able to address  
multiple decks?


My plan is to initially just support the commands that don't need  
replies:
/deck/play
/deck/pause
/deck/stop
/deck/cue (f)
/deck/eject
/deck/load (s)
/deck/volume (s)

And if playlists were supported:
/deck/add_track (s)
/deck/next
/deck/previous
/deck/repeat (T/F)



nick.



More information about the OSC_dev mailing list