LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   VLC Player crashes when asked to play (http://www.linuxquestions.org/questions/linux-software-2/vlc-player-crashes-when-asked-to-play-482715/)

LoveKing 09-12-2006 07:01 AM

VLC Player crashes when asked to play
 
i using Fedora core 5. I tried installing VLC player. and i was able to install it with all required dependencies. first i tried with version 0.8.4a-4 then with 0.8.5-1. both the times i was able to install. but when ever i open a file via File -> open. the file open dialog comes. after choosing the file, when i press ok, VLC crashes. i unable to open any media file with vlc. please help me.

i also giving the error message which vlc threw at me.

with version 0.8.4a-4

VLC media player 0.8.4a Janus
vlc: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)' failed.
Aborted

with version 0.8.5-1

VLC media player 0.8.5 Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
vlc: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)' failed.
Aborted

how to solve this problem?

TruongAn 09-12-2006 07:42 AM

It asked you not to run it as root

LoveKing 09-13-2006 09:46 AM

ok. even when i try as normal user i get the same error.
pcm_plug.c........

now what to do?

mrclisdue 09-13-2006 05:29 PM

shot in the dark, but it looks like vlc is having difficulty with your sound settings.

go into settings>preferences>audio>output modules>make sure 'advanced options' is checked, and change it from default to whatever sound software you're using (alsa, oss, etc.)

no guarantees....

cheers,

LoveKing 09-14-2006 02:10 AM

Hey thanks mrclisdue. it worked after i changed to oss. thanks again man.

TruongAn 09-15-2006 06:03 AM

OSS? It's quite old, vlc don't support alsa?

LoveKing 09-16-2006 12:29 AM

I donīt know. i just kept changing from one thing to other in the sound settings, and when i choose OSS i was able to hear sound. not with anything else. even ALSA was present there. it was the default choosen one.

What is ALSA?
Is it better than OSS?
If i want to use ALSA then what do i have to do?

TruongAn 09-16-2006 08:24 AM

Alsa is the successor of OSS.
In my computer alsa work better than OSS.
If OSS is still work for you, it's OK but I think that when you upgrade you computer, it won't.
I don't use VLC indeed so I don't know if it support alsa but if you prefer alsa you can use mplayer or xine, they both well support alsa and have many codecs to play almost all type of media file


All times are GMT -5. The time now is 01:54 PM.