UbuntuHelp:Beginners/Guide/Feisty/Multimedia

出自Ubuntu中文


This page is for beginners to configure your multimedia quickly for playing almost any video format on your machine. Video/audio codec, flash, mp3, dvd playback, and win32 Codec install for Feisty Fawn. If you're a new user, copy and paste commands into the terminal, should be relatively easy from that point forward. Note: Some of packets you might install below may be related to copyright or legal issues,please See http://www.ubuntu.com/ubuntu/licensing for more information.

目录

[编辑] For MP3, etc.

In a terminal execute the following command:

sudo apt-get update
sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad ubuntu-restricted-extras

Little explanation: Packets related to the functions

  • "GStreamer extra plugins" gstreamer0.10-plugins-ugly
  • "GStreamer ffmpeg video plugin" gstreamer0.10-ffmpeg
  • "GStreamer plugins for aac, xvid, mpeg2, faad" gstreamer0.10-plugins-bad-multiverse
  • "GStreamer plugins for mms, wavpack, quicktime, musepack" gstreamer0.10-plugins-bad

[编辑] For Flash Support

sudo apt-get install ubuntu-restricted-extras flashplugin-nonfree

[编辑] For DVD Playback and Win32 Codecs

Edit the file /etc/apt/sources.list using either of the following commands in a terminal:

$gksudo gedit /etc/apt/sources.list

Add the following lines to add the Medibuntu repository to the file:

deb http://medibuntu.sos-sts.com/repo/ feisty free non-free

Import the gpg key for the Medibuntu repository to ensure that the packages are installed without warnings/errors regarding trust: To do this, run the following command from the terminal:

wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -

Now update the local list of packages to get the list of packages from the newly added Medibuntu repository,and install packets: In a terminal execute the following command:

sudo apt-get update
sudo apt-get install libdvdcss2 w32codecs

[编辑] For Real Files

Totem-gstreamer seems can not play real files (like *.rmvb etc.) well,you might try Totem-xine for it.

sudo apt-get install totem-xine libxine-extracodecs

There's a bug 91500 for playing sound of real files, Here's the solution:

$ gedit ~/.xine/catalog.cache

find this section:

[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
size=11300
mtime=1171041406
type=131
api=15
id=realadec
version=10104
supported_types=52494336 52559872 52756480 
decoder_priority=5

change the “decoder_priority=5″ to “decoder_priority=10"

[编辑] References Links