Streaming TV - OK in command-line but no sound in VLM -> FIX

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
globaltrasher
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2008 20:56

Streaming TV - OK in command-line but no sound in VLM -> FIX

Postby globaltrasher » 21 Aug 2008 21:13

Hi all,

First of all, I'd like to say that VLC rocks!!!

Now, let's get to the point, shall we? :) I have a TV Tuner capturing and streaming TV channel. Everything works flawlessly when set up through command line - see below, please:

Code: Select all

--ttl 50 --extraintf telnet --telnet-password xxx dshow:// :dshow-vdev="AVerMedia BDA Analog Capture" :dshow-adev="AVerMedia BDA Analog Audio Capt" :dshow-size="320x240" :dshow-caching=200 :dshow-chroma="YUY2" :dshow-fps=12.500000 :no-dshow-config :dshow-tuner-channel=42 :dshow-tuner-country=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1 :sout=#transcode{vcodec=h264,vb=72,scale=1,acodec=mp3,ab=32,channels=2}:duplicate{dst=std{access=http,mux=ps,dst=xxx.xxx.xxx.xxx:8080}}
So, then I went ahead and decided to automate things a bit by utilizing VLM in order to be able to stream different channels. Now, in this case I have VLC start up, with telnet interface enabled and custom configuration file loaded. Below is a part of that configuration file showing how I configured VLC through VLM to stream Channel 42:

Code: Select all

new vlc42 broadcast enabled setup vlc42 input "dshow://" setup vlc42 input :dshow-vdev="AVerMedia BDA Analog Capture" setup vlc42 input :dshow-adev="AVerMedia BDA Analog Audio Capt" setup vlc42 option :dshow-size="320x240" setup vlc42 option :dshow-caching=200 setup vlc42 option :dshow-chroma="YUY2" setup vlc42 option :dshow-fps=12.500000 setup vlc42 option :no-dshow-config setup vlc42 option :dshow-tuner-channel=42 setup vlc42 option :dshow-tuner-country=0 setup vlc42 option :dshow-tuner-input=0 setup vlc42 option :dshow-video-input=-1 setup vlc42 option :dshow-audio-input=-1 setup vlc42 option :dshow-video-output=-1 setup vlc42 option :dshow-audio-output=-1 setup vlc42 output #transcode{vcodec=h264,vb=72,scale=1,acodec=mp3,ab=32,channels=2}:duplicate{dst=std{access=http,mux=ps,dst=xxx.xxx.xxx.xxx:8080}}
Then I connect through telnet and play the Channel 42 stream. Problem is, everything works great, except for I have no sound :( The thing is, all input and output settings in VLM are identical as in command-line, yet I get no sound... I tried changing :dshow-audio-input and audio-output values but that does not help...

Can anyone please help me figure this out? I've run out of ideas and start thinking it must be a bug.

BTW, I'm using 8.6i build...

Thank you for your time!
Last edited by globaltrasher on 22 Aug 2008 00:10, edited 1 time in total.

globaltrasher
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2008 20:56

Re: Streaming TV - OK in command-line but no sound in VLM

Postby globaltrasher » 22 Aug 2008 00:08

FIXED!!!

I changed Media Properties for ":dshow-vdev" and ":dshow-adev" from "input" to "option". Now, both video and audio work!

Code: Select all

new vlc42 broadcast enabled setup vlc42 input "dshow://" setup vlc42 option :dshow-vdev="AVerMedia BDA Analog Capture" setup vlc42 option :dshow-adev="AVerMedia BDA Analog Audio Capt" setup vlc42 option :dshow-size="320x240" setup vlc42 option :dshow-caching=200 setup vlc42 option :dshow-chroma="YUY2" setup vlc42 option :dshow-fps=12.500000 setup vlc42 option :no-dshow-config setup vlc42 option :dshow-tuner-channel=42 setup vlc42 option :dshow-tuner-country=0 setup vlc42 option :dshow-tuner-input=0 setup vlc42 option :dshow-video-input=-1 setup vlc42 option :dshow-audio-input=-1 setup vlc42 option :dshow-video-output=-1 setup vlc42 option :dshow-audio-output=-1 setup vlc42 output #transcode{vcodec=h264,vb=72,scale=1,acodec=mp3,ab=32,channels=2}:duplicate{dst=std{access=http,mux=ps,dst=xxx.xxx.xxx.xxx:8080}}
VLC is brilliant for streaming and transcoding live TV over the network and Internet! Thanks for this great piece of software :)


Return to “VLM”

Who is online

Users browsing this forum: Google [Bot] and 2 guests