[PD] VLC rc connection

Robert Gruendler doobre at gmail.com
Sat Dec 1 23:32:22 CET 2007


I am using VLC in a project right now and had no luck to control it via
netsend.

Also i needed some output plugins, which can't be changed after starting
the application, so i wrote a small pd object that can start vlc with the
desired
command line options. After opening it, you're able to send all available RC
commands
to it. Starting VLC however only works on a local machine so far, no
starting via network
on a remote computer.

If someone's interested, just contact me by mail and i'll send you the
sourcecode (binary
only available for windows right now). I have to mention that this thing is
only tested by
myself up till now...

best

-robert

- Show quoted text -
On Dec 1, 2007 10:40 PM, wolfgang schwarzenbrunner < schwarz at gen-control.com>
wrote:
- Show quoted text -
oki...

either start vlc from terminal with something like:

/Applications/vlc/VLC.app/Contents/MacOS/VLC --extraintf rc --rc-host
localhost:3000

or just start it as usual and apply the settings from "vlc_settings.png".

the patch itself is a little nothing. - i only testet some basic
features (play, stop, next playlist item... ) and don`t ask me how i
came up with that strange message syntax ("send play play") - sometimes
one argument is enough, sometimes not. if you don`t understand what i
mean - just try the patch and edit the messages.

if you start vlc from terminal you can get a nice list of arguments
after entering "help" when the terminal says that everything is ok and a
remote connection is established...

best
wolfgang


Hans-Christoph Steiner schrieb:
>
> On Dec 1, 2007, at 3:54 PM, Patrice Colet wrote:
>
>> wolfgang schwarzenbrunner a écrit :
>>> maybe this is already totally obsolete...
>>>
>>> some months ago there where some postings about vlc/pd connection over
>>> rc. well i tried it today using "netclient" instead of "netsend".
>>> suddenly the connection works fine. if anybody is interested i can send
>>> the patch and the vlc settings (both pretty trivial). ah ja... and this
>>> is for intel mac/pd.extended (latest version i think).
>>>
>>> best
>>> wolfgang
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>
>> yes please do it!
>>
>
> I second that!
>
> .hc
>
>
>
----------------------------------------------------------------------------
>
>
> News is what people want to keep hidden and everything else is
> publicity.          - Bill Moyers
>
>
>


#N canvas 38 432 754 413 12;
#X obj 53 198 netclient;
#X msg 32 70 connect localhost 3000;
#X msg 87 152 disconnect;
#X floatatom 120 227 5 0 0 0 - - -;
#X msg 285 186 send pause pause;
#X obj 452 67 metro 100;
#X obj 453 40 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
1;
#X msg 322 296 send next next;
#X floatatom 521 42 5 0 0 0 - - -;
#X msg 324 326 send goto 0;
#X msg 326 351 send goto 1;
#X msg 320 270 send stop stop;
#X msg 285 208 send voldown 1;
#X msg 285 230 send volup 1;
#X msg 294 154 send quit quit;
#X msg 303 103 send rewind rewind;
#X obj 34 34 bng 25 250 50 0 empty empty empty 0 -6 0 10 -4034 -1 -1
;
#X text 425 339 for playlist items...;
#X connect 0 1 3 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 15 0;
#X connect 6 0 5 0;
#X connect 7 0 0 0;
#X connect 8 0 5 1;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 0 0;
#X connect 12 0 0 0;
#X connect 13 0 0 0;
#X connect 14 0 0 0;
#X connect 15 0 0 0;
#X connect 16 0 1 0;

______________________________
>
> _________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>


On Dec 1, 2007 10:40 PM, wolfgang schwarzenbrunner <schwarz at gen-control.com>
wrote:

> oki...
>
> either start vlc from terminal with something like:
>
> /Applications/vlc/VLC.app/Contents/MacOS/VLC --extraintf rc --rc-host
> localhost:3000
>
> or just start it as usual and apply the settings from "vlc_settings.png".
>
> the patch itself is a little nothing. - i only testet some basic
> features (play, stop, next playlist item... ) and don`t ask me how i
> came up with that strange message syntax ("send play play") - sometimes
> one argument is enough, sometimes not. if you don`t understand what i
> mean - just try the patch and edit the messages.
>
> if you start vlc from terminal you can get a nice list of arguments
> after entering "help" when the terminal says that everything is ok and a
> remote connection is established...
>
> best
> wolfgang
>
>
> Hans-Christoph Steiner schrieb:
> >
> > On Dec 1, 2007, at 3:54 PM, Patrice Colet wrote:
> >
> >> wolfgang schwarzenbrunner a écrit :
> >>> maybe this is already totally obsolete...
> >>>
> >>> some months ago there where some postings about vlc/pd connection over
> >>> rc. well i tried it today using "netclient" instead of "netsend".
> >>> suddenly the connection works fine. if anybody is interested i can
> send
> >>> the patch and the vlc settings (both pretty trivial). ah ja... and
> this
> >>> is for intel mac/pd.extended (latest version i think).
> >>>
> >>> best
> >>> wolfgang
> >>>
> >>> _______________________________________________
> >>> PD-list at iem.at mailing list
> >>> UNSUBSCRIBE and account-management ->
> >>> http://lists.puredata.info/listinfo/pd-list
> >>
> >> yes please do it!
> >>
> >
> > I second that!
> >
> > .hc
> >
> >
> >
> ----------------------------------------------------------------------------
> >
> >
> > News is what people want to keep hidden and everything else is
> > publicity.          - Bill Moyers
> >
> >
> >
>
>
> #N canvas 38 432 754 413 12;
> #X obj 53 198 netclient;
> #X msg 32 70 connect localhost 3000;
> #X msg 87 152 disconnect;
> #X floatatom 120 227 5 0 0 0 - - -;
> #X msg 285 186 send pause pause;
> #X obj 452 67 metro 100;
> #X obj 453 40 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
> 1;
> #X msg 322 296 send next next;
> #X floatatom 521 42 5 0 0 0 - - -;
> #X msg 324 326 send goto 0;
> #X msg 326 351 send goto 1;
> #X msg 320 270 send stop stop;
> #X msg 285 208 send voldown 1;
> #X msg 285 230 send volup 1;
> #X msg 294 154 send quit quit;
> #X msg 303 103 send rewind rewind;
> #X obj 34 34 bng 25 250 50 0 empty empty empty 0 -6 0 10 -4034 -1 -1
> ;
> #X text 425 339 for playlist items...;
> #X connect 0 1 3 0;
> #X connect 1 0 0 0;
> #X connect 2 0 0 0;
> #X connect 4 0 0 0;
> #X connect 5 0 15 0;
> #X connect 6 0 5 0;
> #X connect 7 0 0 0;
> #X connect 8 0 5 1;
> #X connect 9 0 0 0;
> #X connect 10 0 0 0;
> #X connect 11 0 0 0;
> #X connect 12 0 0 0;
> #X connect 13 0 0 0;
> #X connect 14 0 0 0;
> #X connect 15 0 0 0;
> #X connect 16 0 1 0;
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071201/6a4195d7/attachment.htm>


More information about the Pd-list mailing list