Compiling VLC source under Ubuntu

Source: Internet
Author: User
Tags gettext git clone gstreamer

http://blog.csdn.net/beitiandijun/article/details/9225591
Compiling VLC source under Ubuntu

Category: Video processing 2013-07-02 17:33 5761 people Read reviews (0) Favorite reports
Vlc


Operating System Selection:
http://old-releases.ubuntu.com/releases/14.04.0/
Ubuntu-14.04-desktop-amd64.iso

The sudo apt-get install has already installed the Freescale I. Mx6q's android4.2.2/android4.4.2 software.

The software in this post is already installed.
http://blog.csdn.net/zhoudekuai/article/details/8539432
Gst-rtsp-server Compile Test


1. Get the VLC source code from Git, and of course you have to make sure that you have Git installed:
git clone git://git.videolan.org/vlc.git

VLC source is still quite large, I downloaded compressed into a tar.gz compressed package, a total of 292M.
(2015/11/6 21:06)
Version: VLC Media Player 3.0.0-git Vetinari (revision 2.2.0-git-5224-ge4695f0)


2. CD VLC
Ls
AUTHORS compat Doc M4 PO THANKS
Autotools configure.ac Extras Make-alias README
Bin contrib include makefile.am share
Bindings COPYING INSTALL Modules src
Bootstrap COPYING. Lib Lib NEWS test


3,./bootstrap
Here's a question I'm having:
./bootstrap

sudo apt-get install gettext;
sudo apt-get install autoconf automake libtool

Once installed, try again:
./bootstrap
[Email protected]:/home/share/mahang/vlc#./bootstrap
......
Configure.ac:27:installing ' autotools/missing '
Bin/makefile.am:installing ' Autotools/depcomp '
Autoreconf:leaving directory '. '
+ rm-f Po/makevars.template
+ rm-f stamp-h*
+ Set +x
Successfully bootstrapped

Look at the beginning or prompt said need to install or upgrade gettext, do not know what is the reason, regardless of, anyway, "successfully bootstrapped"


4. Install VLC Dependency package:
sudo apt-get build-dep VLC
It's pretty big, 122m+.

[email protected]:~/wyb/ubuntu_vlc/vlc$ sudo apt-get build-dep VLC
Reading package lists ... Done
Building Dependency Tree
Reading State information ... Done
The following packages has unmet dependencies:
libfluidsynth-dev:depends:libfluidsynth1 (= 1.1.6-2) but it Is isn't going to being installed
Depends:libjack-dev or
Libjack-jackd2-dev but it's not going to be installed
E: Build-dependencies for VLC could isn't be satisfied.
[email protected]:~/wyb/ubuntu_vlc/vlc$
[email protected]:~/wyb/ubuntu_vlc/vlc$ sudo apt-get Install libfluidsynth1=1.1.6-2
[email protected]:~/wyb/ubuntu_vlc/vlc$ sudo apt-get install Libjack-jackd2-dev
[email protected]:~/wyb/ubuntu_vlc/vlc$
[email protected]:~/wyb/ubuntu_vlc/ vlc$ sudo apt-get build-dep VLC


5. Compiling
./configure
......
Checking for Gst_app ... No
Configure:WARNING:No package ' gstreamer-app-1.0 ' found. GStreamer modules won't be built.
Checking for Avcodec ... no
Configure:error:Requested ' libavcodec >= 55.0.0 ' but version of the Libavcodec is 54.35.0. Pass--disable-avcodec to ignore this error.
[Email protected]:~/wyb/ubuntu_vlc/vlc$./configure--disable-avcodec

Make
sudo make install
sudo ldconfig
Installation is complete.


6, running (must be running on the real machine)
./VLC

sudo apt-get install Checkinstall lua50


7. Installation
Make install

Can uninstall
Make Uninstall
Make Distclean

Compiling VLC source under Ubuntu

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.