[vlc] Re: rtp streaming

Viktor Kompaneyets vato at wnet.ua
Wed Apr 19 11:23:00 CEST 2006


Philippe De Neve wrote:

> Hi all,
> 
> I'm trying to send a mpg stream using RTP. The thing is that I need to
> know before streaming the rtp ports for the audio and video stream. If I
> use VLM the ports numbers change and I cannot set them (Am I correct
> here?).

No, you're wrong. Look at streaming options more closely

> 
> If I use this command (chapter 4):
> 
> vlc -vvv input_stream --sout
> '#rtp{dst=10.10.4.128,,port=1234,sdp=rtsp://10.10.4.129:8080/test.sdp}'
> Then the video is probably streamed to port 1234 and the audio to 1236, at
> least I  expect this (correct me if wrong).
> 
> But I get this message:
> 
> stream_out_standard error: no access _and_ no muxer (fatal error)
> 
> main error: stream chained failed for
>
`std{mux="",access="",url="'#rtp{dst=10.10.4.128,port=1234,sdp=rtsp://10.10.4.129:8080/test.sdp}'"}'

AFAIK, you should set mux and access respectively (mpeg ES and rtsp) - and
error clearly shows you that. Second, I'm not shure, but I'll prefer
sdp=file://path/test.sdp or url=rtsp://<addr:port>/test.sdp  

> 
> main error: cannot start stream output instance, aborting
> 
> Do I need to set the muxer and access module? 

Yes, as for me - it is mandatory.

> I thought they where fixed 
> when streaming over rtsp?

I don't think so

> 
> Anybody got a solution.

Of cource ;)

Can I ask you - which version of VLC do you're using?
Have you buid it by yourself?

-- 
Viktor Kompaneyets
Wnet project manager

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



More information about the vlc mailing list