Page 1 of 1

Generate SDP file from UDP source?

Posted: 07 Mar 2006 19:23
by abuze
Hi,

I just tried generating SDP from a local file as in this post viewtopic.php?t=16599

vlc -vvv file:///c://sample_100kbit.mp4 --sout=#rtp{dst=127.0.0.1,port=24000,sdp=file://C:/sample.sdp}

But if I want a SDP file generated with an UDP source, how can that be done?

I tried

vlc -vvv udp://@:5000 --sout=#rtp{dst=127.0.0.1,port=24000,sdp=file://C:/sample.sdp}

but the sdp file did not get generated.

The udp source is MPEG2 TS btw

Posted: 17 Apr 2006 16:08
by geo
I used the minisapserver to tell me how an sdp file should look for a udp multicast stream (MPEG2-TS).

Opening a file with one of these gets the channel fine. Sadly, I cannot find a way to get VLC to parse a multi-item SDP file.



v=0
o=UCTV 16914 1 IN IP4 rx1.canberra.edu.au
s=BBC
u=http://uctv.canberra.edu.au
t=0 0
m=video 1234 udp 33
c=IN IP4 233.70.142.171/12
a=type:udp
a=mux:m2t
a=packetformat:RAW
a=tool:miniSAPserver 0.3.2
a=x-plgroup:UCTV