<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.jbkempf.com/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Yet another blog for JBKempf - Tag - Building</title>
  <link>http://www.jbkempf.com/blog/</link>
  <atom:link href="http://www.jbkempf.com/blog/feed/tag/Building/rss2" rel="self" type="application/rss+xml"/>
  <description>This is the blog of Jean-Baptiste Kempf. I will share some info about my life, my works and my VideoLAN work</description>
  <language>en</language>
  <pubDate>Wed, 03 Sep 2008 22:46:05 -0700</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>VLC: misc and builds</title>
    <link>http://www.jbkempf.com/blog/post/2008/02/04/VLC%3A-misc-and-builds</link>
    <guid isPermaLink="false">urn:md5:7ad4ac945634347ac7ae6140d19306fc</guid>
    <pubDate>Mon, 04 Feb 2008 20:02:00 +0100</pubDate>
    <dc:creator>JBK</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>compilation</category><category>VideoLAN</category><category>VLC</category>    
    <description>    &lt;p&gt;Just some miscellaneous news about VLC and build systems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tree Cleaning: we decided to clean the tree of all the not really necessaries folder that are around now. See &lt;a href=&quot;http://wiki.videolan.org/VLC_source_tree&quot; hreflang=&quot;en&quot;&gt;the wiki&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;There is some experiments to build VLC using CMake inside the main tree. Checkout the latest VLC to test it.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Windows nightly builds are back after the big changes in the building and in the config.h changes.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;New contribs with updated 3rd party libraries are done for windows.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Windows CE and Symbian port are advancing... Not yet released, and ETA is really unknown.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Roadmap are changing, more about that soon.&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://www.jbkempf.com/blog/post/2008/02/04/VLC%3A-misc-and-builds#comment-form</comments>
      <wfw:comment>http://www.jbkempf.com/blog/post/2008/02/04/VLC%3A-misc-and-builds#comment-form</wfw:comment>
      <wfw:commentRss>http://www.jbkempf.com/blog/feed/rss2/comments/101</wfw:commentRss>
      </item>
    
  <item>
    <title>Configure-step in VLC building.</title>
    <link>http://www.jbkempf.com/blog/post/2007/12/14/Configure-step-in-VLC-building</link>
    <guid isPermaLink="false">urn:md5:b86887e75ae68cf01c576787dfb078ae</guid>
    <pubDate>Fri, 14 Dec 2007 21:09:00 +0100</pubDate>
    <dc:creator>JBK</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>Configure</category><category>VLC</category>    
    <description>    &lt;h2&gt;Idea&lt;/h2&gt;

&lt;p&gt;VLC can be built with a classical process:
&lt;code&gt;./bootstrap; ./configure --options; make&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;However, since &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt; is very modular, not everyone wants the same modules built so the configure line can be very long.&lt;/p&gt;


&lt;p&gt;Therefore, I'll try to explain a bit the main configure options and give a few examples.&lt;/p&gt;


&lt;h2&gt;Configure&lt;/h2&gt;


&lt;p&gt;&lt;code&gt;./configure&lt;/code&gt;&lt;/p&gt;


&lt;h3&gt;General and Developers options&lt;/h3&gt;
&lt;pre&gt;
--prefix=/usr \
--host= \
--build= \

--enable-debug | --enable-release # Choose the mode you want

--enable-optimizations            # Optimisations are good idea
--enable-sse --enable-mmx         # for releases

--enable-optimize-memory          # Smaller memory for less perf

--enable-cprof --enable-gprof     # Profiling
--enable-fast-install             # Libtool

--enable-testsuite                # If you want the tests to be built

--enable-static                   # Static libraries
--enable-shared                   # Shared libraries
--with-words                      # Endianess
&lt;/pre&gt;


&lt;h3&gt;Main VLC options&lt;/h3&gt;
&lt;pre&gt;
--enable-vlm                      # VLC Manager
--enable-visual                   # Visualisations
--enable-update-check             # Check the updates?
--enable-sout                     # Streaming Server
--enable-snapshot                 # Create VIdeo Snapshots
--enable-lua                      # Script VLC

