BEGINNER - elementary explanation please
Posted: 07 Feb 2019 14:24
Hi, I am completelly new in the VLC console controlling. Working under Windows, need to set-up "videoserver" where I could perform RTSP restreaming of multiple streams, opening and closing it programatically and independently.
First have checked telnet access, but I am unable to make it working. vlc.exe does not listening on default port 4212
Than I discovery the HTTP access to VLM. Successfully make it accessible but unable to control streams that way. Than start learning console monitoring, but do not understood it completelly. What is difference between:
and
and what is the "proper" way to monitor all defined streams? What does means the "table:" section in the output of second command?
[content in another post because of characters exceeded]
Need to perform following actions by VML:
to defined new input and output stream and start restreaming. But it does not working, vlc even dont start listening on port 8555 (port is free) What am I doing wrong?
L.
First have checked telnet access, but I am unable to make it working. vlc.exe does not listening on default port 4212
Code: Select all
vlc.exe -I telnet --telnet-password test
Code: Select all
curl -u ":test" "http://10.12.32.134:8080/requests/status.json"
Code: Select all
curl -u ":test" "http://10.12.32.134:8080/requests/vlm.xml"
[content in another post because of characters exceeded]
Need to perform following actions by VML:
Code: Select all
curl.exe -u ":test" -G "http://10.12.32.134:8080/requests/vlm_cmd.xml" --data-urlencode "command=new channel2 broadcast enabled"
Code: Select all
curl.exe -u ":test" -G "http://10.12.32.134:8080/requests/vlm_cmd.xml" --data-urlencode "command=setup channel1 input rtsp://192.168.0.102:8080/video/h264"
Code: Select all
curl.exe -u ":test" -G "http://10.12.32.134:8080/requests/vlm_cmd.xml" --data-urlencode "command=setup channel1 output #rtp{sdp=rtsp://10.12.32.134:8555"
Code: Select all
curl.exe -u ":test" -G "http://10.12.32.134:8080/requests/vlm_cmd.xml" --data-urlencode "command=control channel2 play"
L.