Generating a sdp file for rtp streaming using vlc

Generating a sdp file for rtp streaming using vlc

Below are the steps to Generating a sdp file for rtp streaming using vlc, Follow the steps below to do so.

I have tested this with the vlc release 1.0.5 Golden Eye.

For more understanding on sdp follow this wiki link.

Creating a stream using GUI.

1. Create one rtp stream through VLC(1.0.5 golden eye).
2. rtp://230.124.124.10:4000
3. Audio port:1, Video Port: 1
4. Disable Active transcoding
5. Profile: Video – MPEG2 + MPGA (TS)
6. TTL: 64
7. Enable stream all elementary streams
8. Generate Stream output string:
:sout=#rtp{dst=239.1.1.1,port=4000,mux=ts,sdp=file:// G:inetpubwwwrootsdpmyts.sdp} :sout-all
9. Start the stream.
10. Copy this sdp file to a webserver.
11. Now open this url in a player using streaming link as
:http://<MyWebServer>/myts.sdp

Command for generating sdp file.

vlc -vvv C:UsersAdministratorDesktopsample.mp4  –sout-keep –sout-all –sout=#rtp{dst=192.168.1.66,port=8833,sdp=file:///C:/my.sdp}

This entry was posted in Tech Guides and tagged . Bookmark the permalink.