
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Compile_Cinelerra_4.3&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Compile Cinelerra 4.3 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Compile_Cinelerra_4.3&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Compile_Cinelerra_4.3&amp;action=history"/>
		<updated>2013-05-19T01:09:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Compile_Cinelerra_4.3&amp;diff=10799&amp;oldid=prev</id>
		<title>Sisko43: Created page with 'On August,5th,2011, Adam Williams and his staff at Heroine Virtual released a new Version of Cinelerra. Unlike the prior versions(enhancements) this one contains many bugfixes. W…'</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Compile_Cinelerra_4.3&amp;diff=10799&amp;oldid=prev"/>
				<updated>2011-08-21T11:34:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;On August,5th,2011, Adam Williams and his staff at Heroine Virtual released a new Version of Cinelerra. Unlike the prior versions(enhancements) this one contains many bugfixes. W…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;On August,5th,2011, Adam Williams and his staff at Heroine Virtual released a new Version of Cinelerra. Unlike the prior versions(enhancements) this one contains many bugfixes. With a little work by yourself you will be able to compile and install this latest release on your sabayon-installation, which exceeds the CV-Version in many ways. A better Stability and better Render-Speed for example. So let's start:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Check for dependencies'''&lt;br /&gt;
&lt;br /&gt;
At first be sure you have the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-nasm &lt;br /&gt;
-yasm &lt;br /&gt;
-libmp4v2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Download and unpack the sources'''&lt;br /&gt;
&lt;br /&gt;
Go to&lt;br /&gt;
&lt;br /&gt;
http://freefr.dl.sourceforge.net/project/heroines/cinelerra-4.3-src.tar.bz2 and get your source-code. Then unpack it to your desired place in your installation.&lt;br /&gt;
&lt;br /&gt;
You should get a &amp;quot;cinelerra-4.3&amp;quot;-Folder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''3. Patching some files'''&lt;br /&gt;
&lt;br /&gt;
Here we have business as usual at cinelerra. A normal configure, make, make install won't do it. You will get compile errors. So we have to change the source-code a little bit.&lt;br /&gt;
&lt;br /&gt;
Create an empty textfile and name it &amp;quot;cinelerra-4.3-quicktime.patch&amp;quot; for example. Copy and paste the following in this textfile and save it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;diff -ur cinelerra-4.3.orig/quicktime/configure cinelerra-4.3/quicktime/configure&lt;br /&gt;
--- cinelerra-4.3.orig/quicktime/configure	2009-09-16 15:24:09.000000000 -0700&lt;br /&gt;
+++ cinelerra-4.3/quicktime/configure	2011-08-07 15:16:53.821297032 -0700&lt;br /&gt;
@@ -80,7 +80,7 @@&lt;br /&gt;
 # 030209&lt;br /&gt;
 #cd thirdparty/ffmpeg* &amp;amp;&amp;amp; ./configure --enable-pthreads --enable-libfaad --enable-gpl --disable-ffplay --extra-cflags=-I$TOPDIR/$LIBFAAD_PATH/include --extra-libs=-L$TOPDIR/$LIBFAAD_PATH/libfaad/.libs/ --disable-ffmpeg --disable-ffserver --disable-ffplay  &amp;amp;&amp;amp; cd ../..&lt;br /&gt;
 # 052906&lt;br /&gt;
-cd thirdparty/ffmpeg* &amp;amp;&amp;amp; ./configure --enable-pthreads --enable-gpl --disable-ffplay --extra-cflags=-I$TOPDIR/$LIBFAAD_PATH/include --extra-libs=-L$TOPDIR/$LIBFAAD_PATH/libfaad/.libs/ --disable-ffserver --disable-ffplay  &amp;amp;&amp;amp; cd ../..&lt;br /&gt;
+cd thirdparty/ffmpeg* &amp;amp;&amp;amp; ./configure --disable-vaapi --enable-pthreads --enable-gpl --disable-ffplay --extra-cflags=-I$TOPDIR/$LIBFAAD_PATH/include --extra-libs=-L$TOPDIR/$LIBFAAD_PATH/libfaad/.libs/ --disable-ffserver --disable-ffplay  &amp;amp;&amp;amp; cd ../..&lt;br /&gt;
 &lt;br /&gt;
 if [ $? -ne 0 ]; then echo &amp;quot;Giving up and going to a movie.&amp;quot;; exit 1; fi&lt;br /&gt;
 &lt;br /&gt;
