Format of SDP files for multicast streams
Posted: 20 Apr 2006 17:10
Hi
I'm using VLC 0.8.4a on XP SP2 to successfully multicast mp4v/mp4a over UDP using the DirectShow interface for an Osprey-300 capture card.
Using vlc I can play this by entering udp://@multicastip:port
What I would now like to be able to do is create an SDP (.sdp) file? to announce the stream which can be placed in an HTML page and served over HTTP having added the necessary MIME type application/sdp .sdp into the web server
So the user simply selects the URL and their VLC/RealNetworks/Helix/WM/QuickTime player - whichever is configured to handle application/sdp - reads the .sdp file and connects to the stream.
Other than the RFC 2327 I can't find any references to the format of the .sdp file so any pointers here would be greatly appreciated.
Any guidance as to the best video and audio codecs to transcode with for the widest range of players would also be appreciated. For 'political' reasons to do with my workplace I need to be able to support VLC and at least one other player/client.
Many thanks
I'm using VLC 0.8.4a on XP SP2 to successfully multicast mp4v/mp4a over UDP using the DirectShow interface for an Osprey-300 capture card.
Code: Select all
vlc -vvv dshow:// :dshow-vdev="Osprey-300 Analog Video 1" :dshow-adev="Osprey-300 Analog Audio 1" :dshow-size="" --sout=#transcode{vcodec=mp4v,vb=768,scale=1,acodec=mp4a,ab=64,channels=2}
:duplicate{dst=std{access=udp,mux=ts,url=239.255.240.12:1234}}
What I would now like to be able to do is create an SDP (.sdp) file? to announce the stream which can be placed in an HTML page and served over HTTP having added the necessary MIME type application/sdp .sdp into the web server
So the user simply selects the URL and their VLC/RealNetworks/Helix/WM/QuickTime player - whichever is configured to handle application/sdp - reads the .sdp file and connects to the stream.
Other than the RFC 2327 I can't find any references to the format of the .sdp file so any pointers here would be greatly appreciated.
Any guidance as to the best video and audio codecs to transcode with for the widest range of players would also be appreciated. For 'political' reasons to do with my workplace I need to be able to support VLC and at least one other player/client.
Many thanks