PDA

View Full Version : Howto: get sound in mpeg and mp3 files for Kubuntu 6.06 for beginners



gandalf100
Jun 4th 2006, 10:05 AM
As i saw in http://wiki.ubuntuusers.de/Codecs the howto isn t quite suitable für Kubuntu because Kubuntu doesnt come with gstreamer.
For sound in amarok and kaffeine there is not so much to do so i want to write a howto especially for Kubuntu 6.06 for sound in mpg and mp3 files. Maybe other , wiser users can add aditional steps.

I needed only 2 files for playing sounds in videos and mp3 (the w32codecs are for wmv-files):


w32codecs_20050412-0.4_i386.deb
libxine-extracodecs

the first file you can get here (i tryed it with opera-browser and it didnt work - it worked with konqueror):
ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/w32codecs_20050412-0.4_i386.deb
download the file (~12Mb)

next is libxine-extracodecs
this file is in the multiverse-repository
a simple way (in my opinion) is, to uncomment the lines in /etc/apt/sources.list and if you dont find them, copy them.

(so open a shell, make a backup for the origin sources.list)
sudo cp /etc/apt/sources.list /etc/apt/sourcesbackup.list

(edit sources.list)
sudo kwrite /etc/apt/sources.list
enter password


(copy /or/ make sure that these lines are in your sources.list)

deb http://at.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://at.archive.ubuntu.com/ubuntu/ dapper multiverse

deb http://at.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://at.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

(note: this repository isnt fully supported by the Ubuntu-Team - but it is essential, when you want to get the mp3-codecs. Maybe you have these lines already in your sources.list so uncomment them in deleting the "#")

(Now the sources.list is ready)
press "save" button
exit


(in the shell)

sudo aptitude update
sudo aptitude upgrade

sudo aptitude install libxine-extracodecs

(next is w32_codecs - change to the directory, where the w32codec-file is located)

cd /home/location/wherethefileis
sudo dpkg -i w32codecs_20050412-0.4_i386.deb
(close shell)

*** ready to play mpg and mp3 files ***

padre999
Jun 4th 2006, 10:16 AM
see also

http://easyubuntu.freecontrib.org/
https://wiki.kubuntu.org/RestrictedFormats

cioili
Jun 5th 2006, 07:47 PM
thank you!
i spent 2hours tryng to see a movie and now i can.

lin00b
Jun 5th 2006, 10:22 PM
worked for me :D

thanks