diff -ur cinelerra-4.3.orig/quicktime/Makefile cinelerra-4.3/quicktime/Makefile&lt;br /&gt;
--- cinelerra-4.3.orig/quicktime/Makefile	2011-07-29 01:25:00.000000000 -0700&lt;br /&gt;
+++ cinelerra-4.3/quicktime/Makefile	2011-08-07 15:16:18.434348511 -0700&lt;br /&gt;
@@ -262,7 +262,7 @@&lt;br /&gt;
 &lt;br /&gt;
 all: $(OBJDIR) $(OUTPUT)&lt;br /&gt;
 &lt;br /&gt;
-$(OUTPUT): $(OBJS) $(FFMPEG_OBJS) $(ENCOREMMX_OBJS) $(JPEG_NASM) $(LAME_OBJS) $(FAAD_LIB) $(FAAC_LIB) $(FFMPEG_LIB) $(X264_LIB) $(DV_LIB) $(JPEG_LIB) $(OGG_LIB)/ $(VORBIS_LIB)&lt;br /&gt;
+$(OUTPUT): $(OBJS) $(FFMPEG_OBJS) $(ENCOREMMX_OBJS) $(JPEG_NASM) $(LAME_OBJS) $(FAAD_LIB) $(FAAC_LIB) $(FFMPEG_LIB) $(X264_LIB) $(DV_LIB) $(JPEG_LIB) $(OGG_LIB) $(VORBIS_LIB)&lt;br /&gt;
 	find $(FFMPEG_DIR)/libavcodec/ -name *.o &amp;gt;&amp;gt; $(OBJDIR)/objs&lt;br /&gt;
 	find $(FFMPEG_DIR)/libavformat/ -name *.o &amp;gt;&amp;gt; $(OBJDIR)/objs&lt;br /&gt;
 	find $(FFMPEG_DIR)/libavutil/ -name *.o &amp;gt;&amp;gt; $(OBJDIR)/objs&lt;br /&gt;
diff -ur cinelerra-4.3.orig/quicktime/thirdparty/faac-1.24/frontend/main.c cinelerra-4.3/quicktime/thirdparty/faac-1.24/frontend/main.c&lt;br /&gt;
--- cinelerra-4.3.orig/quicktime/thirdparty/faac-1.24/frontend/main.c	2008-07-09 17:51:19.000000000 -0700&lt;br /&gt;
+++ cinelerra-4.3/quicktime/thirdparty/faac-1.24/frontend/main.c	2011-08-07 15:19:06.592354688 -0700&lt;br /&gt;
@@ -30,7 +30,7 @@&lt;br /&gt;
 #endif&lt;br /&gt;
 &lt;br /&gt;
 #ifdef HAVE_LIBMP4V2&lt;br /&gt;
-# include &amp;lt;mp4.h&amp;gt;&lt;br /&gt;
+# include &amp;lt;mp4v2/mp4v2.h&amp;gt;&lt;br /&gt;
 #endif&lt;br /&gt;
 &lt;br /&gt;
 #define DEFAULT_TNS     1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now place your patch in the cinelerra-4.3 folder, open a terminal which points to this folder and execute:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; $ patch -p1 &amp;lt; cinelerra-4.3-quicktime.patch &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''4. Update some files in the source-code'''&lt;br /&gt;
&lt;br /&gt;
Unfortunately we have to do a little bit more to get a flawless compilation. Sabayon 6 has the default compiler in version gcc-4.5.2. The program parts ''&amp;quot;festival&amp;quot;'' and ''&amp;quot;speech_tools&amp;quot;'' in the source code won't compile with this gcc-version because the code in cinelerra is simply to old. So we have to replace it with the latest versions.&lt;br /&gt;
&lt;br /&gt;
Go to:&lt;br /&gt;
&lt;br /&gt;
http://www.cstr.ed.ac.uk/downloads/festival/2.1/ and download festival-2.1 and speech_tools-2.1. Unpack.&lt;br /&gt;
&lt;br /&gt;
Now open your favorite filemanager and go to &amp;quot;cinelerra-4.3/thirdparty/&amp;quot;. There you have the festival and speech_tools Folder. Delete the complete content in both folders. Copy in the now empty folders the fresh content of your downloaded and unpacked festival and speech_tools-2.1-folders. &lt;br /&gt;
&lt;br /&gt;
Finally we are done and we can proceed to the:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''5. Compilation'''&lt;br /&gt;
&lt;br /&gt;
Now open a terminal which points to the &amp;quot;cinelerra-4.3&amp;quot;-folder and execute:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; $ ./configure &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Followed by:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; $ make &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Become root:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; $ su &amp;lt;/pre&amp;gt;}}  &lt;br /&gt;
Followed by your root-password&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; # make install &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;cinelerra-4.3/bin&amp;quot;-Folder you'll have your fresh Cinelerra-4.3 with the cinelerra executable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Have fun and be creative!'''&lt;/div&gt;</summary>
		<author><name>Sisko43</name></author>	</entry>

	</feed>