[streaming] Re: how to create a RTSP stream

Ed _ ed_b_71 at hotmail.com
Fri Apr 7 00:11:28 CEST 2006


Hi Victor,

Thanks

I am actually trying to get a stream to be the input to a darwin server.

I want to read from an RTSP stream - transcode it and make it the input to a 
darwin server to which different RTSP clients (Quick Time/WMP) can connect.

You seem to understand how to configure this - would appreciate your help on 
this.

For starters - I have everything on one box - IP_ADDR

I have an rtsp stream - rtsp://IP_ADDR:8554

I can view the stream using vlc - #vlc rtsp://IP_ADDR:8554

Next I try to modify the orig stream and stream it out again.

vlc -vvv rtsp://IP_ADDR:8554 --sout 
"rtp{dst=IP_ADDR,port=1234,sdp=rtsp://IP_ADDR:8080/test.sdp}"

I get the following error -
[00000274] wxwidgets interface debug: id=0 p=(78,541) s=(407,188)
[00000268] main playlist debug: nothing requested, starting
[00000268] main playlist debug: creating new input thread
[00000277] main input debug: waiting for thread completion
[00000277] main input debug: thread 130948016 (input) created at priority 0 
(src/input/input.c:230)
[00000278] main stream output debug: using sout 
chain=`std{mux="",access="",url="rtp{dst=10.17.12.90,port=1234,sdp=rtsp://10.17.12.90:8080/test.sdp}"}'
[00000278] main stream output debug: stream=`std'
[00000279] main private debug: looking for sout stream module: 1 candidate
[00000279] main private warning: missing value for option mux
[00000279] main private warning: missing value for option access
[00000279] main private debug: set sout option: sout-standard-url to 
rtp{dst=10.17.12.90,port=1234,sdp=rtsp://10.17.12.90:8080/test.sdp}
[00000279] stream_out_standard private debug: creating 
`(null)/(null)://rtp{dst=10.17.12.90,port=1234,sdp=rtsp://10.17.12.90:8080/test.sdp}'
[00000279] stream_out_standard private debug: extention is sdp}
[00000279] stream_out_standard private debug: extention -> mux=(null)
[00000279] stream_out_standard private error: no access _and_ no muxer 
(fatal error)
[00000279] main private warning: no sout stream module matching "std" could 
be loaded
[00000279] main private debug: destroying chain... (name=std)
[00000279] main private debug: destroying chain done
[00000278] main stream output error: stream chained failed for 
`std{mux="",access="",url="rtp{dst=10.17.12.90,port=1234,sdp=rtsp://10.17.12.90:8080/test.sdp}"}'[00000277] 
main input error: cannot start stream output instance, aborting
[00000277] main input debug: thread 130948016 joined (src/input/input.c:386)

Any Idea what I am missing?

thx,
ed

>From: Viktor Kompaneyets <vato at wnet.ua>
>Reply-To: streaming at videolan.org
>To: vls at videolan.org
>Subject: [streaming] Re: how to create  a RTSP stream
>Date: Thu, 06 Apr 2006 14:06:38 +0300
>
>Ed _ wrote:
>
> > I am new to video and streaming -
>
>Lucky man :))
>
> >
> > I have read the documentation and can't figure out how to create an rtsp
> > server using vlc
> >
> > The instructions say -
> > Stream in RTP:
> >
> >     *
> >
> >       on the server, run:
> >
> >       % vlc -vvv input_stream --sout
> >
>'#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://server.example.org:8080/test.sdp}'
> >
> >     *
> >
> >       on the client(s), run:
> >
> >       % vlc rtsp://server.example.org:8080/test.sdp
> >
> >
> > Questions 1.
> > dst - ? why do I need to specify a dst - different clients from 
>different
> > IP addresses need to be able to connect to the rtsp server.
>
>Because dst points VLC to create stream at this _destination_. Clients will
>connect to that destination.
>
> >
> > Question 2 - server.example.org - Do I have to set up another server to
> > host the sdp ?
>
>Read manuals carefully - here should be _your_ server IP or FQDN
>
> > or does the vlc program itself act as the rtsp server.
>
>Yes - VLC _can_ work as rtsp server, or as helper for other servers (Helix,
>Darwin Streamingserver etc.)
>
> > How
> > does one configure all this.
>
>Make changes in your commandlines and all will work.
>
> >
> > thanks a lot
> >
> > ed
> >
> >
> > --
> > This is the streaming mailing-list, see 
>http://www.videolan.org/streaming/
> > To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>--
>Viktor Kompaneyets
>Wnet project manager
>
>--
>This is the streaming mailing-list, see http://www.videolan.org/streaming/
>To unsubscribe, please read http://www.videolan.org/support/lists.html
>


-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list