Page 1 of 1

how send video to vlc with socket Tcp or udp

Posted: 03 Sep 2009 10:29
by tulkas85
Hi, I hope someone can help me.

I'm trying to send a video-file using a socket unix to vlc.

My software don't work, maybe I don't know the protocol to use.

If I use Udp connection, after bind call I use recvfrom for take and store address of vlc player.
recvfrom is block-mode and stop my software.

When i press play to vlc , the recvfrom is always blocked and the connection don't happen... why?

p.s. sorry for the english....

Re: how send video to vlc with socket Tcp or udp

Posted: 03 Sep 2009 17:29
by RĂ©mi Denis-Courmont
You should rather use a pipe or a named FIFO if you want to write a stream to a local VLC process.