Linux_Fedora _ application series _ 2 _ how to install the video player and video file Decoding

Source: Internet
Author: User
Tags metalink

[Linux_Fedora _ application series] _ 2 _ how to install the video player and video file decoding here we will install the video player. We still use the yum Method for installation. 1. install Totem yum install Totem. If you are using the default FC14 yum library, you can find that the software cannot be installed normally. Therefore, you need to modify the configuration of the yum library. 2. Create a New yum library configuration file in the fcseries, and save the yum configuration file in:/etc/yum. repos. in the d directory, the files ending with repo in the directory are the yum configuration file of the yum library. The format of the yum configuration file is as follows [local-update] name = local-update yum libbaseurl = file: /// home/volcanol/rpmenabled = 1 gpgcheck = 1 Item 1: local-update indicates the name of the yum database. You can name the second item as needed: name attribute, which is generally descriptive, you can enter the third item at will: baseurl attribute, indicating the path for the yum library to search for the rpm package. Here, http: //, ftp: //, and file: // are supported, the file: // protocol is used because it is enabled locally. It is followed by the absolute path of the yum software library, because I will install the rpm file of the FC 14 CD, all copied to/home/volcanol/rp In the "m" directory, set "/home/volcanol/rpm" to "enabled = 1", indicating that the local-update yum library is enabled. If this parameter is not set, if it is set to 0, it is not enabled. Item 5: gpgchechk = 1, indicates file verification is enabled, and = 0 indicates not to be enabled. 3. After creating a search index and creating a configuration file, the local yum library cannot be used normally, you also need the createrepo tool to create a yum index for normal use. The createrepo tool is not installed by default. Therefore, we need to install this tool. The Packages folder on the installation disc contains the rpm Installation File for createrepo. Run the following command to install the createrepo tool. When the rpm-ivh createrepo-0.9.8-5.fc14.noarch.rpm is installed, sometimes the dependency does not exist and you also need to install the dependency file. My machine prompts less: python-deltarpm-3.6-0.2.20100708git.fc14.i686.rpm so I used the following command to install two rpm simultaneously: rpm-ivh python-deltarpm-3.6-0.2.20100708git.fc14.i686.rpm createrepo-0.9.8-5.fc14.noarch.rpm so that the createrepo tool was successfully installed, in this way, you can create an rpm index. Run the following command to create the parameters following createrepo-v/home/volcanol/rpm/createrepo: /home/volcanol/rpm/is the absolute path of the rpm storage of our yum library.-v indicates that detailed information is displayed. After this step, the index is created. 4. Clear the yum cache configuration file under the system var directory and run the following command: yum clean all: root @ volcanol rpm] # yum clean all loaded plug-in: langpacks, presto, refresh-packagekitAdding zh_CN to language listCleaning repos: fedora local-update rpmfusion-free-updates rpmfusion-nonfree-updates clear all 0 delta-package files removed, by presto5. install the Totem software by running the following command: yun install totem: The loaded plug-in: langpacks, pres To, refresh-repository zh_CN to language listfedora/metalink | 4.6 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db Adding zh_CN to language listfedora/metalink | 4.6 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 11 MB local-update | 1.3 kB... local-update/primary | 1.1 MB... local-update the output of the first segment, indicating that after the yum library is updated for the first time, the cached file of yum in the var directory needs to be updated. The second output I extracted indicates that the yum library I created has been included in the cache file of yum in the var directory. After the cache file is updated, the totem software is installed. The output information is as follows: set the installation process to solve the dependency --> execute the transaction check ---> Software Package totem. i686. 32.0-1. fc14 will be installed --> processing dependencies python-feedparser, which is required by the Software Package 1: totem-2.32.0-1.fc14.i686 --> processing dependency python-httplib2, Which is packaged by Package 1: totem-2.32.0-1.fc14.i686 needs --> processing dependencies python-BeautifulSoup, which is required by Software Package 1: totem-2.32.0-1.fc14.i686 --> processing dependencies gnome-dvb-daemon, Which Is Software Package 1: the totem-2.32.0-1.fc14.i686 requires the following statement to start installation: ---> Software Package totem. i68 6. 32.0-1. fc14 will be installed. 6. install the video decoder. Run the following command to install the video decoder: yum install ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore To Play files in rmvb, avi, and other formats, 7. After mplayer and smplayer are installed successfully, we find that video image decoding is not ideal for playback of avi files. Only sound is available, and the image display is black, therefore, we also need to install a Universal Video Player. Here we select mplayer and smplayer. Run the following command to install yum install mplayer smplayer. During the configuration process, you must note the software installation sequence so that the dependency can be properly parsed, then you can install these frequently used software smoothly.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.