<?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>Mon, 06 Feb 2012 11:49:19 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Want to include vlc in your Qt application?</title>
    <link>http://www.jbkempf.com/blog/post/2009/05/23/Want-to-include-vlc-in-your-Qt-application</link>
    <guid isPermaLink="false">urn:md5:671d0fa5313163745ec43ec1e5bcc0df</guid>
    <pubDate>Sat, 23 May 2009 10:36:00 +0200</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>Qt4</category><category>VLC</category>    
    <description>    &lt;h2&gt;Qt and VLC&lt;/h2&gt;

&lt;p&gt;Well, we have a very easy howto for you: &lt;a href=&quot;http://wiki.videolan.org/LibVLC_SampleCode_Qt&quot;&gt;libVLC in Qt &lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;This will output the video inside the widget that you want using QWidget::winId() method.&lt;/p&gt;


&lt;p&gt;This has been tested on Linux and Windows, using libVLC 0.9.9.&lt;/p&gt;


&lt;h3&gt;Need&lt;/h3&gt;

&lt;p&gt;If you can't build your application easily, remember to install libvlc-dev or to use the SDK for windows from the .zip files of the releases!&lt;/p&gt;


&lt;h3&gt;Participate&lt;/h3&gt;

&lt;p&gt;Don't hesitate to complete this!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>VLC and IDE</title>
    <link>http://www.jbkempf.com/blog/post/2009/04/30/VLC-and-IDE</link>
    <guid isPermaLink="false">urn:md5:a8d0c66b7b8b01b0324757b82c706ebf</guid>
    <pubDate>Thu, 30 Apr 2009 08:19:00 +0200</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>IDE</category><category>Qt4</category><category>QtCreator</category><category>VideoLAN</category><category>VLC</category>    
    <description>    &lt;p&gt;I receive many questions about using an &lt;a href=&quot;http://www.jbkempf.com/blog/tag/IDE&quot;&gt;IDE&lt;/a&gt; to build &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Usually, the answer is VIM. But I will try to introduce something else today.&lt;/p&gt;


&lt;h2&gt;Needs&lt;/h2&gt;

&lt;p&gt;Yeah, &lt;strong&gt;VIM&lt;/strong&gt; is &lt;strong&gt;TEH awesome&lt;/strong&gt;, but sometimes we would like more. But usually, more is &lt;em&gt;slow&lt;/em&gt;, &lt;em&gt;incomplete&lt;/em&gt; and &lt;em&gt;boring&lt;/em&gt;...&lt;/p&gt;


&lt;p&gt;Would you want an editor with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;VIM syntax and command,&lt;/li&gt;
&lt;li&gt;Completion that is faster than the one from Eclipse&lt;/li&gt;
&lt;li&gt;Git inclusion&lt;/li&gt;
&lt;li&gt;Doesn't eat all your RAM&lt;/li&gt;
&lt;li&gt;Debuggueur and step-by-step+breakpoints integration like MSVC?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;ins&gt;I guess so!&lt;/ins&gt;&lt;/p&gt;


&lt;p&gt;Believe it or not, there is a solution: &lt;a href=&quot;http://www.qtsoftware.com/products/developer-tools&quot; hreflang=&quot;en&quot;&gt;QtCreator&lt;/a&gt; from Nokia/QtSoftware that I have tested to work with &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Even if you don't think this will be useful for you, at least read in diagonale the following post.&lt;/p&gt;


&lt;h2&gt;Installation&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Take &lt;a href=&quot;http://www.jbkempf.com/blog/tag/QtCreator&quot;&gt;QtCreator&lt;/a&gt; 1.1 (don't take older versions, they won't fit for VLC, or the VIM part will suck...)&lt;/li&gt;
&lt;/ul&gt;

&lt;pre&gt;  &lt;code&gt; `apt-get install qtcreator`&lt;/code&gt; in Debian/Sid&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;Take Qt4.5.1 (I mean it, Qt 4.5.0 is buggy!)&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Setup&lt;/h2&gt;

&lt;h3&gt;General Setup&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Run QtCreator and launch Tools-&amp;gt;options
&lt;ul&gt;
&lt;li&gt;Activate FakeVim and set ShiftWidth to 4&lt;/li&gt;
&lt;li&gt;Text Editor-&amp;gt;Behaviour, set Tab size at 4&lt;/li&gt;
&lt;li&gt;Text Editor-&amp;gt;Display, enable Text Wrapping and display right margin, and if you like Alexis' vim, Visualize whitespace&lt;/li&gt;
&lt;li&gt;Text Editor, change the colour schemes to match you old editor &lt;img src=&quot;/blog/themes/jbkempf/smilies/wink.png&quot; alt=&quot;;)&quot; class=&quot;smiley&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Save options.&lt;/li&gt;
&lt;/ul&gt;

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


&lt;p&gt;For the example, I assume that you build your vlc in a &amp;quot;build&amp;quot; subdir of the source (as xtophe usually gives advice)&lt;/p&gt;


&lt;pre&gt; * File-&amp;gt;New
   Select 'Import of Makefile-based Project'
   &lt;del&gt;&lt;/del&gt;-
   Project Name 'VLC'
   Location '/home/you/vlc' and Choose, Next
   &lt;del&gt;&lt;/del&gt;-
   Let it process... It should take around 1minute
   Finish.&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;EXIT QtCreator... I MEAN it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Setup Indexation&lt;/h3&gt;

&lt;p&gt;QtCreator will have done VLC.includes VLC.creator, VLC.files and a VLC.config in your vlc/ folder.&lt;/p&gt;


&lt;p&gt;Overwrite the VLC.includes and the VLC.files with the one you can find:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://people.videolan.org/~jb/QtCreator/VLC.files&quot; hreflang=&quot;en&quot;&gt;http://people.videolan.org/~jb/QtCreator/VLC.files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://people.videolan.org/~jb/QtCreator/VLC.includes&quot; hreflang=&quot;en&quot;&gt;http://people.videolan.org/~jb/QtCreator/VLC.includes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Doing this will gain you some time. Those could be auto-generated one day, I guess...&lt;/p&gt;



&lt;h3&gt;Setup Build&lt;/h3&gt;


&lt;h4&gt;Relaunch QtCreator&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Select Projects (on the left) and select VLC on the list&lt;/li&gt;
&lt;li&gt;Build Settings,
&lt;ul&gt;
&lt;li&gt;Change Build directory to /home/you/vlc/build, using browse&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Run Settings,
&lt;ul&gt;
&lt;li&gt;Add a custom Executable with the blue '+'&lt;/li&gt;
&lt;li&gt;Name it VLC, browse to /home/you/vlc/build/vlc for Executable&lt;/li&gt;
&lt;li&gt;Put -Iqt in Arguments&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Click on Edit on the left. You should see VLC with most useful files.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;Build VLC and launch it.&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;In the Menu, Build and Build All, you should see the Compilation output on the bottom (or by clicking on the left build progressbar)&lt;/li&gt;
&lt;li&gt;In the same menu, Build and Run it, and VLC will launch directly, outputting everything in the Application output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Cool. But that was just a minimum...&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;Using it like VIM: Good!&lt;/h2&gt;

&lt;p&gt;Open modules/codec/avcodec/audio.c from the file browser and see... You are using VIM commands to control. You have Visual, Edit and all usual VIM modes!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Completion is triggered with Ctrl+Space and will give you a list. If there is no ambiguition, it is filled.&lt;/li&gt;
&lt;li&gt;. and -&amp;gt; triggers the list of the members of the struct or the class by default.&lt;/li&gt;
&lt;li&gt;After function completions, it will give the type of the arguments.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;F2 will give you access to the function definition where your mouse is.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Debugging it: awesome!&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You can put breakpoints in the margins near the line numbers. (Like in modules/gui/qt4/main_interface.cpp:100 and 108)&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Now re run it using debug running.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It will stop at your breakpoint and you will have the function call lists (and line numbers) but also pointers values (like p_intf, and this in main_interface.cpp)
&lt;a href=&quot;http://www.jbkempf.com/blog/public/VideoLAN/VLC_Qt_Creator.png&quot;&gt;&lt;img src=&quot;http://www.jbkempf.com/blog/public/VideoLAN/.VLC_Qt_Creator_m.jpg&quot; alt=&quot;http://people.videolan.org/~jb/QtCreator/VLC_Qt_Creator.png&quot; title=&quot;VLC Qt Creator, avr. 2009&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;You can, of course Step In, Step Into and Step Out, resume or stop the code&lt;/p&gt;


&lt;h2&gt;More coolness:&lt;/h2&gt;

&lt;h3&gt;Locate&lt;/h3&gt;

&lt;p&gt;Use the locate search box to find quick declarations:
&lt;code&gt;'m vlc_object_act'&lt;/code&gt; will help you to go quickly to the method declaration, etc...&lt;/p&gt;


&lt;h3&gt;Git&lt;/h3&gt;

&lt;p&gt;Use the Git menu to checkout from within QtCreator.&lt;/p&gt;


&lt;h3&gt;Nota Bene&lt;/h3&gt;

&lt;p&gt;The indexing shouldn't be too long, but could be a bit longer the first time you launch the project!&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Have fun!&lt;/strong&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Howto build VLC 1.0.0-git in Ubuntu in less than 5 commands.</title>
    <link>http://www.jbkempf.com/blog/post/2009/03/03/Howto-build-VLC-1.0.0-git-in-Ubuntu-in-less-than-5-commands</link>
    <guid isPermaLink="false">urn:md5:f959f36a6e3895e4834838c29ef50f6f</guid>
    <pubDate>Tue, 03 Mar 2009 13:38:00 -0800</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>1.0.0</category><category>Building</category><category>compilation</category><category>Debian</category><category>HOWTOS</category><category>Ubuntu</category><category>VLC</category><category>VLC media player</category>    
    <description>    &lt;p&gt;Since building &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt; is easier and easier now,  I am compelled to improve my &lt;a href=&quot;http://www.jbkempf.com/blog/tag/HOWTO&quot;&gt;HOWTOS&lt;/a&gt;. Here is one for &lt;a href=&quot;http://www.jbkempf.com/blog/tag/Ubuntu&quot;&gt;Ubuntu&lt;/a&gt;, that can easily adapt to &lt;a href=&quot;http://www.jbkempf.com/blog/tag/Debian&quot;&gt;Debian&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is not a complete and detailed post, but just a summary. &lt;em&gt;If you need more details&lt;/em&gt;, take the &lt;a href=&quot;http://www.jbkempf.com/blog/post/2008/11/26/Build-VLC-media-player-under-Ubuntu-Intrepid&quot;&gt;Build on Intrepid &lt;/a&gt;HOWTO.
&lt;/p&gt;
&lt;h3&gt;Get all you need&lt;/h3&gt;
&lt;p&gt;&lt;code&gt; sudo apt-get build-dep vlc &amp;amp;&amp;amp; sudo apt-get install libtool build-essential automake1.10 git-core &lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;Get the source&lt;/h3&gt;
&lt;p&gt;&lt;code&gt; git clone git://git.videolan.org/vlc.git&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;Go&lt;/h3&gt;
&lt;p&gt;&lt;code&gt; cd vlc &amp;amp;&amp;amp; ./bootstrap&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; mkdir build &amp;amp;&amp;amp; cd build &amp;amp;&amp;amp; ../configure --disable-nls --enable-qt4&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; make &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Done.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Build VLC media player under Ubuntu Intrepid</title>
    <link>http://www.jbkempf.com/blog/post/2008/11/26/Build-VLC-media-player-under-Ubuntu-Intrepid</link>
    <guid isPermaLink="false">urn:md5:c48cce3d57d6721597afff2b48388da9</guid>
    <pubDate>Wed, 26 Nov 2008 01:07:00 -0800</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>Building</category><category>compilation</category><category>Ubuntu</category><category>VLC media player</category>    
    <description>&lt;p&gt;This post is an update of the popular howto for &lt;a href=&quot;http://www.jbkempf.com/blog/post/2007/05/06/Build-VLC-media-player-under-Ubuntu-Feisty-704&quot; hreflang=&quot;en&quot;&gt;Build VLC with feisty&lt;/a&gt; and &lt;a href=&quot;http://www.jbkempf.com/blog/post/2008/03/28/Build-VLC-media-player-under-Ubuntu-Hardy-804&quot; hreflang=&quot;en&quot;&gt;Build VLC with hardy&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Those articles are always popular on my blog, so here is an update.&lt;/p&gt;    &lt;p&gt;This post is an update of the popular howto for &lt;a href=&quot;http://www.jbkempf.com/blog/post/2007/05/06/Build-VLC-media-player-under-Ubuntu-Feisty-704&quot; hreflang=&quot;en&quot;&gt;Build VLC with feisty&lt;/a&gt; and &lt;a href=&quot;http://www.jbkempf.com/blog/post/2008/03/28/Build-VLC-media-player-under-Ubuntu-Hardy-804&quot; hreflang=&quot;en&quot;&gt;Build VLC with hardy&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Those articles are always popular on my blog, so here is an update.&lt;/p&gt;

&lt;h3&gt;Introduction&lt;/h3&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;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;h4&gt;Conventions&lt;/h4&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;p&gt;We need a few package starting from a fresh intrepid:&lt;/p&gt;
&lt;pre&gt;
# apt-get install vlc
# apt-get build-dep vlc 
# apt-get install cvs build-essential git git-core automake1.9 libtool
# apt-get install libcddb2-dev libzvbi-dev yasm
&lt;/pre&gt;


&lt;h3&gt;Checkout VLC trunk and bootstrap the tree&lt;/h3&gt;

&lt;pre&gt;
% git clone git://git.videolan.org/vlc.git

% cd vlc
% ./bootstrap
&lt;/pre&gt;



&lt;h3&gt;Build x264&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/
%
% git clone git://git.videolan.org/x264.git
% cd x264
% make
% sudo make install
% cd ../..
&lt;/pre&gt;



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


&lt;h4&gt;Configure&lt;/h4&gt;
&lt;pre&gt; 
% mkdir build; cd build;
%../configure --prefix=/usr --enable-mozilla
&lt;/pre&gt;



&lt;h3&gt;Finish&lt;/h3&gt;
&lt;pre&gt;
% make
&lt;/pre&gt;


&lt;p&gt;You just have to wait a bit :D&lt;/p&gt;</description>
    
    
    
      </item>
    
  <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>Jean-Baptiste Kempf</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>
    
    
    
      </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>Jean-Baptiste Kempf</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>
    
    
    
      </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>Jean-Baptiste Kempf</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>
    
    
    
      </item>
    
</channel>
</rss>