--enable-freetype --enable-fribidi # No Need to disable this
--enable-nls --enable-libxml2      # or that.
&lt;/pre&gt;


&lt;h3&gt;Codecs&lt;/h3&gt;
&lt;pre&gt;
--enable-a52 [--with-a52-fixed]   # AC-3
--enable-dirac
--enable-faad                     # MPEG-4 Audio
--enable-fluidsynth               # Midi
--enable-mpc                      # Musepack Audio
--enable-real                     # Real Audio
--enable-loader                   # DirectMediaObject support for WMV
--enable-theora
--enable-twolame                  # MPGA Encoding
--enable-tremor
--enable-x264                     # H.264 Encoding
--enable-vorbis
--enable-speex
--enable-tarkin
--enable-zvbi | --enable-telx     # Teletext support
--enable-dca                      # DTS
--enable-flac
--enable-ffmpeg                   # lots of codecs
[--with-ffmpeg-a52 --with-ffmpeg-mp3lame --with-ffmpeg-zlib --with-ffmpeg-amrnb --with-ffmpeg-amrwb --with-ffmpeg-faac --with-ffmpeg-theora --with-ffmpeg-vorbis ]
--enable-libmpeg2
--enable-mad                      # Mpga decoding

--enable-png
--enable-svg
--enable-sdl-image

&lt;/pre&gt;


&lt;h3&gt;Video Outputs&lt;/h3&gt;
&lt;pre&gt;
--enable-xvideo                     # Linux
--enable-xinerama
--enable-x11
--enable-glx
--enable-directfb

--enable-wingdi                     # Win32
--enable-directx

--enable-opengl                     # All
--enable-sdl
--enable-caca
--enable-aa
&lt;/pre&gt;


&lt;h3&gt;Audio outputs&lt;/h3&gt;
&lt;pre&gt;
--enable-alsa                       # Unix
--enable-arts
--enable-esd
--enable-jack
--enable-portaudio
--enable-hd1000a
--enable-oss

--enable-waveout                    # Windows
&lt;/pre&gt;


&lt;h3&gt;Access&lt;/h3&gt;
&lt;pre&gt;
--enable-screen                     # Desktop record

--enable-bda                        # DVB for windows
--enable-dshow                      # DirectShow device

--enable-v4l                        # video 4 linux
--enable-v4l2                       # video 4 linux 2
--enable-dvb                        # DVB for Linux
--enable-pvr                        # PVR/IVTV
--enable-dv                         # DV support

--enable-gnutls                     # Encrypted streams
--enable-gnomevfs                   # Gnome VFS-
--enable-smb                        # Samba/Windows shares
--enable-cdda | --enable-cddax      # CD Audio
--enable-dvdnav                     # DVD video
--enable-vcd | --enable-vcdx        # VCD
--enable-dc1394                     # 1394 support
--enable-hal
--enable-live555 --enable-realrtsp  # RTSP

--enable-bonjour --enable-cyberlink # Various Service discoveries
--enable-upnp                       #
&lt;/pre&gt;


&lt;h3&gt;demux&lt;/h3&gt;
&lt;pre&gt;
--enable-mkv                        # Matroska
--enable-mod                        # ModPlug (instruments)
--enable-ogg                        # Ogg
--enable-gme                        # GME videogames
&lt;/pre&gt;


&lt;h3&gt;interface&lt;/h3&gt;
&lt;pre&gt;
--enable-qnx                        # QNX platform
--enable-qt4                        # Default interface in Qt4
--enable-qte                        # QTE/Opie interface
--enable-skins2                     # skins2
--enable-wxwidgets                  # Old default interface in wxWidgets
--enable-xosd                       # OSD interface
--enable-ncurses                    # Ncurses interface
--enable-fbosd                      # FrameBuffer interface
--enable-pda                        # Small gtk interface
--enable-httpd                      # HTTP daemon and interface

