Page 1 of 1

VLC as RTSP Server

Posted: 14 Jul 2007 11:07
by jockyw2001
VLC as RTSP server works nicely in my LAN.
The command lines which work are as follows for VLC server (includes video transcoding):

Code: Select all

:sout=#transcode{vcodec=mp4v,vb=384,width=320,height=240}:rtp{dst=192.168.1.29,port=1234,sdp=rtsp://192.168.1.29:7070/test.sdp}
and for VLC client:

Code: Select all

rtsp://192.168.1.29:7070/test.sdp
However, I have the special need that the url on client side should be without the reference to a file. So it should be just:

Code: Select all

rtsp://192.168.1.29:7070
The reason is that I have a mobile device client sw which only can play URLs formatted as rtsp://ip:port

I've dropped "/test.sdp" at the server side and it happily starts streaming. However when I test with a VLC client using

Code: Select all

rtsp://192.168.1.29:7070
there is following error:

Code: Select all

main debug: looking for access_demux module: 1 candidate live555 error: describeURL failed (cannot handle DESCRIBE response: RTSP/1.0 404 Not found)
How can I make it work?

Re: VLC as RTSP Server

Posted: 17 Jul 2007 16:56
by dionoea
Hum, this looks like a duplicate of a previous forum post :) I'll answer it anyway just in case: Try removing "/test.sdp" in your server command line.

Re: VLC as RTSP Server

Posted: 17 Jul 2007 18:43
by jockyw2001
Hum, this looks like a duplicate of a previous forum post :) I'll answer it anyway just in case: Try removing "/test.sdp" in your server command line.
Right :D Nice to see how you handle a batch of support requests.

I already tried that ...
I've dropped "/test.sdp" at the server side and it happily starts streaming. However when I test with a VLC client using