<fw message to pd-list>

VLC rc interface with TCP socket should be cross platform, but position
refresh is slow,
a patch showing it is attached ...

Le 08/10/2015 09:30, Jim Ruxton a écrit :
Thanks Patrice . I tried your patch and it work great. Unfortunately
in the final version of this project I may have to use OSX. I assume
Dbus isn't used on OSX but maybe there is something similar that can
be used with VLC?
Jim


On 2015-10-08 12:37 AM, patrice colet wrote:

 DBus interface provides a wide range of remote controls for players
that are using it,
I've attached a patch where tcl is used to execute dbus-send command
lines for controlling vlc
and get song position to synchronize with Gem frame players.


pat

Le 07/10/2015 09:28, Max a écrit :
A while back I've tried to document different methods, mostly they are
suitable for short clips.
https://github.com/mxa/AudioVideoPatches
If you have something to contribute there, it's welcome.

m.


On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video
files  that have sound  . It works however I don't have much control
over the video playback. Just wondering what methods other people use?
Would I need to strip the soundtrack from the video and synchronize
them
to use Gem?
Thanks.
Jim


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list






#N canvas 767 80 972 377 10;
#X obj 20 267 sys_gui;
#X obj 20 288 print;
#X obj 20 246 r SYS_GUI;
#X obj 16 181 s SYS_GUI;
#X text 16 317 patko2015;
#X text 24 123 launch VLC with GUI;
#X text 40 62 no GUI;
#X obj 639 118 openpanel;
#X obj 639 101 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 11 228 tcl interpreter;
#X msg 639 139 add \$1;
#X obj 247 210 r vlc-server;
#X obj 227 277 t b a;
#X obj 260 299 s SYS_GUI;
#X msg 194 276 set;
#X obj 227 208 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 17 -1 VLC tcp socket interfacing with hc/sys_gui and mrpeach/tcpclient
;
#X msg 28 140 set pid [exec vlc -I rc &] \, pdsend [list vlc-server
$pid], f 31;
#X msg 279 278 puts 'test';
#X msg 723 141 play;
#X msg 756 162 pause;
#N canvas 198 104 565 442 tcpServer 1;
#X obj 48 174 tcpclient;
#X obj 88 200 tgl 15 0 empty empty connected 18 7 0 8 -24198 -13381
-1 1 1;
#X text 119 173 tcpclient opens a tcp socket to send and receive bytes
on;
#X floatatom 223 270 9 0 0 0 - - -, f 9;
#X floatatom 273 244 9 0 0 0 - - -, f 9;
#X text 342 243 Size of the send buffer;
#X obj 223 194 route sent buf blocked;
#X text 293 269 Number of bytes sent;
#X obj 323 220 print sender_blocked!;
#X obj 68 226 unpack 0 0 0 0;
#X floatatom 68 249 3 0 0 0 - - -, f 3;
#X floatatom 99 249 3 0 0 0 - - -, f 3;
#X floatatom 131 249 3 0 0 0 - - -, f 3;
#X floatatom 163 249 3 0 0 0 - - -, f 3;
#X text 28 248 from;
#X text 99 300 Received messages are output as a list of bytes;
#X text 174 329 Attempting to print long messages can hang Pd!;
#X obj 137 99 any2string 0 -1;
#X msg 155 55 disconnect;
#X obj 49 4 inlet;
#X obj 49 26 t a b;
#X obj 128 19 inlet;
#X obj 49 403 outlet;
#X obj 135 120 list append 13 10;
#X obj 49 331 bytes2any 128 32;
#X obj 139 388 spigot;
#X obj 137 411 print >>>;
#X obj 188 384 tgl 15 0 empty empty print 18 7 0 8 -24198 -13381 -1
1 1;
#X obj 131 353 bytes2any 128 0;
#X connect 0 0 24 0;
#X connect 0 0 28 0;
#X connect 0 1 9 0;
#X connect 0 2 1 0;
#X connect 0 3 6 0;
#X connect 6 0 3 0;
#X connect 6 1 4 0;
#X connect 6 2 8 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 9 2 12 0;
#X connect 9 3 13 0;
#X connect 17 0 23 0;
#X connect 18 0 0 0;
#X connect 19 0 20 0;
#X connect 20 0 17 0;
#X connect 21 0 0 0;
#X connect 23 0 0 0;
#X connect 24 0 22 0;
#X connect 25 0 26 0;
#X connect 27 0 25 1;
#X connect 28 0 25 0;
#X restore 482 213 pd tcpServer;
#X obj 20 37 cnv 15 20 20 empty empty 1 2 10 0 14 -233017 -66577 0
;
#X obj 564 12 cnv 15 20 20 empty empty 2 2 10 0 14 -233017 -66577 0
;
#X obj 665 71 cnv 15 20 20 empty empty 3 3 10 0 14 -233017 -66577 0
;
#X msg 758 141 stop;
#X msg 16 77 set pid [exec vlc -I rc --rc-host 127.0.0.1:5555 &] \,
pdsend [list vlc-server $pid], f 42;
#X msg 563 37 connect 127.0.0.1 5555;
#X msg 482 106 help;
#X msg 227 255 exec kill -9 31051;
#X msg 247 230 set exec kill -9 \$1;
#X msg 815 164 volume \$1;
#X obj 827 144 hsl 128 15 0 300 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X text 201 189 kill vlc (unix only);
#X text 379 87 prints vlc help to console;
#N canvas 29 51 642 321 get_time 0;
#X obj 144 11 inlet;
#X obj 142 36 t a a;
#X obj 175 142 spigot;
#X msg 142 114 1;
#X obj 175 164 t b a;
#X msg 228 157 0;
#X obj 142 55 list;
#X obj 441 51 spigot;
#X obj 441 73 t b a;
#X msg 494 66 0;
#X msg 479 28 1;
#X obj 142 95 sel pos: state:;
#X obj 437 109 sel 2 4;
#X msg 437 138 1;
#X msg 474 138 0;
#X obj 437 170 metro 2000;
#X obj 207 184 list split 1;
#X obj 72 75 route bang;
#X obj 126 249 outlet percent;
#X obj 237 249 outlet seconds;
#X msg 437 194 get_time;
#X obj 437 219 outlet retrig;
#X connect 0 0 1 0;
#X connect 1 0 6 0;
#X connect 1 1 2 0;
#X connect 1 1 7 0;
#X connect 2 0 4 0;
#X connect 3 0 2 1;
#X connect 4 0 5 0;
#X connect 4 1 16 0;
#X connect 5 0 2 1;
#X connect 6 0 17 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 8 1 12 0;
#X connect 9 0 7 1;
#X connect 10 0 7 1;
#X connect 11 0 3 0;
#X connect 11 1 10 0;
#X connect 12 0 13 0;
#X connect 12 1 14 0;
#X connect 13 0 15 0;
#X connect 14 0 15 0;
#X connect 15 0 20 0;
#X connect 16 0 18 0;
#X connect 16 1 19 0;
#X connect 17 1 11 0;
#X connect 20 0 21 0;
#X restore 483 286 pd get_time;
#X symbolatom 500 351 10 0 0 0 - - -, f 10;
#X floatatom 586 351 5 0 0 0 - - -, f 5;
#X text 666 101 add media file;
#X connect 0 0 1 0;
#X connect 2 0 0 0;
#X connect 7 0 10 0;
#X connect 8 0 7 0;
#X connect 10 0 21 0;
#X connect 11 0 30 0;
#X connect 12 0 14 0;
#X connect 12 1 13 0;
#X connect 14 0 29 0;
#X connect 15 0 29 0;
#X connect 17 0 3 0;
#X connect 18 0 13 0;
#X connect 19 0 21 0;
#X connect 20 0 21 0;
#X connect 21 0 35 0;
#X connect 25 0 21 0;
#X connect 26 0 3 0;
#X connect 27 0 21 1;
#X connect 28 0 21 0;
#X connect 29 0 12 0;
#X connect 30 0 29 0;
#X connect 31 0 21 0;
#X connect 32 0 31 0;
#X connect 35 0 36 0;
#X connect 35 1 37 0;
#X connect 35 2 21 0;

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to