installing VLC under Linux centons 6.5
before executing the command below, you can go to the/etc/yum.repos.d/directory and see what they look like.
1, installation of Epel and Remi Repository:
[[email protected] ~]#yum localinstall--nogpgcheck http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
when the foreigner wrote the article, the Epel-release version was 6.7, and the download link he gave was "http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm", but this link is now invalid, to Fedoraproject found a new version of the Epel 6.8.
[[email protected] ~]#Yum localinstall--nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
2, installation of Rpmfusion repository:
The following two RPM packages are to be installed
[[email protected] ~]#Yum Localinstall--nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/ rpmfusion-free-release-6-1.noarch.rpm
[[email protected] ~]#Yum Localinstall--nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/ rpmfusion-nonfree-release-6-1.noarch.rpm
the above two steps are completed before going to/etc/yum.repo.d/directory to execute the LS to see what changes. I must be clear in mind, can not be confused about what do not know the matter to do it, pull away has, continue.
3. View VLC version information:
[[Email protected] ~] #Yum--enablerepo=remi-test info VLC
no accident, this command goes down, the result should be the following:
Available Packages NAME:VLC arch:i686 version:2.0.6 release:1.el6 size:1.4 M repo:rpmfusion-free-updates summary:the cross-platform open-source Multimedia framework, player and : Server url:http://www.videolan.org license:gplv2+ DESCRIPTION:VLC Media Player is a highly portable multimedia player and : Multimedia framework capable of reading most audio and video : Formats as well as DVDs, Audio CDs VCDs, and various streaming : Protocols. It can also is used as a media converter or a server to : Stream in Uni-cast or multi-cast in IPV4 or IPv6 on networks.
|
4. Installation:
[[email protected] ~]#Yum--enablerepo=remi-test Install VLC
Run the input VLC directly after the run
[[email protected] ~]# VLC
Unfortunately, it will tell you that VLC does not support root. How can not think of VLC how to have such a design, do not want to think, the existence is reasonable. I can only blame the lack of cultivation, continue to solve Bai.
You can also create an account:
Useradd User name passwd user name
#useradd VLC
#passwd VLC
< span>
two ways:
--enable-run-as-root, and then it's all right. At present, I am not realistic, I am also ready to go to bed, unless one day want to experience the fun of compiling from the source code. "Veto"
method Two: Easy + enjoyable way, this I like. The VLC executable should then be installed in the/usr/bin/directory and backed up to another path for future use. Then with the VI editor to open the/USR/BIN/VLC, the only one in the geteuid to change to getppid save exit.
650) this.width=650; "src=" http://blog.chinaunix.net/attachment/201306/24/23069658_13720061652yYq.jpg "width=" 700 "Height=" 301 "style=" border:0px;line-height:1.5;/>
The function is to use VLC to place the current directory namedspace_camera.flv video FilesIn a "streaming" way to publish it, similar to Youku, potato VOD video on demand, and then open in Windows VLC playback, "open network Stream" in the "mmsh://192.168.40.132:11111" player results are as follows:
650) this.width=650; "src=" http://blog.chinaunix.net/attachment/201306/24/23069658_13720063829J7n.jpg "width=" 700 "height=" 329 "style=" border:0px;line-height:1.5;/>
finally confirm the version of my Windows VLC:
650) this.width=650; "src=" http://blog.chinaunix.net/attachment/201306/24/23069658_1372006426CC2c.jpg "width=" 700 "Height=" 323 "style=" border:0px;line-height:1.5;/>
Don't sleep, shoes will fly over, hehe. I hope this article will help the needy friends.
This article is from "Ghost" blog, please make sure to keep this source http://fangwei009.blog.51cto.com/5234706/1632810
Linux centons 6.5 under yum install VLC