Streaming over low bandwidth using Darwin streaming server
Posted: 30 Oct 2007 08:45
peace upon you
Hello everybody , today i'll discuss here how to stream using VLC and darwin over low bit rate
quikly
the default code for streaming
where
serverip : darwin ip
default audio port = 1230
audio.sdp :file contains session streaming details
the previous code streams around 32 kbps , but sometimes it reachs 50 kbps
to listen to this stream copy audio.sdp to darwin media folder ( this folder path exists in streamingserver.xml inside tag <PREF NAME="movie_folder" TYPE="CharArray">c:\Program Files\Darwin Streaming Server\Movies</PREF> )
then open vlc->open network stream->rtsp->rtsp://serverip/audio->ok
enjoy :)
NOW ,to reduce output bitrate change the previous code to this code
Note:
samplerate for mpega is multiple of 48000 which means you cant set samplerate with any random value , the VLC will ignore this randome value and set the samplerate to 44100 which is also accepted for mpega
so accepted samplerates
48000
24000
12000
...
..
reducing samplerate will reduce output bit rate an will reduce also quality
so try to choose good sample rate
feel free to any one needs any help in streaming using darwin and ICecast
with my best regards
Mohammad Hammad
Egypt
Hello everybody , today i'll discuss here how to stream using VLC and darwin over low bit rate
quikly
the default code for streaming
Code: Select all
vlc.exe -vvv dshow:// :dshow-vdev="None" :dshow-adev="" --sout "#transcode{acodec=mp3,ab=32}:rtp{dst=serverip,ttl=127,sdp="file://h://audio.sdp"}
serverip : darwin ip
default audio port = 1230
audio.sdp :file contains session streaming details
the previous code streams around 32 kbps , but sometimes it reachs 50 kbps
to listen to this stream copy audio.sdp to darwin media folder ( this folder path exists in streamingserver.xml inside tag <PREF NAME="movie_folder" TYPE="CharArray">c:\Program Files\Darwin Streaming Server\Movies</PREF> )
then open vlc->open network stream->rtsp->rtsp://serverip/audio->ok
enjoy :)
NOW ,to reduce output bitrate change the previous code to this code
Code: Select all
vlc.exe -vvv dshow:// :dshow-vdev="None" :dshow-adev="" --sout "#transcode{acodec=mp3,ab=32,samplerate=24000}:rtp{dst=serverip,ttl=127,sdp="file://h://audio.sdp"}
samplerate for mpega is multiple of 48000 which means you cant set samplerate with any random value , the VLC will ignore this randome value and set the samplerate to 44100 which is also accepted for mpega
so accepted samplerates
48000
24000
12000
...
..
reducing samplerate will reduce output bit rate an will reduce also quality
so try to choose good sample rate
feel free to any one needs any help in streaming using darwin and ICecast
with my best regards
Mohammad Hammad
Egypt