感谢支持
我们一直在努力

Ubuntu几其他各linux版本多媒体播放时出现问题的解决

WMV, RealMedia 以及其它一些编码格式,安装 w32codes 包

wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb
sudo dpkg -i w32codecs_20061022-0.0_i386.deb

加密 DVD 安装这个
http://www.videolan.org/libdvdcss/

安装这些解码器

sudo apt-get install libxine-extracodecs totem-xine mplayer ffmpeg lame faad sox mjpegtools libxine-main1

Click Applications → Add/Remove. Select Other and then select the Ubuntu restricted extras package. Click OK.
#

To play most DVDs you’ll need the libdvdcss2 package from [WWW] here. This is a third party package, and not supported by Ubuntu. See Installing Software to install the file.
#

Users of x86 systems may also install some additional Windows codecs that are only available in third-party repositories.
#

#

AMD64 architecture

*

The Windows Codecs package cannot be used directly by the AMD64 distribution. Some people solve this problem by installing the i386 Ubuntu distribution inside a chroot (for example, Linux Vserver or [WWW] dchroot), and this works very well.


If after following this procedure, DVD playback still fails, your DVD drive may not have its region code set. Drives that have been activated with a DVD player on Windows shouldn’t require this, but new drives or new computers that have never had anything but Linux installed most likely will. Install the regionset package and run it to the set the region code under Ubuntmore

You need codecs (decoders) and software to read the contents of DVDs to be able to see multimedia files of different formats, as well as DVDs. These software are provided free for use in Ubuntu – however due to restrictions on distributing these modules in countries like the USA, they are not always easy to find. This post will tell you how to find them to install them on your Ubuntu computer.

Update: you can add the PLF repository to your sources.list to get the required multimedia codecs and binaries through apt-get (Synaptic).

The line to add to your /etc/apt/sources.list file would be:
deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free

After you have done this, do
$sudo apt-get update

Now you can install the following using the PLF repository:
* w32codecs: A package of codecs needed to play multiple formats, notably DivX. (disponible. Maintainer: MirSPCM)
* RealPlayer: Stream player (disponible. Maintainer: keyes)
* libdvdcss2: The library needed to play back encrypted DVDs.(Disponible. Maintainer: MirSPCM)
* Xdtv: http://xawdecode.fr.st – Tv viewer and recorder, the dependancies, and plugins like plug-m (Maintainer: Stéph)
* Free-Go and FreePlayer: logiciels pour freenautes exclusivement (and Linux compatible FreePlayer mods: Homeplayer, FreeMode)
* autopano-sift: http://freshmeat.net/redir/autop … epage/autopano-sift – Panorama Image compositor (Disponible dans Marillat, Maintainer: Stéph))
* hugin: http://hugin.sourceforge.net/ – you can assemble a mosiac of photographs into a complete immersive panorama, stitch any series of overlapping pictures and much more.
* Divx4Linux: http://www.divx.com/divx/linux/ – Read and create DivX (Période de test. Maintainer: Stéph)
* Varsha: http://varsha.sourceforge.net/ – make DVD slideshows, videos, and interactive menus.
* dir2ogg: http://badcomputer.org/unix/dir2ogg/ – Converts mp3, m4a, and wav files into ogg-vorbis format
* dvdstyler: http://dvdstyler.sourceforge.net/ – DVD Authoring System
* kmplayer: http://kmplayer.kde.org/ – a working player for KDE
* kplayer: http://kplayer.sourceforge.net/ – a working player for KDE
* K9Copy: http://k9copy.free.fr/ – a small utility which allows the copying of DVDs on Linux.
* XDVDShrink: http://dvdshrink.sourceforge.net/ – allows you to create fair-use archival copies of DVD content on single-layer writable DVDs.
* Sharpmusique: http://www.nanocrew.net/software/sharpmusique/ – iTunes music store frontend, already packaged by the author, for Ubuntu Breezy here: http://www.nanocrew.net/sw/sharp … ique_1.0-1_i386.deb

For the future, if the repositories above are not available, let me remind myself that I can find libdvdcss2 and w32codecs specially built for Ubuntu at the following locations:
libdvdcss2 : ftp://cipherfunk.org/pub/package … ain/libd/libdvdcss/
w32codecs : ftp://cipherfunk.org/pub/packages/ubuntu/pool/main/w/w32codecs/

These two are required for playing dvds and for playing various kinds of media files, such as .avi .wmv etc in Ubuntu, and these packages are hard to find for Ubuntu. The Debian .debs usually work just fine, but it is good to have the Ubuntu .debs for these.

Disclaimer: In certain countries it may be illegal to use these libraries, since they may circumvent copyright laws, and the infamous DRM laws. Also, by linking to these software, I do not seek to encourage their use. Use at your own discretion. For the record, the site I linked to is not mine, and I have no clue who administers it.

Sad world this, where one has to risk violating the law to watch movies on DVDs that one has bought with one’s own money!

//Ubuntu 7.04里的插件放在/usr/lib/codes里,一般,安装完基本插件后,只要把其他插件放在这个文件夹里就可以插所有多媒体啦。

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu几其他各linux版本多媒体播放时出现问题的解决
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