VLC 0.9.9a no audio

*nix specific usage questions
jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

VLC 0.9.9a no audio

Postby jgg » 22 Apr 2009 18:03

I have a fresh VLC 0.9.9a compilation and when trying to play any local file or open a RTSP session I get the same error:

Code: Select all

dulceangustia@jet:~/vlc-0.9.9a$ ./vlc rtsp://147.83.47.178:8554/rock_GARBAGE_medium.mpg VLC media player 0.9.9a Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--with-live555-tree=extras/live' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00000377] main window error: no vout window module matched "any" [00000378] oss audio output error: cannot open audio device (/dev/dsp) [00000378] main audio output error: couldn't find a filter for the conversion [00000378] main audio output error: couldn't create audio output pipeline ...
I get video but no audio at all.

Any idea about what is going on here?


Thanks.

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

Re: VLC 0.9.9a no audio

Postby Rémi Denis-Courmont » 22 Apr 2009 20:32

Looks like you did not build ALSA and/or PulseAudio support, and some other program is keeping OSS busy.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: VLC 0.9.9a no audio

Postby jgg » 22 Apr 2009 20:38

I forgot to say that I tested it in 2 boxes and got the same results, with (apparently) nothing using OSS. I didn't know that I needed to enable ALSA or PulseAudio in VLC compilation, I always compiled without explicitly telling it (as you can see in the previous post I used './configure --with-live555-tree=extras/live').

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: VLC 0.9.9a no audio

Postby jgg » 23 Apr 2009 11:01

How can I check if OSS is set to ALSA or PulseAudio or whichever audio driver? Do I need to have installed any related package? I've installed vlc-plugin-alsa and I've read that vlc-plugin-pulse solved this issue but I can't find this package anywhere. Moreover, I don't really have any /dev/dsp file.

Any idea would be much appreciated. Thank you for your answers.

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: VLC 0.9.9a no audio

Postby jgg » 23 Apr 2009 17:32

Solved.

Solution:

Code: Select all

modprobe snd-pcm-oss
To allow the O.S. to load it on boot time add 'snd-pcm-oss' to the /etc/modules file, and that's all.


Regards.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

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