Using VLC as RTSP server
Posted
by StackedCrooked
on Super User
See other posts from Super User
or by StackedCrooked
Published on 2009-12-18T20:54:43Z
Indexed on
2010/05/15
18:34 UTC
Read the original article
Hit count: 777
I'm trying to figure out how to use the server capabilities of VLC. More specifically, how to export an SDP file when RTP streaming. In chapter 4 in the section related to RTP Streaming examples for server and client are given:
vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://server.example.org:8080/test.sdp}'
vlc rtsp://server.example.org:8080/test.sdp
It's not very clear to me how to make it actually work. I have tried these two commands for server and client using two cmd instances:
vlc -I rc screen:// --sout=#rtp{dst=127.0.0.1,port=4444,sdp=rtsp://localhost:8080/test.sdp}
vlc -I rc rtsp://localhost:8080/test.sdp
Invoking the second command causes the first one to crash. The second command shows the error message "could not connect to localhost:8080".
© Super User or respective owner