--enable-mozilla                    # Mozilla integration
--enable-activex                    # IE and ActiveX integration
--enable-dbus                       # D-Bus control
--enable-dbus-control
--enable-lirc                       # InfraRed Remotes
--enable-java-bindings
--enable-python-bindings
&lt;/pre&gt;


&lt;h3&gt;Visualisations&lt;/h3&gt;
&lt;pre&gt;
--enable-galaktos --enable-goom&lt;/pre&gt;


&lt;h3&gt;Metadata support&lt;/h3&gt;
&lt;pre&gt;
--enable-id3tag                     # metadata using id3tag
--enable-taglib                     # metadata using taglib
--enable-musicbrainz                # Musicbrainz
--enable-libcddb                    # CDDB/FreeDB integration
--enable-libcdio                    # CD-Text
&lt;/pre&gt;</description>
    
    
    
          <comments>http://www.jbkempf.com/blog/post/2007/12/14/Configure-step-in-VLC-building#comment-form</comments>
      <wfw:comment>http://www.jbkempf.com/blog/post/2007/12/14/Configure-step-in-VLC-building#comment-form</wfw:comment>
      <wfw:commentRss>http://www.jbkempf.com/blog/feed/rss2/comments/78</wfw:commentRss>
      </item>
    
  <item>
    <title>Build vlc under a fresh sid</title>
    <link>http://www.jbkempf.com/blog/post/2007/10/04/Build-vlc-under-a-fresh-sid</link>
    <guid isPermaLink="false">urn:md5:42089f44f27be5275c6c0d4d6ff8008f</guid>
    <pubDate>Thu, 04 Oct 2007 13:39:00 +0200</pubDate>
    <dc:creator>JBK</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>compilation</category><category>debian</category><category>VLC media player</category>    
    <description>    &lt;h2&gt;Introduction&lt;/h2&gt;

&lt;p&gt;So we are going to build the latest &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt; possible.&lt;/p&gt;


&lt;p&gt;I already did it for ubuntu feisty and it had a huge success. I am going to do the same for debian/sid, which is the distro I use in normal time.&lt;/p&gt;


&lt;p&gt;However, some steps did changed, and I compile more options here, because I can :D&lt;/p&gt;


&lt;p&gt;Everything will be done in a console/terminal and should be straight-forward. Every question should be asked on the forum, or in the comments here.&lt;/p&gt;


&lt;h3&gt;Conventions&lt;/h3&gt;

&lt;p&gt;Every line beginning with a &lt;q&gt;#&lt;/q&gt; should be done as root, or using the &lt;q&gt;sudo &lt;/q&gt; command.
Every line beginning witha &lt;q&gt;%&lt;/q&gt; is a normal line.&lt;/p&gt;


&lt;h2&gt;Building VLC&lt;/h2&gt;

&lt;h3&gt;Prepare your environment&lt;/h3&gt;

&lt;pre&gt;
# apt-get build-dep vlc
# apt-get install build-essential subversion tofrodos
# apt-get install portaudio-dev
&lt;/pre&gt;


&lt;h3&gt;Checkout it&lt;/h3&gt;
&lt;pre&gt;
% svn co svn://jb@svn.videolan.org/vlc/trunk vlc-trunk
% cd vlc-trunk;
&lt;/pre&gt;


&lt;h3&gt;Bootstrap it&lt;/h3&gt;
&lt;pre&gt;
% ./bootstrap
&lt;/pre&gt;

&lt;p&gt;It has to finish with:
Successfully bootstrapped&lt;/p&gt;


&lt;h3&gt;Build external libraries&lt;/h3&gt;


&lt;h4&gt;x264&lt;/h4&gt;

&lt;p&gt;x264 is a library to encode movies in H.264.&lt;/p&gt;
&lt;pre&gt;
% cd extras/
%
% svn co svn://svn.videolan.org/x264/trunk x264
% cd x264
% make
% cd ..
&lt;/pre&gt;


&lt;h4&gt;faac&lt;/h4&gt;

&lt;p&gt;faac is a library to encode audio in AAC/MP4A&lt;/p&gt;
&lt;pre&gt;
% wget http://surfnet.dl.sourceforge.net/sourceforge/faac/faac-1.25.tar.gz
% tar xvf faac-1.25.tar.gz
% cd faac
% dos2unix *
% ./bootstrap
% ./configure
% make
# make install
% cd..
&lt;/pre&gt;


&lt;h4&gt;Lame&lt;/h4&gt;

&lt;p&gt;Lame is a library to encode MP3&lt;/p&gt;
&lt;pre&gt;
% wget http://garr.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
% tar xvf lame-3.97.tar.gz
% cd lame-3.97
% ./configure;
% make
# make install
% cd..
&lt;/pre&gt;


&lt;h4&gt;ffmpeg&lt;/h4&gt;

&lt;p&gt;ffmpeg is a multi-codec library&lt;/p&gt;
&lt;pre&gt;
% svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
% cd ffmpeg
% ./configure --enable-gpl --enable-pp \ 
               --enable-pthreads --enable-libmp3lame  \ 
               --enable-libfaac
% make
% cd ../..
&lt;/pre&gt;


&lt;h4&gt;live&lt;/h4&gt;

&lt;p&gt;Live is a streaming library. you'll need it to read some streams.&lt;/p&gt;
&lt;pre&gt;
% wget http://live555.com/liveMedia/public/live555-latest.tar.gz
% tar xvf live555-latest.tar.gz
% cd live555
% ./genMakefiles linux
% make
% cd..
&lt;/pre&gt;


&lt;h3&gt;VLC&lt;/h3&gt;

&lt;h4&gt;configure&lt;/h4&gt;
&lt;pre&gt;
% mkdir linux;
% cd linux
% ../configure --prefix=/usr --enable-snapshot \
--enable-debug --enable-dbus-control \
--enable-musicbrainz --enable-shared \
--enable-mozilla --enable-lirc \
--with-x509-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
--with-live555-tree=../extras/live \
--with-ffmpeg-tree=../extras/ffmpeg \
--enable-shout --enable-taglib --enable-v4l \
--enable-cddax --enable-dvb --enable-vcdx \
--enable-realrtsp --enable-svg --enable-dvdread \
--enable-dv --enable-theora --enable-faad \
--enable-twolame --enable-real --enable-flac \
--enable-tremor --with-ffmpeg-mp3lame \
--with-ffmpeg-faac --enable-skins2 --enable-qt4 \
--enable-ncurses --enable-aa --enable-caca \
--enable-esd --enable-portaudio --enable-jack \
--enable-xosd --enable-galaktos --enable-goom \
--enable-ggi --disable-cddax --disable-vcdx \
--disable-dirac --enable-x264 \
--with-x264-tree=../extras/x264 \
--disable-xvmc --enable-wxwidgets \
--enable-lua --enable-pvr --enable-loader \
--enable-python-bindings --enable-audioscrobbler \
--enable-libcddb --enable-libcdio --enable-opencv  \
--enable-nls
&lt;/pre&gt;


&lt;h4&gt;build it&lt;/h4&gt;
&lt;pre&gt;
% make
&lt;/pre&gt;</description>
    
    
    
          <comments>http://www.jbkempf.com/blog/post/2007/10/04/Build-vlc-under-a-fresh-sid#comment-form</comments>
      <wfw:comment>http://www.jbkempf.com/blog/post/2007/10/04/Build-vlc-under-a-fresh-sid#comment-form</wfw:comment>
      <wfw:commentRss>http://www.jbkempf.com/blog/feed/rss2/comments/53</wfw:commentRss>
      </item>
    
</channel>
</rss>