audio video codec

Asked by samparkisi

i have installed ubuntu 8.04. when i want to play any audio or video file, it is telling "codecs not found". my pc dont have net connection. is linux not properly installed?else it should have some built in codecs so that it can play any one format file atleast. but it is not playing any formatted file...
plz tell me procedure what to do? from which website can i get codec? how to install that codec?

Question information

Language:
Italian (Italy) Edit question
Status:
Answered
For:
Ubuntu ubuntu-restricted-extras Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Buz Cory (buzco) said :
#1

Do you happen to know just what application is sending that message for just what kind of file?

There are quite a few apps that you should have that are ordinarily able to play most or all of the common audio/visual formats (wav, flac, og, mp3, and more audio; mpeg, wmv and more video).

For audio, if Nautilus is properly set up you can play virually any audio file simply going to the directory (folder) which holds the file and placing the cursor over the icon for the file. (This is called "preview".)

Videos require that you open an app to display them (ordinarily totem ("movie player") or mplayer).

== Buz :)

Revision history for this message
samparkisi (samparkisi) said :
#2

i tried all avialable players(movie player and other two three players)...it gives the same error that"codecs not installed; download the latest codec from the website". the file format may be any thing like mp3,wav,dat file,avi,mpeg or any, it gives the same error.

i have fedora 10 linux it has got many app files can i install those app file in ubuntu linux....

Revision history for this message
Little Dan (littledan45) said :
#3

Try this in ubuntu. Open a Terminal and type "sudo apt-get install ubuntu-restricted-extras". I think it should fix the codecs.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Additionally:

Play mp3 and dvd under Ubuntu install skype googleearth acroread and other stuffs using Medibuntu

First please install https://help.ubuntu.com/community/RestrictedFormats

You need to have extra repositories enabled..

Please first enable the universe and multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]

enable "Community-mainteined Open Source software ( universe )"
enable "Proprietary drivers for devices ( restricted )"
enable "Software restrictecd by copyright or legal issue ( multiverse )"

Close and confirm the repository reload.

Type the following command in a terminal (applications → accessories → terminal)

sudo aptitude install vlc

To get better dvd playback and optional packages here the medibuntu available software list http://packages.medibuntu.org/
you need to add the medibuntu http://www.medibuntu.org/ repository to your /etc/apt/sources.list file:
( here the medibuntu howto https://help.ubuntu.com/community/Medibuntu but see below )

In short type or better copy and paste the rows, below one row a time then press enter:

ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
sudo wget http://www.medibuntu.org/sources.list.d/$ubu_codename.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Now to install, type:

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg
sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
sudo aptitude install non-free-codecs w32codecs
sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

give your user password when requested, you don't see nothing when you type it, then press enter.

You can also install other Medibuntu repository provided optional software http://packages.medibuntu.org/ :

sudo apt-get install skype
sudo apt-get install googleearth

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask samparkisi for more information if necessary.

To post a message you must log in.