Page 1 of 1

VLC sout no sound ubuntu server 9.10

Posted: 20 Jan 2010 18:46
by hollow
Hello,

I'm trying to use http streaming from an Ubuntu server 9.10 and I'm getting the video, but no sound.

On the server I run:

Code: Select all

vlc -d path_to_flv_file.flv --sout="#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=http,dst=server_ip:8080/stream.flv}
I have a browser with a JWPlayer in, which gets the stream from http://server_ip:8080/stream.flv, and shows the movie into the browser. I get the video, but no sound. The server has a public IP address.

If I run the command in a LAN, on a Windows machine, the sound is ok.

I installed vlc on Ubuntu with:

Code: Select all

apt-get vlc screen


Is it because of Ubuntu and codec problems? Thank you!

Re: VLC sout no sound ubuntu server 9.10

Posted: 20 Jan 2010 20:27
by RĂ©mi Denis-Courmont
Ubuntu and Debian do not include MPEG encoding. There should be a fat read error message when you try to do this. You will need to install the unstripped avcodec packages.

Re: VLC sout no sound ubuntu server 9.10

Posted: 20 Jan 2010 21:13
by hollow
Thank you, it is working now. I went through here to activate the packages:

https://wiki.ubuntu.com/ffmpeg

Re: VLC sout no sound ubuntu server 9.10

Posted: 22 Jan 2010 01:05
by Greg
Thanks for the solution post back.
I was wondering what was causing me problems as well.