Ubuntu: Multimedia Codecs

Sarge

Active Member
#1
Well, my girlfriend and I are trying to install multimedia codecs, cause she doesn't get anything when she clicks an mp3 file it should say that it needs a codec and it should download and install it. Well, it doesnt happens.

If she tries to tun Add/Remove it says that it can't get a list.

So, we thought to get the codecs downloaded and installed by ourselves. I did a search and found out that we need GSreamer frimework for multimedia to work, I don't know am I right?

We got this: GStreamer: open source multimedia framework

But I dont know are we on a right track?
 

mqudsi

Mostly Harmless
Staff member
#2
Follow these instructions to fix the repository problem:
Ubuntu:Gutsy -

(they also have excellent instructions on Codecs, so you needn't look any further for that, either.)
 

Sarge

Active Member
#3
Thank you so much, Mahmoud.

Does this mean that we'd get codecs with a player too?

How to install Mplayer with Multimedia Codecs

Simple guide for mplayer and codecs
  • Download SMPlayer (a great front-end for MPlayer) from here and double click to install it. The smplayer front-end is also available to install through synaptic package manager.
[edit]
Mplayer on 64bit with wmv9 support

Playing wmv9 files on AMD64 doesn't exactly work out of the box. To get it working, you will have to install the 32bit version of mplayer, along with all the necessary codecs. On my relatively new install of Gutsy, I didn't need to install any library files, which made getting it to work that much easier. That being said, follow these steps and you should be watching wmv9 files in no time.
Download the version of mplayer32 for Edgy (it works fine) and place into temporary directory
Code:
mkdir mplayer32temp
cd mplayer32temp
wget [URL]http://folk.ntnu.no/grannas/debs/mplayer32_20070130-1_amd64.deb[/URL]
Extract the package you just downloaded, and install to the proper locations (hit 'n' when it asks to replace a file)
Code:
sudo dpkg -x mplayer32_20070130-1_amd64.deb ./
sudo mv -i usr/bin/* /usr/bin/
sudo mv -i usr/lib32/* /usr/lib32/
Get the latest win32 codecs from mplayerhq (link is current as of Nov 04, 2007), extract and install (again, hit 'n' when it asks to replace a file)
Code:
wget [URL]http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2[/URL]
tar jxfv essential-20071007.tar.bz2
sudo mv -i essential-20071007/* /usr/lib/win32/
play a wmv9 file and enjoy.
Code:
mplayer32 foobar.wmv
Is that all?
 

mqudsi

Mostly Harmless
Staff member
#4
No, you need to click-through to that first link:
Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu 7.10 (Gutsy Gibbon) -- Ubuntu Geek

That is what you need for the codecs.

I'm giving a course in University as a part of the Jordan Open Source Group on Linux for beginners; the goal is to go from beginner to intermediate user over the course of the program - I'll see if I can upload any slides or materials I use so people can see them online. My course is in Ubuntu, a colleague will be teaching Fedora, so I'll see what I can manage to grab.
 

Sarge

Active Member
#5
Thank you.

And that would be great if we could get our eyes on the courses. :smile:
 

Kahai

New Member
#6
i never had much problem with getting anything

if i started to open a mp3, and i didnt have the codex, it would tell me and i would select the codec i wanted and it would do the rest :tongueout:
 

Mak 2.0

Mod...WAFFLES!?!?
Staff member
#7
I usually just go right into the Synaptic and install almost all teh GStreamer Codecs i can find. That usually covers all my MP3's and music. Of course now i have some FLAC and some OGG files. So i will haev to see if Ubuntu can play those as well.
 

Kahai

New Member
#8
ubuntu will play OGG

OF COURSE IT WILL! ^_^
 

Sarge

Active Member
#9
ubuntu will play OGG

OF COURSE IT WILL! ^_^
We'll take that as you are very sure it will play OGG. :tongueout:

Anyways, tomorrow we are installing it, wish us luck! :smile:
 

Mak 2.0

Mod...WAFFLES!?!?
Staff member
#10
ubuntu will play OGG

OF COURSE IT WILL! ^_^
I figured it would. I think FLAC is the only file type that might give me some sort of problem. As i really dont want to install VLC player to listen to 1 album.:x
 

Sarge

Active Member
#11
I figured it would. I think FLAC is the only file type that might give me some sort of problem. As i really dont want to install VLC player to listen to 1 album.:x
Can't you somehow convert those files in some other format?
 

mqudsi

Mostly Harmless
Staff member
#12
Plenty of audio conversion tools for Open Source codecs for Linux:
Use this:

Code:
sudo apt-get install soundconverter
 

Mak 2.0

Mod...WAFFLES!?!?
Staff member
#13
I am sure i could convert them. If i choose to.
 

Sarge

Active Member
#14
Why you wouldn't choose to? Is that format that much better then .mp3 or .ogg?
 

mqudsi

Mostly Harmless
Staff member
#15
I'm guessing it's just too much of a hassle?
 
#16
from what i know,

mp3 is very very lossy, while OGG is lossless ^_^

i dont have many ogg files, but when i got linux i found a few, and then arnt bad in quality at all ^_^

i havent heard of .flac, but this is normal for me (to not know a file type until i have to use it. ^_^
 

Mak 2.0

Mod...WAFFLES!?!?
Staff member
#17
FLAC is supposted to be the best followed by OGG and then MP3. The reason i havent changed it yet cause it is only 1 album. While i have so many more to listen to i am not bothered to leave this one alone till i switch it. I will do it eventually...
 

Sarge

Active Member
#18
This is what we get while trying to install the codecs:

Cannot install 'audacity'

This application conflicts with other installed software. To install 'audacity' the conflicting software must be removed first.

Switch to the 'synaptic' package manager to resolve this conflict.
Okay this an attempt of installing audacity, software for music, but it says the same for the codecs.
 

mqudsi

Mostly Harmless
Staff member
#19
It means you have another program installed and audacity or the codecs can't be installed until you remove it.

Run "sudo synaptic" and attempt to install audacity from there, it'll tell you what the conflict is.