creating sdp file for rtp streaming

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

creating sdp file for rtp streaming

Postby shai » 26 Apr 2009 18:12

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

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 27 Apr 2009 13:20

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

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 28 Apr 2009 13:08

Help???? some1???? any of the admins? j-b? please i need help

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 30 Apr 2009 10:04

HELP
im in a tight spot and i have to get this done asap please can some1 help me???

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 03 May 2009 10:44

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: creating sdp file for rtp streaming

Postby Rémi Denis-Courmont » 03 May 2009 12:12

Works fine here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 03 May 2009 12:59

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

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 07 May 2009 10:29

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: creating sdp file for rtp streaming

Postby Rémi Denis-Courmont » 07 May 2009 17:52

It's --sout #rtp{...,sdp=file:///path/to/file,...}
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 07 May 2009 18:43

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

Di9rkSchooner
New Cone
New Cone
Posts: 7
Joined: 17 May 2009 01:08

Re: creating sdp file for rtp streaming

Postby Di9rkSchooner » 17 May 2009 01:13

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

Di9rkSchooner
New Cone
New Cone
Posts: 7
Joined: 17 May 2009 01:08

Re: creating sdp file for rtp streaming

Postby Di9rkSchooner » 18 May 2009 10:41

Can I assume this forum is dead then?

Can anybody point me to useful forum that has the infromation on creating sdp files?

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 19 May 2009 15:53

yes
remove the "mux=mp4" part
it doesnt work with encapsulation too bad it wasnt mentioned in the documentation!

Di9rkSchooner
New Cone
New Cone
Posts: 7
Joined: 17 May 2009 01:08

Re: creating sdp file for rtp streaming

Postby Di9rkSchooner » 20 May 2009 23:44

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

shai
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Apr 2009 18:07

Re: creating sdp file for rtp streaming

Postby shai » 21 May 2009 14:05

Hi,
NP man i went through hell to get that (bad documentation would do that)

Di9rkSchooner
New Cone
New Cone
Posts: 7
Joined: 17 May 2009 01:08

Re: creating sdp file for rtp streaming

Postby Di9rkSchooner » 12 Jul 2009 09:58

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests