LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-11-2009, 07:08 AM   #1
macubex
Member
 
Registered: Apr 2009
Posts: 43

Rep: Reputation: Disabled
Unable to play music in debian


when I try to play mp3 files in totem, it says 'The playback of this movie requires a MPEG-1 Layer 3 (MP3) decoder plugin which is not installed.'.
Please help me..
 
Old 04-11-2009, 08:18 AM   #2
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Try searching for package "mp3-decoder" and installing it?
 
Old 04-11-2009, 08:20 AM   #3
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Rep: Reputation: 25
With Debian "Lenny" just add the multimedia repository to your /etc/apt/sources.list with this line:

Code:
deb http://www.debian-multimedia.org lenny main
And you will have all the necessary multimedia stuff available in your package manager for installation.

Every time you modify source.list you have to:
Code:
apt-get update
 
Old 04-11-2009, 09:46 AM   #4
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Retrievil_Knievil View Post
Try searching for package "mp3-decoder" and installing it?
When I search for mp3-decoder, I get vlc. Then I did 'apt-get install vlc', I get this error message. This is the same for mplayer also.






Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vlc: Depends: vlc-nox (= 0.8.6.h-4+lenny2) but it is not going to be installed
Depends: libavcodec51 (>= 0.svn20080206-8) but it is not going to be installed or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
Depends: libiso9660-5 but it is not installable
Depends: libsdl-image1.2 (>= 1.2.5) but it is not installable
Depends: libtar but it is not installable
Depends: libvcdinfo0 (> 0.7.23) but it is not installable
Depends: libvlc0 (>= 0.8.6.h) but it is not going to be installed
Depends: libwxbase2.6-0 (>= 2.6.3.2.2) but it is not installable
Depends: libwxgtk2.6-0 (>= 2.6.3.2.2) but it is not installable
Depends: libxosd2 (>= 2.2.13) but it is not installable
E: Broken packages
 
Old 04-11-2009, 09:55 AM   #5
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Just do as Davno suggested:

1) Add a line to /etc/apt/sources.list:
deb http://www.debian-multimedia.org lenny main

2) Run 'apt-get update' (you have to be root for this)

3) Run 'apt-get install gstreamer0.10-lame' which will install the mp3 encoder/decoder (you have to be root for this too)

Your mp3 should now play. If not in Totem, then in sound-juicer or xmms. You can also try installing VLC again.
 
Old 04-11-2009, 10:13 AM   #6
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thank you for your help.

I did it and it installed well. But still the problem persists. I can't play media file in totem (sound-juicer either; they're the onlyones I got). And I get the same error while trying to install vlc.

What I currently have is a basic debian installation. I used just the CD-1.

Last edited by macubex; 04-11-2009 at 10:23 AM.
 
Old 04-11-2009, 11:01 AM   #7
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Sorry for posting again, but I think I don't have any sound in my debian.
 
Old 04-11-2009, 11:05 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Do you have alsa installed?
jdk
 
Old 04-11-2009, 11:07 AM   #9
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
yes I have.
 
Old 04-11-2009, 11:55 AM   #10
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Strange problem. I have one guess, though: maybe you have some broken packages. It couldn't hurt to run a fix for broken packages - so run the command 'apt-get install -f'. See if there is any improvement.
 
Old 04-11-2009, 12:06 PM   #11
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
This is the output for 'apt-get install -f'

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.


All problems still persist. I said I'm having a basic debian installation. So, I think it didn't have the codecs. Actually it doesn't have anything - just the browsers an totem. But I have a debian(kde) - my installed one is gnome - live-cd. Would it be of any use?
 
Old 04-11-2009, 12:51 PM   #12
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Try enabling some audio channels in the sound mixer. To do this, double-click the little volume icon in the corner of the screen and it will open the sound mixer. Unmute everything, especially the "Front" channel, and raise the volumes on the channels. Then run the command 'gnome-sound-properties' and press the test buttons - do you hear a beep?

If the above still doesn't work, run the command 'lspci' and post the output here. We will be able to see what sound card you have.
 
Old 04-11-2009, 01:21 PM   #13
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Yes, I was able to hear the beeps for all. But I got this message when I run 'gnome-sound-properties'

Unable to start the settings manager 'gnome-settings-daemon'.
Without the GNOME settings manager running, some preferences may not take effect. This could indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already be active and conflicting with the GNOME settings manager.
 
Old 04-12-2009, 12:31 AM   #14
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Sorry posting again. But, Please someone help me......

I just found out that I can play Audio CDs in Sound juicer. But I still can't play in totem and I can't nstall vlc or mplayer. A lot of packages get 'unmet dependencies' apart from these.

Last edited by macubex; 04-12-2009 at 12:39 AM.
 
Old 04-12-2009, 01:09 AM   #15
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Can you describe in details how you made the installation of yours? Which CD did you install from, and where did you download it from? Did you install the desktop environment, or did you make a minimum installation only and add the desktop afterwards (and how)? I can't understand if you installed KDE or GNOME.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to play Youtube videos in Debian Etch amrtuti Linux - Software 3 09-22-2008 10:48 AM
cdrom unable to play music on intel 815 motherboard bong.mau Linux - Hardware 5 06-07-2007 02:24 PM
KsCD | XMMS | KDE unable to play music CDs on non-root accounts. Aeoruuk Linux - Software 5 08-02-2006 11:53 AM
Unable to play VCDs with Xine. Where can I get mplayer for Debian? vharishankar Debian 5 02-14-2005 12:09 PM
Debian Sarge, Can't See files on cd or play music cd rjcmi Linux - Newbie 2 09-30-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration