64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

Totem,mplayer,sopcast,realplayer,bmp
回复
lane8884
帖子: 48
注册时间: 2009-10-23 10:11

64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

#1

帖子 lane8884 » 2012-11-10 11:18

安装了amd64 ubuntu 12.04 的mplayer ,但是播放的时候有声音无图像,并且无法快进,第一反应就是没有安装解码器。以前都是下载w32codecs再安装,今天发现这个文章介绍,可以把源加进去,然后upgrade,挺方便的。
http://www.ubuntugeek.com/install-mplay ... ecise.html

Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) on ubuntu 12.04 (Precise)

MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4,DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. It has many MX/SSE (2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim’s and RealPlayer’s binary codec plugins, and Win32 codec DLLs. It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text- based subtitle formats too. For video output, nearly every existing interface is supported. It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices.

Install Mplayer in Ubuntu 12.04 (Precise)
安装Mplayer,需要一下两句
You have to make sure you have enabled universe,multiverse repositories

Now you need to run the following command to update the source list

代码: 全选

sudo apt-get update
Install mplayer using the following command

代码: 全选

 sudo apt-get install mplayer
or

Click on the following link

apt://mplayer

Install w32 video codecs and libdvdcss2 in Ubuntu 12.04
安装w32视频解码器及libdvdcss2

Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.To play encrypted DVDs, the libdvdcss2 package is essential.

The following command adds Medibuntu's repository to Ubuntu. It also adds Medibuntu's GPG key to your keyring, which is needed to authenticate the Medibuntu packages.
先增加源,然后安装

代码: 全选

    sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list

    sudo apt-get -q update

    sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring

    sudo apt-get -q update
You may also wish to add the following packages. The first will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.

安装

代码: 全选

sudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntu
Please note you may have to use --force-yes instead of --yes in order for this command to succeed.
For i386 Users install Codecs using the following command
32位的系统安装这个

代码: 全选

sudo apt-get install w32codecs libdvdcss2
For amd64 Users install Codecs using the following command
64位系统安装这个

代码: 全选

 sudo apt-get install w64codecs libdvdcss2
Using above download locations you can install most of the mutimedia codecs for ubuntu.

Mplayer Plugin for Firefox

If you want to install Mplayer with plug-in for Mozilla Firefox run the following command

sudo apt-get install mozilla-mplayer

or click on the following link

apt://mozilla-mplayer

但是这样安装之后,还是无法看到视频,需要设定一下

右键mplayer,打开属性,选择vedio,选择x11选项
mraandtux
论坛版主
帖子: 5211
注册时间: 2009-12-12 19:29
系统: Kubuntu

Re: 64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

#2

帖子 mraandtux » 2012-11-10 11:30

楼主也可以试试VLC。
头像
xinciyy
帖子: 50
注册时间: 2012-07-15 2:19
系统: ubuntu 12.04.1
来自: 南京
联系:

Re: 64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

#3

帖子 xinciyy » 2012-11-10 20:29

谢谢楼主啊 正在安装中 终于找到win32codec了 找了好久啊
头像
i990049
帖子: 525
注册时间: 2006-06-05 13:26

Re: 64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

#4

帖子 i990049 » 2012-11-12 11:57

楼主的64位系统是什么样的硬件配置?容易找64位的软件吗?找不到能不能用32位的软件代替?一楼安装的是32位的解码器?
lane8884
帖子: 48
注册时间: 2009-10-23 10:11

Re: 64位ubuntu 12.04 的mplayer 安装解码器和视频播放有声音无图像的问题

#5

帖子 lane8884 » 2012-11-15 1:06

7月配的电脑,还是赛扬的cpu。现在的电脑大部分都是64位的了,不要担心硬件。12.04对64位支持已经很好了,没有感觉有什么不支持的软件。
i990049 写了:楼主的64位系统是什么样的硬件配置?容易找64位的软件吗?找不到能不能用32位的软件代替?一楼安装的是32位的解码器?
回复