[vlc-devel] rtp/rtsp problem with streaming

Lauri Pitkänen lauri.pitkanen at iki.fi
Tue Jul 19 12:14:20 CEST 2005


Tuomas Lukinmaa (tumu) asked me to email this information to you
apparently on the request of a list member.

Our current setup is for experimenting only and runs as follows: acts as a source pushing out two streams. Both streams are
single files as loops:
The first is 384Kbps mpeg4 + 96Kbps mpga + mpeg ts with a resolution of
The second is 768Kbps mpeg4 + 96Kbps aac + mpeg ts with a resolution of

The VLM lines are as follows:

> setup test1 input /root/mp4v384_mpga96_ts_384x288_deinterlace_1.mpg
> setup test2 input /root/mp4v768_mp4a96_ts_384x288_deinterlace_1.mpg
> setup test1 output
> setup test2 output
#duplicate{dst=standard{access=udp,mux=ts,url=},dst=standard{access=udp,mux=ts,url=}} then offers them via http at ports 8080 and 8081 respectively
still using ts muxing:

> setup test1 input udp:@:1234
> setup test1 output #standard{mux=ts,access=http,url=}
> setup test2 input udp:@:2000
> setup test2 output #standard{mux=ts,access=http,url=} takes the first stream and attempts to relay it as rtp:

setup test1 input "udp:@:1234"
setup test1 output #rtp{port=9200,sdp=rtsp://:800/test.sdp,name="pwned"}

This is accessible, but for only one client at a time. If multiple clients
attempt to connect, they will not find the stream. I believe the error
message was "no rtsp session in progress" although Tuomas knows better.

Note that this can apparently only be tested with multiple machines as VLC
cannot open multiple rtp streams on one machine due to it always using the
same receiving ports.

All these streams should be running just now to allow testing. If they are
not, I can restart them easily if contacted via Tuomas, email or
late- at ircnet.

I'm also a bit curious about formats. The official formats list on
videolan.org says that aac is not supported for raw and should thus not be
supported for rtp, but isn't aac used for rtp constantly by Quicktime and


Lauri Pitkänen
AssemblyTV 2005

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

More information about the vlc-devel mailing list