We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › ProXml slow processing-vlc connection
Page Index Toggle Pages: 1
ProXml slow? processing-vlc connection (Read 337 times)
ProXml slow? processing-vlc connection
Feb 10th, 2009, 2:30pm
 
Hi,
I'm working on an installation where i have to control 13 different videos (in 13 different projectors). I've decided to use the vlc as my player and am trying to control it from a PApplet.

Untill now i've been working with the vlc http interface, and connect with the interface with proxml.elements, as the vlc returns an xml for every command t¡you have.

Thing is...
1) instant messages for play, for instance, are not accurated, I'm getting delays. I've been thinking that maybe the problem is that the proxml is a bit slow.

So i've been trying to connect to the commands through client objects... But no success here.

here is how i would have it:



myClient= new Client(this, "127.0.0.1", 8080);
 myClient.write("GET http://127.0.0.1:8080/requests/status.xml?command=pl_stop \HTTP/1.1\n");
 myClient.write("Host: 127.0.0.1" + "\n\n");


But the comands are not executed... How could i do it? How to access this

Also, if anybody has any experience in connecting processing with vlc please answer, i could use some expierence exchange

Thanks a lot!
Re: ProXml slow? processing-vlc connection
Reply #1 - Feb 10th, 2009, 4:21pm
 
Ok, so I have the net working fine, (it was a vlc issue) but still if anybody has experience with processing - vlc please send e a mail or answer this post.

thanks a lot!
Page Index Toggle Pages: 1