[streaming] Re: using VLC as streaming server

Philippe Van Hecke philippe.vanhecke at belnet.be
Sat Aug 14 12:43:58 CEST 2004


Le Friday 13 August 2004 16:32, Frederic BECK a écrit :
> > Foing this you should decapsulate the mp4 from the mpeg2 ts stream.
> >
> > can you try
> >
> > vlc gunnm_mpeg4-128.mp4 --sout '#rtp{dst=rdis012,port=1234,ttl=3}'  --ttl
> > 3
>
> I tried this, and now i get errors when parsing the received packets in
> the receiving application :'(
>
> What are the differences with this streaming method and the one i was
> using before ? because vlc prints a SDP description, is it added in the
> packet ? in each packet sent ? What should i do woth this ?
This SDP descripiton is not sent into the packet but can be retrieved by http 
server (add sdp=http://host into the rtp{....} ) or sended via sap (add 
sdp=sap://,name="session name" into the rtp{}). this SDP  can be used by some 
client application like vlc,mplayer, quicktime to get the stream.

The diffrence betwen the first and the last way to stream is that in the first
methode you use mp4 (video and audio) are encapsulate into a MPGE2 TS.
With the second methode the mp4 is streamed as two separated stream.
one for video and another one for audio. The same ip address will be used
but on two different port ( as SDP describe).

LePhiloux

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list