MP3 OGG HTML5 audio streaming

About encoding, codec settings, muxers and filter usage
kevinspage
New Cone
New Cone
Posts: 4
Joined: 24 Oct 2014 17:19

MP3 OGG HTML5 audio streaming

Postby kevinspage » 24 Oct 2014 18:07

I am currently broadcasting stereo sound from my yard using two quality condenser microphones, a Behringer XENYX Q802USB usb mixer, an always on win 7 pc and VLC.
www.kevinspage.com
http://www.behringer.com/EN/Products/Q802USB.aspx

I am streaming mp3 and ogg audio with html 5 code for cross browser compatibility.
www.kevinspage.com

When I start two instances to stream manually, everything works great.
I set up batch files in the startup directory to auto start the streams on reboot.

This worked great when I used a blue Icicle audio capture device.

Now that I have the Behringer mixer, I cant seem to get the stream to work.

Both instances of VLC launch and I get no warnings or error codes but the audio doesn't not come through on the browser.

Something like missing spaces or misplaces quotes will break the command line batch file.

Could someone look at the information below and tell me what I have done wrong?

Thanks!
~Kevin.

mp3 batch file:
@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev=none :dshow-adev= Stereo Mix (2-BEHRINGER USB WD :sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8080/}" :sout-all :sout-keep

ogg batch file:
@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev=none :dshow-adev= Stereo Mix (2-BEHRINGER USB WD :sout="#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{mux=ogg,dst=:8081/}" :sout-all :sout-keep

MP3 Instance:
:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8080/} :sout-all :sout-keep

ogg instance:
:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300
:sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ogg,dst=:8081/}} :sout-all :sout-keep

kevinspage
New Cone
New Cone
Posts: 4
Joined: 24 Oct 2014 17:19

Re: MP3 OGG HTML5 audio streaming

Postby kevinspage » 05 Feb 2015 15:20

Streaming works when I manually start but I cant get the batch files to work. Please Help!

Batch files:
@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev= none :dshow-adev= Stereo Mix (2- BEHRINGER USB WD :live-caching= 300 :sout= #transcode{vcodec= none,acodec= mp3,ab= 128,channels= 2,samplerate= 44100}:duplicate{dst= http{mux= mp3,dst= :8080/},dst= display} :sout-all :sout-keep

@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev= none :dshow-adev= Stereo Mix (2- BEHRINGER USB WD :live-caching= 300 :sout= #transcode{vcodec= none,acodec= vorb,ab= 128,channels= 2,samplerate= 44100}:duplicate{dst=http{mux= ogg,dst= :8081/},dst= display} :sout-all :sout-keep

Command lines copied from the two instances I start manually that work fine:
:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300 :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=mp3,dst=:8080/},dst=display} :sout-all :sout-keep

:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300 :sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ogg,dst=:8081/},dst=display} :sout-all :sout-keep


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests