hi list,it is possible to control vlc from pd using the py external with the rc interface of vlc.
thomas grill made an example in two minutes which i am happy to share.
due to limitations of vlc it seems to be impossible to display video under os x because vlc can't open a window if it's in rc mode, but it works with linux.
import pyext
import sys
from socket import *
class vlc(pyext._class):
def __init__(self,host,port):
self.s = socket(AF_INET, SOCK_STREAM) # create a TCP socket
self.s.connect((str(host), port)) # connect to server on the port
def list_1(self,*atoms):
self.s.send(' '.join(map(str,atoms))+"\r")
d = self.s.recv(1024)
self._outlet(1,d.split())
vlc.pd
Description: Binary data
Am 13.01.2009 um 22:03 schrieb Hans-Christoph Steiner:
People have talked about it in the past, but I haven't seen it working. It should be possible using the "RC" (aka Remote Control) interface in VLC. It would be awesome to have a working example of that. Or you could do it in Gem or PDP... .hc On Jan 13, 2009, at 2:39 PM, Arnaud Tanguy wrote:Hello, Do you know a way to control VLC with Pure data? It seem to work by telnet but I'm a complete newbie for that. Somebody can help me? Best regards.
PGP.sig
Description: Signierter Teil der Nachricht
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
