Streaming over low bandwidth using Darwin streaming server

About encoding, codec settings, muxers and filter usage
hammadkom
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Mar 2007 21:23

Streaming over low bandwidth using Darwin streaming server

Postby hammadkom » 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

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"}
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

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"}
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

ksh2videolan
New Cone
New Cone
Posts: 1
Joined: 06 Dec 2008 16:09

Re: Streaming over low bandwidth using Darwin streaming server

Postby ksh2videolan » 06 Dec 2008 16:30

Thank you for you tutorial!

Now how can I do this if my Darwin Streaming Server is on another machine?

I mean I have a camera and a microphone on my machine with VLC installed. I have a DSS on another machine. Now I want to stream the video to DSS.

If DSS is on the same machine with my VLC; then no problem (just some problems with audio and synchronization) BUT WHEN DSS IS ON ANOTHER MACHINE, IT DOES NOT ACCEPT MY SDP FILE EVEN BY:

rtsp://192.168.0.173/xtream.sdp
rtsp://BroadcastUser:Password@192.168.0.173/xtream.sdp
rtsp://BroadcastUser:Password@192.168.0.173:8080/xtream.sdp

Any hints?

Thanks in advance!

e-y
New Cone
New Cone
Posts: 4
Joined: 17 Mar 2009 09:54

Re: Streaming over low bandwidth using Darwin streaming server

Postby e-y » 20 Mar 2009 09:13

what is -> dshow:// :dshow-vdev="None" :dshow-adev=""


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests