LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Audio Files (https://www.linuxquestions.org/questions/linux-newbie-8/audio-files-737480/)

SolitudeSensus 07-03-2009 08:52 AM

Audio Files
 
I'm using Slackware 12.2
There are lots of media players installed, but non of them are playing
audio files. What should I do now?

colucix 07-03-2009 08:58 AM

Here is a link to a slackware multimedia howto. Maybe you can find something useful to solve your issue.

SolitudeSensus 07-03-2009 10:19 AM

confused
 
Is there any problem in sound driver?

The sound is OK when I do test sound through settings.

Is it because of Plugin.

Should I have to install plugin.

veerain 07-03-2009 10:40 AM

Try unmute the volume with alsamixer. Or try changing the jacks.

SolitudeSensus 07-03-2009 07:20 PM

group
 
Oh got it.
When I log in as root, I can play.
Now I think I have to change setting for user account.
How to do that?

SolitudeSensus 07-03-2009 10:59 PM

I'm still waiting for someone's help :cry:
 
Only I can play audio files when I log in as root, but when I log in as normal user I can't.

SolitudeSensus 07-06-2009 11:41 PM

Waiting
 
I'm still stucked here. Ignoring me ????

jschiwal 07-07-2009 12:00 AM

You may need to make yourself a member of the "audio" group to be able to write to the /dev/dsp device.

SolitudeSensus 07-07-2009 12:26 AM

42 min ?
My second last post was posted on 4th of July.
And the last one just today 7th of July.

I think I'm already in the group audio.
I've already choosed the groups like audio, cdrom, floppy, plugdev and video during the process of adduser.

When I log in, the startup music sounds.
It even sounds when I click Test Sound In Sound System from settings.

When I Play with Amarok. The error message is like this:

Error Loading Media
Could not open file.
file:///home/soul/Nymphetamine.mp3

There are other media players also. They are Kaabodle, zine, juk, audacious, etc.
They gets stucked without giving error message.



The result of 'ls -l /dev/dsp*'
is crw-rw---- 1 root audio 14, 3 2009-06-14 17:49 /dev/dsp

The result of 'ls -l /dev/audio*'
is crw-rw---- 1 root audio 14, 4 2009-06-14 17:49 /dev/audio

jschiwal 07-07-2009 03:55 AM

I caught the time, and missed the date of those posts.

Your prior posts indicated no sound as a regular user. The last post indicates that you may not have mp3 support. By the way, you can enter the command "groups". This command will print out the groups you are a member of.

Try playing a free format like ogg. The error you get in amarok could be due to a version built without mp3 support.

It is confusing why media players work as root, but not as regular user, yet, system sounds work as a regular user. Usually it is an all or nothing proposition. Whenever my sound quits working, I will run "alsaconf" followed by my distro's sound config tool.

A quick test could be to create a new user. Log in as that user and see if system sounds work. Then try playing an ogg using ogg123 or mplayer. Finally try an mp3 using mpg123 or mplayer. A program you launch from the terminal may provide more feedback.

SolitudeSensus 07-07-2009 05:21 AM

Thanks
 
Yes it supports .ogg format.
Now to make the players able to play .mp3 format files?

jschiwal 07-07-2009 07:25 PM

If you can play ogg files, then your sound system is working. It is a matter of codecs or installing mp3 enabled package versions. I also don't know if you are using amarok 1.4 or amarok 2.0. Amarok 1.4 uses either xine or yuaup libraries for it's sound engine. Amarok 2.0 uses kde's phonon.
Make sure you have liblame and libmad installed. These are the most common mp3 libraries. Also install libfaad. This is used for AAC support.

The problem could also be that the player package was built without mp3 support enabled. If the repo package description said it plays mp3s, then it is probably just a matter of installing the library packages.

SolitudeSensus 07-08-2009 09:21 AM

Permission
 
I can play the mp3 file that has been downloaded. According to its properties:
Permissions : -rw-r--r--
Owner : test
Group : root


I can't play the mp3 file that has been copied from XP's drive (NTFS). It's properties are:
Permissions : -rwx------
Owner : root
Group : root

karamarisan 07-08-2009 09:35 AM

That's a different issue. Because you're not root or in the group root, you use the third triplet of letters, which lacks read permissions. Change that file's ownership and permissions (run man chmod and man chgrp) - should be owned by you and either the group users or the group with the same name as your username, and should have permissions like -rw-r--r-- or -rw-------.

jschiwal 07-09-2009 06:54 PM

You can use the "uid=<yourusername>,gid=<yourgroup>" mount options when mounting that ntfs XP partition. This will give you ownership rights. After that, you won't need to su to root to copy an mp3 file. Since the NTFS filesystem isn't a native Linux filesystem, the ownership & permissions of the directories & files are determined when it is mounted.


All times are GMT -5. The time now is 05:21 PM.