Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to set up a remotely controlled (through SSH) streaming server with VideoLAN VLC.

I managed start the RTP stream through SSH with the command:

cvlc v4l2:///dev/video0 --sout #transcode{vcodec=mp2v,"vb=800,scale=1,acodec=none}:rtp{dst=127.0.0.1,port=5004,mux=ts}" 
            :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

But I don't know how to send PAUSE/PLAY/EXIT commands through SSH. I suppose a way to terminate the VLC process could suffice. How can I do that?

I'm using Java and GanymedSSH for the remote shell.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.