Page 1 of 1
creating sdp file for rtp streaming
Posted: 26 Apr 2009 18:12
by shai
Hi,
i want to use vlc to re-stream a network stream so i use the stream options and i fill in all the correct data and etc (choose rtp ,correct ip , correct port, correct encoder)
now i also need it to create sdp file
i did a look in the forums and found this
viewtopic.php?f=11&t=29393
which say u can create it via the vlm (i dont know exactly how this telnet interface works i connected to it but i dont know how to operate it and "help" command got too many stuff in it)
what should i write in the text input that builds the re-stream with my option to achieve this via the regular interface
thanks in advance
Re: creating sdp file for rtp streaming
Posted: 27 Apr 2009 13:20
by shai
Hi,
i've search the forum more and read the help some more
the line i place in the text input in the stream option screen is
":sout=#transcode{acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=rtp{dst=172.16.10.15,mux=mp4,port=1235,port-audio=1234,port-video=1236,sdp=file://c:/test.sdp}}"
accroding to
http://www.videolan.org/doc/streaming-h ... /ch03.html in the rtp section this SHOULD work
but no sdp file is created.....
pls help???
Re: creating sdp file for rtp streaming
Posted: 28 Apr 2009 13:08
by shai
Help???? some1???? any of the admins? j-b? please i need help
Re: creating sdp file for rtp streaming
Posted: 30 Apr 2009 10:04
by shai
HELP
im in a tight spot and i have to get this done asap please can some1 help me???
Re: creating sdp file for rtp streaming
Posted: 03 May 2009 10:44
by shai
SOME1 PLS a reply at least.......... some kind of help would be NICE
all i want is to vlc to create an SDP file for me
Re: creating sdp file for rtp streaming
Posted: 03 May 2009 12:12
by Rémi Denis-Courmont
Works fine here.
Re: creating sdp file for rtp streaming
Posted: 03 May 2009 12:59
by shai
so can you please help me since its not working fine here....
my vlc version is 0.9.9 grishenko
the sdp file is not create like i said and i've placed example up is my example correct? (on 2nd post)
if all fails could you please post the sdp file u maded that properly describe the RTP i described up (on 2nd post)
thank you very much for your help
shai
Re: creating sdp file for rtp streaming
Posted: 07 May 2009 10:29
by shai
HELP ME PLS IM DESPERATE I DONT WANT TO PM U ADMINS CAUSE I KNOW U DONT LIKE IT BUT PLEASEEEEEEEEEEEEEEEEEE HELP
i tried this on different comps and different versions of VLC
PLEASE HELP ME PLSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Re: creating sdp file for rtp streaming
Posted: 07 May 2009 17:52
by Rémi Denis-Courmont
It's --sout #rtp{...,sdp=file:///path/to/file,...}
Re: creating sdp file for rtp streaming
Posted: 07 May 2009 18:43
by shai
the line i pasted above is taken from vlc (in the stream window at the bottom input field)
":sout=#transcode{acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=rtp{dst=172.16.10.15,mux=mp4,port=1235,port-audio=1234,port-video=1236,sdp=file://c:/test.sdp}}"
i only added the ",sdp=file://c:/test.sdp" according to the help/documentation "
http://www.videolan.org/doc/streaming-h ... /ch03.html"
so im not sure what to do with the line u gave me ... does it go in the same input field i mentioned? or u run in via command line or somthing? can u please describe it in more details...
thanks for help
shai
Re: creating sdp file for rtp streaming
Posted: 17 May 2009 01:13
by Di9rkSchooner
I am having exactly the same problems trying to output an sdp file locally. I have followed what instructions and examples I can find exactly, and no sdp file is created.
here is my line (On Vista64):
:sout=#transcode{vcodec=h264,vb=300,scale=0.5,acodec=mp4a,ab=64,channels=2}
:duplicate{dst=display,dst=rtp{dst=xxx.xxx.xxx.xxx,mux=mp4,port=xxxx,port-audio=xxxx,port-video=xxxx,sdp=file://C:/test.sdp}}
tried many dif paths etc, with and without play locally, no luck anybody any ideas where I am going wrong?
Used Quicktime Broadcaster, Wirecast (Mac & PC) without problems (been live streaming for over 3 years), but I cant get an sdp file out of VLC.....
Re: creating sdp file for rtp streaming
Posted: 18 May 2009 10:41
by Di9rkSchooner
Can I assume this forum is dead then?
Can anybody point me to useful forum that has the infromation on creating sdp files?
Re: creating sdp file for rtp streaming
Posted: 19 May 2009 15:53
by shai
yes
remove the "mux=mp4" part
it doesnt work with encapsulation too bad it wasnt mentioned in the documentation!
Re: creating sdp file for rtp streaming
Posted: 20 May 2009 23:44
by Di9rkSchooner
Shai, I can't thank you enough for this, it was driving me insane, thankyou so much it works as it should now.
This info should def. be added to the documentation.
Thank's a gain, now to get some streaming going......
Re: creating sdp file for rtp streaming
Posted: 21 May 2009 14:05
by shai
Hi,
NP man i went through hell to get that (bad documentation would do that)
Re: creating sdp file for rtp streaming
Posted: 12 Jul 2009 09:58
by Di9rkSchooner
Would you beleive it, I got all this working with the beta release of 1.0, now with the official release, using exactly the same config line, VLC crashes immediately. Take out the "file=...." part, and it will work, but obvioulsy not wirte an sdp file. the only sdp file I have managed to create is basically nul, and more of a debug text than an sdp:
v=0
o=- 14844897652964851712 14844897652964851712 IN IP4 xxxxx
s=Unnamed
i=N/A
c=IN IP4 xxx.xxx.xxx.xxx
t=0 0
a=tool:vlc 1.0.0
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 5004 RTP/AVP 33
b=RR:0
a=rtpmap:33 MP2T/90000
I am going to try the rc client again, just to make sure, it could be peculiar to the machine.
Why not add a "write sdp file" button, and test it works, then add it to the next release? I know there was such a feature a few versions back, but it's gone now.
Still a great app, just a little inconsistent at times.