Page 1 of 1

Is this correct

Posted: 01 Aug 2011 16:33
by kevintcore
I am having a hard time streaming with the following commands. I could be dealing with network issues but before I go push that department for help, I would like to know if what I am doing should work.

vlc temp.wav :sout=#transcode{vcodec=none,vb=0,scale=0,acodec=mlaw,ab=16,channels=1,samplerate=32000}:rtp{dst=239.255.65.150,port=40000} :no-sout-rtp-sap :no-sout-standard-sap :ttl=64 :sout-keep --loop

vlc rtp://@239.255.65.150:40000

I know the first command is working but I have a decoder device I can configure to listen to it. However, the second command does not work. It brings of the VLC UI with the rtp address in the playlist and the play button changed to pause but I do not hear sound. Am I doing any thing wrong?

Re: Is this correct

Posted: 01 Aug 2011 18:33
by VLC_help
You can remove vcodec, vb and scale parts from transcode command.

Does

Code: Select all

vlc rtp://239.255.65.150:40000
work any better?

Re: Is this correct

Posted: 01 Aug 2011 20:00
by kevintcore
It works the same way with or without the '@'.
Removing the extraneous video options doesn't make a difference either.

Re: Is this correct

Posted: 01 Aug 2011 20:01
by kevintcore
To be more clear, including the '@' or not including it doesn't make a difference. It does not work either way.

Re: Is this correct

Posted: 01 Aug 2011 21:35
by kevintcore
I believe the problem is that I am trying to play a muLaw stream and the support for this is poor. If I change my output stream to mp3, then the second VLC instance plays audio. But I need VLC to play a stream from an encoder device that outputs muLaw / G.711 PCM. Any suggestions how I can make this work?

Re: Is this correct

Posted: 02 Aug 2011 15:05
by VLC_help
When you start the server, does the log complain something?