SDP File Generation

About encoding, codec settings, muxers and filter usage
diptendu
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Sep 2005 08:37
Location: Kolkata, India

SDP File Generation

Postby diptendu » 02 Sep 2005 08:43

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

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 02 Sep 2005 10:36

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
Zorglub
Clément Stenac

diptendu
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Sep 2005 08:37
Location: Kolkata, India

Unable to generate SDP file

Postby diptendu » 05 Sep 2005 10:40

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
.......

Gaurav

SDP File Generation

Postby Gaurav » 09 Sep 2005 01:20

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 27 guests