Karron's profile咸鱼翻身还是咸鱼(技术,软件,linux,vim...PhotosBlogListsMore Tools Help
    May 03

    ubuntu dapper中安装多媒体支持

    很多人在ubuntu-cn论坛抱怨dapper中没有w32codecs,导致totem,mplayer,rhythmbox等不能播放rmvb,wmv等视频,不能播放mp3等音频。觉得ubuntu真难用。
    其实windows如果不安装解码器很多东西也不能播放,比如rmvb,avi等。
    好废话不用多说,我们来讲讲怎么在ubuntu dapper中安装各种解码器。

    首先安装gstreamer的解码器,gstreamer是gnome主推的多媒体平台。在dapper中进行了重大升级,目前是0.10。但是默认没有安装完全,导致mp3等不能播放。所以,我们要安装gstreamer0.10.

    sudo apt-get install gstreamer0.10-*

    这条语句会把所有的gstreamer0.10的包安装上。

    然后我们安装xine的解码器libxine-extracodecs,xine是另外一个多媒体平台,功能非常强大。我们还把系统自带的totem卸载,改为使用xine后端的totem,这样才可以播放rmvb等视频。顺便安装上mplayer这个强大的播放器,我一般用它来播放dvd。注意如果是amd的CPU,需要安装mplayer-k7,当然,大家也可以直接安装mplayer,这个比较通用。

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

    接下来我们安装著名的视频解码器w32codecs.这个在dapper的源里面没有包含,需要我们自己下载
    wget -c ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/w32codecs_20050412-0.0_i386.deb

    下载完成之后,开始安装。
    sudo dpkg -i w32codecs_20050412-0.0_i386.deb

    好了,现在大家的电脑应该都能够播放绝大部分多媒体文件了。

    有的人可能比较喜欢realplayer,这里可以下载安装。
    wget -c ftp://ftp.nerim.net/debian-marillat/pool/main/r/realplay/realplayer_10.0.6-0.0_i386.deb

    sudo apt-get install libstdc++5
    sudo dpkg -i realplayer_10.0.6-0.0_i386.deb

    Comments (3)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    No namewrote:
    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you World of Warcraft gold ordered! wow power levelingcheap wow power leveling wow power leveling cheap power leveling wow power leveling wow power leveling -29472745208049
    July 3
    Karron Qiuwrote:
    基本上是根据ubuntu英文官方wiki上的文章整理的。
    May 6
    lei wangwrote:
    请问这些都是哪里查到的,是ubuntu.org.cn的论坛?还是原创? :)

    May 6

    Trackbacks

    The trackback URL for this entry is:
    http://karronqiu.spaces.live.com/blog/cns!1F2856437F97884D!589.trak
    Weblogs that reference this entry
    • None