Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-03-2009, 08:52 AM
|
#1
|
|
Member
Registered: May 2009
Posts: 73
Rep:
|
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?
|
|
|
|
07-03-2009, 08:58 AM
|
#2
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,897
|
Here is a link to a slackware multimedia howto. Maybe you can find something useful to solve your issue.
|
|
|
|
07-03-2009, 10:19 AM
|
#3
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
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.
|
|
|
|
07-03-2009, 10:40 AM
|
#4
|
|
Member
Registered: Mar 2005
Posts: 310
Rep:
|
Try unmute the volume with alsamixer. Or try changing the jacks.
|
|
|
|
07-03-2009, 07:20 PM
|
#5
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
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?
|
|
|
|
07-03-2009, 10:59 PM
|
#6
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
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.
|
|
|
|
07-06-2009, 11:41 PM
|
#7
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
Waiting
I'm still stucked here. Ignoring me ????
|
|
|
|
07-07-2009, 12:00 AM
|
#8
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You may need to make yourself a member of the "audio" group to be able to write to the /dev/dsp device.
Last edited by jschiwal; 07-07-2009 at 03:29 AM.
|
|
|
|
07-07-2009, 12:26 AM
|
#9
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
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
|
|
|
|
07-07-2009, 03:55 AM
|
#10
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
07-07-2009, 05:21 AM
|
#11
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
Thanks
Yes it supports .ogg format.
Now to make the players able to play .mp3 format files?
|
|
|
|
07-07-2009, 07:25 PM
|
#12
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
07-08-2009, 09:21 AM
|
#13
|
|
Member
Registered: May 2009
Posts: 73
Original Poster
Rep:
|
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
Last edited by SolitudeSensus; 07-08-2009 at 09:23 AM.
|
|
|
|
07-08-2009, 09:35 AM
|
#14
|
|
Member
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374
Rep:
|
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-------.
|
|
|
|
07-09-2009, 06:54 PM
|
#15
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|