Install the smplayer package in linux

Source: Internet
Author: User
Install the smplayer package in linux-general Linux technology-Linux technology and application information. For more information, see. I installed mplayer two days ago. I tried to install a front-end and finally decided to install smplayer on the Internet. At first, I couldn't install it. Later I went through my own hard work, I understand how useful the README file is, my English is not very good, probably meaning also understand the smplayer-0.5.62 support qt4.2 or a later version, I am only 3.3 so can not install, the installation process is also detailed above. Therefore, it is best to install the software, which will be of great help to you.

1. Install QT4.3.2
Ii. download the software package
I use smplayer-0.5.62.tar.bz2. Please search and download it online.
3. decompress the Software Package
$ Tar-jxvf smplayer-0.5.62.tar.bz
$ Smplayer-0.5.62 cd
4. Edit Makefile
$ Vi Makefile
If you want to modify the installation location of your smplayer software, modify the prefix as follows:
PREFIX =/usr/local/smplayer
The default value is PREFIX =/usr/local.

QMAKE and LRELEASE are the most important items for modifying Makefile files, because the location of the installed qt4.3.2 file does not match that in the Makefile file, we need to manually modify these two items (the premise is that your qt4.2 or later version has been installed successfully)

My changes are as follows:
QMAKE =/usr/local/qt4.3.2/bin/qmake
LRELEASE =/usr/local/qt4.3.2/bin/qt3to4
Please modify according to your actual situation
$ Make
# Make install
After the installation is successful, find the smplayer in the bin directory under your installation path.
$./Usr/local/smplayer/bin/smplayer
Is the smplayer window coming out.

This may not be able to play a video, because it is a front-end of the software, so we also need to set the back-end of smplayer my mplayer

Open the Options menu and find the Preferences menu item. In General, there is a path setting item for you to set the MPlayer installation path.

For example, my:
/Usr/local/mplayer/bin/mplayer
After these operations, is your smplayer software ready to watch movies.
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: info-contact@alibabacloud.com 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.