let rc send status codes to processing

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
valquire
New Cone
New Cone
Posts: 3
Joined: 23 Jun 2009 11:53

let rc send status codes to processing

Postby valquire » 23 Jun 2009 12:00

hi there,

I'm controlling vlc with processing (processing.org) via RC interface and it works pretty flawlessly (with release candidate 1.0, for many reasons I have to use that one). however I need to get the status of the videos being played as I want to stop the program in processing after the playlist has been played.

Is the RC capable of sending status messages over telnet? Timestamps etc would be nice too..

Thanks in advance for your help.
Best,
Chris

valquire
New Cone
New Cone
Posts: 3
Joined: 23 Jun 2009 11:53

Re: let rc send status codes to processing

Postby valquire » 23 Jun 2009 12:46

ok, got a stepping stone by myself:

you can read the console output easily with processing via client.readString or something. the thing is to find something interesting in the console. i didn't find a solution to display video stats in realtime in the console or at least a "movie stops now" message..

:roll:

tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

Re: let rc send status codes to processing

Postby tamiro44 » 12 Jul 2009 23:18

You can ask every X seconds "is_playing"

valquire
New Cone
New Cone
Posts: 3
Joined: 23 Jun 2009 11:53

Re: let rc send status codes to processing

Postby valquire » 13 Jul 2009 15:13

thanks for the idea. the problem is that i need a really acurate "timecode". best would be a millisecond accurate output. it's really hard doing video stuff with processing with good performance but with vlc it was quite ok.

cheers,
chris

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: let rc send status codes to processing

Postby Rémi Denis-Courmont » 13 Jul 2009 19:11

I think you're trying to stretch RC a bit too far. For precise control, you really need to use the native C APIs.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

Re: let rc send status codes to processing

Postby tamiro44 » 14 Jul 2009 08:20

Remi hi,
Do you think i can get from RC the video resolution?
I must find a way to adjust my form to video resolution.
Thanks,
Tamir.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: let rc send status codes to processing

Postby Rémi Denis-Courmont » 15 Jul 2009 17:09

No ideas.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 21 guests