VLC sout no sound ubuntu server 9.10

About encoding, codec settings, muxers and filter usage
hollow
New Cone
New Cone
Posts: 5
Joined: 20 Jan 2010 17:49

VLC sout no sound ubuntu server 9.10

Postby hollow » 20 Jan 2010 18:46

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC sout no sound ubuntu server 9.10

Postby Rémi Denis-Courmont » 20 Jan 2010 20:27

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hollow
New Cone
New Cone
Posts: 5
Joined: 20 Jan 2010 17:49

Re: VLC sout no sound ubuntu server 9.10

Postby hollow » 20 Jan 2010 21:13

Thank you, it is working now. I went through here to activate the packages:

https://wiki.ubuntu.com/ffmpeg

Greg
Cone that earned his stripes
Cone that earned his stripes
Posts: 316
Joined: 24 Feb 2009 00:37

Re: VLC sout no sound ubuntu server 9.10

Postby Greg » 22 Jan 2010 01:05

Thanks for the solution post back.
I was wondering what was causing me problems as well.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests