如何在linux系统可以运行exe下运行VLC 媒体播放器

视频媒体播放软件 VLC 2.0.7 发布 – 功能改进
阅读 1,748 次
VLC 是一款免费开源的多媒体播放软件,功能强大,提供了几乎所有媒体格式支持(包括:MPEG-2、DivX、H.264、MKV、WebM、WMV、MP3等等),界面友好简洁,易于使用。
VLC 已经更新到一个新版本:2.0.7,这是一个补丁修复版本。
安装 VLC 2.0.7
添加官方 PPA 源(支持 ubunntu 12.10/13.04)
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc
& Subscribe &
新跟进评论
我评论的新回复Linux下打包发送H264在windows下用VLC播放不了
[问题点数:40分]
本版专家分:0
结帖率 33.33%
CSDN今日推荐
本版专家分:0
本版专家分:0
本版专家分:869
2012年11月 其他开发语言大版内专家分月排行榜第一2011年5月 其他开发语言大版内专家分月排行榜第一2010年6月 其他开发语言大版内专家分月排行榜第一2010年5月 其他开发语言大版内专家分月排行榜第一2010年4月 其他开发语言大版内专家分月排行榜第一2008年1月 其他开发语言大版内专家分月排行榜第一2007年12月 其他开发语言大版内专家分月排行榜第一2007年11月 其他开发语言大版内专家分月排行榜第一2007年4月 其他开发语言大版内专家分月排行榜第一2006年12月 其他开发语言大版内专家分月排行榜第一2006年11月 其他开发语言大版内专家分月排行榜第一2006年10月 其他开发语言大版内专家分月排行榜第一2006年7月 其他开发语言大版内专家分月排行榜第一2006年6月 其他开发语言大版内专家分月排行榜第一2005年11月 其他开发语言大版内专家分月排行榜第一2005年10月 其他开发语言大版内专家分月排行榜第一2005年9月 其他开发语言大版内专家分月排行榜第一2005年6月 其他开发语言大版内专家分月排行榜第一2005年5月 其他开发语言大版内专家分月排行榜第一2005年3月 其他开发语言大版内专家分月排行榜第一2005年2月 其他开发语言大版内专家分月排行榜第一2004年10月 其他开发语言大版内专家分月排行榜第一2004年9月 其他开发语言大版内专家分月排行榜第一2005年2月 硬件使用大版内专家分月排行榜第一2004年8月 硬件/嵌入开发大版内专家分月排行榜第一
2012年10月 其他开发语言大版内专家分月排行榜第二2011年7月 其他开发语言大版内专家分月排行榜第二2010年3月 其他开发语言大版内专家分月排行榜第二2007年10月 其他开发语言大版内专家分月排行榜第二2007年9月 其他开发语言大版内专家分月排行榜第二2005年3月 Windows专区大版内专家分月排行榜第二2005年2月 Windows专区大版内专家分月排行榜第二2005年6月 扩充话题大版内专家分月排行榜第二2006年9月 其他开发语言大版内专家分月排行榜第二2006年5月 其他开发语言大版内专家分月排行榜第二2006年3月 其他开发语言大版内专家分月排行榜第二2006年2月 其他开发语言大版内专家分月排行榜第二2005年12月 其他开发语言大版内专家分月排行榜第二2005年4月 其他开发语言大版内专家分月排行榜第二2004年11月 其他开发语言大版内专家分月排行榜第二2005年3月 硬件使用大版内专家分月排行榜第二
2011年11月 其他开发语言大版内专家分月排行榜第三2011年8月 其他开发语言大版内专家分月排行榜第三2008年10月 其他开发语言大版内专家分月排行榜第三2004年9月 硬件/嵌入开发大版内专家分月排行榜第三
匿名用户不能发表回复!
其他相关推荐如何将Linux下的应用程序VLC设置为开机自启动_百度知道
如何将Linux下的应用程序VLC设置为开机自启动
答题抽奖
首次认真答题后
即可获得3次抽奖机会,100%中奖。
来自知道合伙人认证行家
电脑类行家
采纳数:78237
获赞数:79237
泉州兴瑞发公司最佳优秀员工。
linux中设置自动启动可以编辑/etc/rc.d/rc.local文件,使用vim在/etc/rc.d/rc.local添加你需要启动的内容即可。rc.local在在系统启动后执行,在用户登陆前执行rc.local脚本是一个在各运行级别里到rc.d目录的rc.local脚本的软链接,编号最大,所以被rc脚本执行时在各运行级别的初始化末尾进行。在rc.local里设置是系统级别而非用户级别,因为启动脚本的初始化与用户无关(启动脚本初始化完成后,才进入用户登录界面)。与用户相关的设置shell的配置文件如: ~/.bash_profile。
为你推荐:
其他类似问题
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。deepin linux下怎么安装vlc播放器_百度经验
&&&&&&&&&电脑软件deepin linux下怎么安装vlc播放器听语音1234567
百度经验:jingyan.baidu.comdeepin linux下安装vlc播放器,可以参考本经验。百度经验:jingyan.baidu.com1点击任务栏上的“深度商店”。2在“深度商店”中搜索vlc播放器。3单击搜索出来的vlc播放器,会进入如下图所示的界面,单击“安装”。4安装完成后,可以直接点击“打开”。5也可以点击任务栏上的“启动器”。6在启动器中找到vlc播放器,右键或者直接单击打开运行即可。7为了以后操作方便,建议在启动器的vlc播放器上右键选择“发送到桌面”或者任务栏,这样便于以后操作。END经验内容仅供参考,如果您需解决具体问题(尤其法律、医学等领域),建议您详细咨询相关领域专业人士。作者声明:本篇经验系本人依照真实经历原创,未经许可,谢绝转载。投票(0)已投票(0)有得(0)我有疑问(0)◆◆说说为什么给这篇经验投票吧!我为什么投票...你还可以输入500字◆◆只有签约作者及以上等级才可发有得&你还可以输入1000字◆◆如对这篇经验有疑问,可反馈给作者,经验作者会尽力为您解决!你还可以输入500字相关经验05000热门杂志第1期你不知道的iPad技巧3836次分享第1期win7电脑那些事6677次分享第2期新人玩转百度经验1425次分享第1期Win8.1实用小技巧2670次分享第1期小白装大神1963次分享◆请扫描分享到朋友圈想边上班边听歌,可惜办公电脑有点差,所以装的是fedora 10.又用的是代理上网,网速严重受限,同事传了些mp3,居然听不了,没mp3解码器,晕倒。。想到自家电脑装的vlc播放器,不错,就装上耍起,不晓得哪里没有安装好,居然有很多问题,碰巧在网上遇到一哥们,和他问题几乎一致,他刚好写了详细介绍,就转他的吧,备忘一下,感谢这哥们的分享精神:原文网址如下:http://hi.baidu.com/samtao/blog/item/8152ffc3664f4c.html
Step by step安装vlc-player.
1:首先从vlc官方网站下载vlc的最新版。
我们下载source code版本。http://www.videolan.org/vlc/download-sources.html
本例中所有程序均放到/root/soft目录
2:为了让root用户可以执行VLC,我们需要加上 --enable-run-as-root
(ps:可以执行如下:[root@tsong vlc-1.0.6]# ./configure --help|grep root )查看该命令怎么写
编译命令:./configure --enable-run-as-root --prefix=/root/soft/vlc
提示缺少libmad:
configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the
mad plugin.
3:编译libmad.
按照提示,下载:http://www.underbit.com/products/mad,编译
./configure --prifix=/root/soft/libmad
make 提示错误
cc1: error: unrecognized command line option "-fforce-mem" make[2]: *** [version.lo] Error 1 make[2]: Leaving directory `/home/izhier/download/libmad-0.15.1b'
google之,说是gcc版本太高,修改makefile,删除-fforce-mem
即可make,然后make install
(此时libmad安装在/root/soft/libmad文件夹内)
4:继续编译vlc,这时候用如下命令:
./configure --enable-run-as-root --prefix=/root/soft/vlc --with-mad=/root/soft/libmad/
继续,提示找不到libavcodec,
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
5:编译libavcodec.
下载,编译:http://www.ffmpeg.org/download.html
或者直接用svn下载最新版:svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
./configure --prifix=/root/soft/ffmpeg
编译过程极其漫长
完成之后输入make install即OK
作为一个过来者,我建议用下面这个命令编译:
./configure --prefix=/root/soft/ffmpeg --enable-swscale --enable-postproc --enable-gpl
--enable-memalign-hack
--enable-ffserver --enable-network --enable-protocols --enable-muxers 否则,你将不得不执行步骤7和步骤8。
6:继续编译,不用置疑,一定还是会提示libavcodec找不到,why?因为你放的目录程序找不到。这时候就要用到pkg-config了
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/root/soft/ffmpeg/lib/pkgconfig"
export完成之后,我们可以测试一下:
[root@tsong vlc-1.0.6]# pkg-config --modversion libavcodec
如果可以打印出版本信息,那么OK,就可以继续编译了
7:继续编译。
编译命令还是
./configure --enable-run-as-root --prefix=/root/soft/vlc --with-mad=/root/soft/libmad/
继续提示缺少swscale:
checking for SWSCALE... no
configure: error: Could not find libswscale. Use --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing.
google了一下,发现swscale是ffmpeg到一个选项,默认在编译到时候没有启用。
[root@tsong ffmpeg-0.5.1]# ./configure --help|grep swscale
--enable-swscale enable GPLed software scaler support [no] 无奈,只好继续返回步骤5,用如下命令:
[root@tsong ffmpeg-0.5.1]# ./configure --prefix=/root/soft/ffmpeg --enable-swscale
然后再重复再编译安装ffmpeg
make install
8:完成步骤7中到swscale后,继续编译。
checking for ffmpeg/swscale.h... no
checking for POSTPROC... no
configure: error: Could not find libpostproc. Use --disable-postproc to ignore this error.
看报错在ffmpeg后面,该不会libpostproc也是ffmpeg到一个配置?
[root@tsong ffmpeg-0.5.1]# ./configure --help|grep postproc
--enable-postproc enable GPLed postprocessing support [no]
[root@tsong ffmpeg-0.5.1]# ./configure --prefix=/root/soft/ffmpeg --enable-swscale --enable-postproc
postproc is gpl and --enable-gpl is not specified.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
[root@tsong ffmpeg-0.5.1]# ./configure --prefix=/root/soft/ffmpeg --enable-swscale --enable-postproc --enable-gpl
无语,继续用./configure --prefix=/root/soft/ffmpeg --enable-swscale --enable-postproc --enable-gpl 命令编译ffmpeg
这可是第三次编译ffmpeg了!
9:继续编译:提示缺少a52
checking for a52dec/a52.h... no
configure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.
按照提示,从地址 http://liba52.sf.net下载, 或http://download.csdn.net/detail/zdf47579./configure --prefix=/root/soft/a52dec
make install
10:编译好a52dec后,我们继续编译vlc
./configure --enable-run-as-root --prefix=/root/soft/vlc --with-mad=/root/soft/libmad/ --with-a52=/root/soft/a52dec/ 报错:
No package 'xcb' found
yum install
相关的都给他装上 在运行./configure
11.再次执行vlc配置:./configure
--enable-debug --enable-dvbpsi --disable-nls --disable-mozilla报告错误:checking for XCB... noconfigure: error: Package requirements (xcb) were not met:No package 'xcb' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables XCB_CFLAGSand XCB_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.12.需要安装libxcb,而libxcb还需要xcb-proto和libpthread-stubs,并由Python编译,因此我进行了如下操作:1)下载http://www.python.org/ftp/python/3.1.3/Python-3.1.3.tgz,并执行:tar -zxvf Python-3.1.3.tgzcd Python-3.1.3./configuremakemake install2)下载http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz,并执行:./configuremakemake install3)下载http://xcb.freedesktop.org/dist/xcb-proto-1.6.tar.gz,并执行:./configuremakemake install4)最后下载http://xcb.freedesktop.org/dist/libxcb-1.7.tar.gz,并执行:./configuremakemake install期间,我还下载了libxcb-1.6.tar.gz,libxcb-1.5.tar.gz,libxcb-1.4.tar.gz,结果,不是在configure时报告错误“找不到Python”:checking for a Python interpreter with version &= 2.5... noneconfigure: error: no suitable Python interpreter found或报告错误“Python需要&=2.5,当前的Python版本 too old",就是在make时报告错误:Failed to load the xcbgen Python package!Make sure that xcb/proto installed it on your Python path.经查,有资料说Python3.x与Python2.x有很大的差异,没办法,只得全部make distclean,再将以上操作全部重新执行一遍,重要的是将Python版本替换为2.7:http://www.python.org/ftp/python/2.7/Python-2.7.tgz终于,将libxcb install完毕。
再次执行vlc配置:./configure
--enable-debug --enable-dvbpsi --disable-nls --disable-mozilla报告错误:checking for XLIB_XCB... noconfigure: error: Package requirements (x11-xcb) were not met:No package 'x11-xcb' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables XLIB_XCB_CFLAGSand XLIB_XCB_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.这个没有找到package 'x11-xcb'的错误真把人折腾死了,起初以为是缺少XWindows的开发环境,安装完毕后错误依旧…… 查了两天,看了无数的国内外论坛,得到的概念是:libX11应该在xcb绑定的基础上进行编译,也就是说应该先装libxcb,再make/install
libX11,而系统默认安装的libX11版本为1.0.3,因此前去ftp://ftp.freedesktop.org/pub/xorg/X11R7.4/src/lib/ 下载 xtrans-1.2.1.tar.gz 和libX11-1.1.5.tar.gz,去ftp://ftp.freedesktop.org/pub/xorg/X11R7.4/src/proto/ 下载xextproto-7.0.3.tar.gz,然后先make/install xextproto-7.0.3 和 xtrans,再make/install
libX11,结果却报告错误:checking for XLIB_XCB... noconfigure: error: Package requirements (x11-xcb) were not met:No package 'x11-xcb' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables XLIB_XCB_CFLAGSand XLIB_XCB_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.更换版本:libX11-1.1.3.tar.bz2 还是报告同样的错误。现在更晕菜了,几乎想放弃了。硬着头皮继续查,从大家的经历和分析感觉应该是系统的BUG,可参见:http://bugs.gentoo.org/show_bug.cgi?id=158476 或http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml。于是换高版本一搏,下载:http://www.x.org/releases/X11R7.6/src/lib/libX11-1.4.0.tar.gz 重新编译。通过!
配置其他依赖包
yum install dbus-devel libcddb-devel libva* libxcb-devel ghc-OpenGL-devel -y
yum install alsa-lib-devel -y
# 相关错误 configure: error: No package 'alsa' found. alsa-lib 1.0.16 or later required
yum install libgcrypt-devel -y
# 相关错误 configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt.
checking for FRIBIDI... configure: error: Package requirements (fribidi) were not met:
No package 'fribidi' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FRIBIDI_CFLAGS
and FRIBIDI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
从网址:http://fribidi.org/下载fribidi,然后编译安装。
[root@tsong fribidi-0.10.9]# ./configure --prefix=/root/soft/fribidi
make install
13:如步骤6,还是需要修改PKG_CONFIG_PATH,使之包含刚刚安装的fribidi
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/root/soft/ffmpeg/lib/pkgconfig:/root/soft/fribidi/lib/pkgconfig" 继续编译
14:继续报错
----------My god,我快失去耐心了。好在马上就结束了
checking for QT4... no
configure: WARNING: Qt 4 library not found
configure: error: The skins2 module depends on a the Qt4 development package. Without it you won't be able to open any dialog box from the interface, which makes the skins2
interface rather useless. Install the Qt4 development package or alternatively you can also configure with: --disable-qt4 --disable-skins2.
下载QT4,http://qt.nokia.com/downloads-cn 这又是一个大家伙,将近400MB呢,好在我之前已经下载编译好了,现在要做的就是指定pkg-config就可以了
15:还是让pkg-config可以找到qt4就可以了(/opt/qtsdk/qt/lib/pkgconfig)
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/root/soft/ffmpeg/lib/pkgconfig:/root/soft/fribidi/lib/pkgconfig:/opt/qtsdk/qt/lib/pkgconfig" 16:congratulations!
终于要成功了!
config.status: creating vlc-config
Enabled modules: a52tofloat32 a52tospdif access_alsa access_mmap access_oss adjust alphamask alsa aout_file aout_sdl atmo audio_format audioscrobbler avcodec avformat bandlimited_resampler
blend blendbench bluescreen canvas cdda chain clone cmml colorthres converter_float crop croppadd dbus deinterlace dolby_surround_decoder dtstospdif dynamicoverlay equalizer erase extract fake fb float32_mixer folder freetype gaussianblur gestures glx gnutls
gradient grain hal headphone_channel_mixer hotkeys http i420_rgb_mmx i420_rgb_sse2 i420_ymga i420_ymga_mmx i420_yuy2 i420_yuy2_mmx i420_yuy2_sse2 i422_i420 i422_yuy2 i422_yuy2_mmx i422_yuy2_sse2 inhibit invert linear_resampler logo magnify marq memcpy3dn memcpymmx
memcpymmxext mosaic motion motionblur motiondetect mpgatofixed32 mux_ogg noise normvol notify ogg opengl opengl osd_parser osdmenu oss panoramix param_eq png podcast postproc probe_hal psychedelic puzzle qt4 rc remoteosd ripple rotate rss rv32 sap scale scaletempo
scene screensaver sharpen shout showintf signals simple_channel_mixer skins2 spatializer spdif_mixer stream_out_raop swscale telepathy telnet telx transform unzip v4l2 vcd visual vmem vorbis vout_sdl wall wave x11 x11_screen xml xvideo yuv yuvp yuy2_i420 yuy2_i422
libvlc configuration
--------------------
version : 1.0.6
system : linux
architecture : i686 mmx sse sse2
build flavour : devel
vlc aliases : cvlc rvlc svlc qvlc
plugins/bindings :
You can tune the compiler flags in vlc-config.
To build vlc and its plugins, type `./compile' or `make'.
17:很遗憾,编译的时候再次出现错误提示:
ERROR : src/ft2_font.cpp:30: 29: fribidi/fribidi.h: No such file or directory
src/ft2_font.cpp: In member function 'virtual GenericBitmap* FT2Font::drawString(const UString&, uint32_t, int) const':
ERROR : src/ft2_font.cpp: 157: 'FriBidiCharType' was not declared in this scope
google:http://svn.tribler.org/vlc/trunk/modules/gui/skins2/src/ft2_font.cpp
查找代码ft2_font.cpp,在目录/root/download/vlc-1.0.6/modules/gui/skins2/src 下,看到了
#include &fribidi/fribidi.h&
因为我们的fribidi是安装在/root/soft/fribidi目录,不是默认安装在/usr/include目录,那么建立符号链接!
[root@tsong include]# ln -s /root/soft/fribidi/include/fribidi/ fribidi
[root@tsong include]# pwd
/usr/include
make install
20:编辑文件/usr/share/applications /vlc.desktop
[Desktop Entry]
Version=1.0
Name=Vlc Player
Comment=vlc player
GenericName=vlc
Exec=/root/soft/vlc/bin/vlc
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=vlc48x48
Categories=AudioV
MimeType=text/
StartupWMClass=Chromium
StartupNotify=true
X-Desktop-File-Install-Version=0.15
在Linux上安装VLC播放器
在Linux上安装vlc播放器
一、在 CentOS 6.5 (64位)上安装
二、在 CentOS 7 (64位)上安装
linux下安装vlc的注意事项
linux下安装vlc播放器
RedHat Enterprise Linux 6.4下安装 VLC
先切换到root用户,或者shell前加sudo.
切换目录,并下载源:
#cd /etc/yum.repos.d/
#wget http://pkgrepo.linuxtech.ne...
1.安装eple
下载地址:https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
2.安装n...
RHEL/CentOS/SL 7Use RPM Fusion for EL7. Only available for x86_64.This repository uses EPEL. Please ...
ubuntu &em&vlc&/em&离线方式 执行&em&vlc&/em&.sh 然后执行sudo dpkg -iR &em&vlc&/em& 详细在我博客有说明!
1、安装vlc编译中的一些工具
sudo apt-get install git libtool build-essential pkg-config autoconf
2、获取源码
linux下VLC的安装
若下下来的包为*.xz后缀的,则用XZ命令来解压。VLC-2.0以后的版本为*.xz
1.安装包资源:
http://www.videolan.org/vlc/download-sources.h...
没有更多推荐了,
(window.slotbydup=window.slotbydup || []).push({
id: "5865577",
container: s,
size: "300,250",
display: "inlay-fix"}

我要回帖

更多关于 linux系统可以运行exe 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信