RTP straming and test.sdp

About encoding, codec settings, muxers and filter usage
John Q

RTP straming and test.sdp

Postby John Q » 22 Sep 2004 09:40

Hello,

according to chapter 9 of the vcl howto (RTP streaming section):

in order to stream in RTP we should run:
on the server:
% vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=http://server.example.org:8080/test.sdp}'

on the client(s), run:
% vlc http://server.example.org:8080/test.sdp

my question is regarding this test.sdp:
suppose my input stream is MPEG2 or MPEG4.
Is ""test.sdp" it a file that I have to generate before running theses commands
and put it in DocumentRoot of the http serever?
If so - how to prepare such a test.sdp
or is it supposed to be generated by running the first (server) command
(I did not find such file generated , but maybe I did something incorrect)

regards
John

AndreasB
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Sep 2004 09:20
Location: HiØ, Norway
Contact:

Postby AndreasB » 22 Sep 2004 10:31

sdp=http://server.example.org:8080/test.sdp means that VLC will start a HTTP server on port 8080, serving the test.sdp file.

So yes, it is autogenerated.

John Q

http server

Postby John Q » 22 Sep 2004 13:06

Hello,
First thanks;
second - I am a reallt newbie to these issues;
regarding the http server:
you said: "will start a HTTP server ".
does it start http server of vlc on that port ? (I mean http server which is part of the vlc
application).
or should I run apache (for example) http server on that port before?

regards,
John

AndreasB
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Sep 2004 09:20
Location: HiØ, Norway
Contact:

Postby AndreasB » 22 Sep 2004 13:08

VLC will start a builtin web server yes, so you will not need to do anything.

jbolivar
New Cone
New Cone
Posts: 6
Joined: 02 Oct 2004 05:26
Location: Electronic Engineer
Contact:

RTP command

Postby jbolivar » 15 Oct 2004 07:01

One question, because in the RTP command is used dst=192.168.0.12,port=1234?

Thanks and Regards
L _ Julian E. Bolívar G.
I °v° Ingeniero en Telecomunicaciones
N /(_)\ http://www.julianbolivar.com
U ^ ^
X Powered


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Google [Bot] and 8 guests