Page 1 of 1

SDP File Generation

Posted: 02 Sep 2005 08:43
by diptendu
The Streaming How To mentions the use of SDP files for RTP streaming. How does one use VLC to create a SDP file? I wish to stream live from a web cam using RTP so that the client can simply use

vlc rtsp://domain/file.sdp

The question is how to generate the correct SDP file for the given configuration.

Regards,

Diptendu Dutta

Posted: 02 Sep 2005 10:36
by zorglub
Hello,

If you use the "rtp" stream output module, the SDP will be generated automatically :

vlc input_stream --sout '#transcode{transcode_options}:rtp{sdp=rtsp://0.0.0.0:554/test.sdp}'

or

vlc input_stream --sout '#rtp{sdp=rtsp://0.0.0.0:554/test.sdp}'
if transcode is not needed

and on the client

vlc rtsp://server/test.sdp

Unable to generate SDP file

Posted: 05 Sep 2005 10:40
by diptendu
Hello,

I tried

vlc AA.Mp3 :sout=#rtp{sdp=rtsp:// 192.168.0.8:5000/rtp.sdp}

and the file is playing on the server side but on the client side I am
getting

livedotcom error describeURL failed {connect[] failed unknown error}
no access-demux module matching "rtsp" could be loaded
.......

SDP File Generation

Posted: 09 Sep 2005 01:20
by Gaurav
Hi,

I too was trying to get live capture from a usb webcam and generate an sdp file out of it. Ideally I would like to send this converted stream to a streaming server which would eventually do the streaming.

FOr the command line options given below, what should be the "input stream " switch when a webcam stream is to be delivered.

It'll be great if anyone could shed some light on this.

-Gaurav