Page 1 of 9 123 ... LastLast
Results 1 to 10 of 83

Thread: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

  1. #1
    Join Date
    Mar 2005
    Beans
    96

    Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ] (From CVS)

    [Last major edit 4th Sep 06:07pm GMT]

    Hallo,

    To make a long story short:

    Easy way:
    Go trough the stepps 5 till 7.2.

    Then you install a single Cinelerra deb file from this side via:
    Code:
    sudo dpkg -i cinelerra*.deb
    in case you are running a i686 Processor!
    This will work on a 64-bit Processor
    but it will not work on a 64-bit Ubuntu-system.

    For Ubuntu-64-bit you can download the 64-Bit binaries from the same site
    and take a look to this tutorial which is based on my one.

    When you are done step 12 and 13 might be interesting for you.

    Thanks to jstewart from #cinelerra @ irc.freenode.net and chainzz.


    OR


    The probably more up to date way:

    Note! You might run into dependecy problems which fiexed myself with the help of google when i tried this method.
    To be sure to set up the most current version of Cinelerra follow the tutorial listed below.


    Preamble
    Back in the days before Ubuntu 4.10, i already messed around with Cinelerra under GNU-Debian-Linux.
    I learned how to solve dependecies and how to install this programm propper.
    But poorly i had no need for this nice tool so i lost interest and Cinelerra fell asleep.

    Cannonical bundled a great pice of an OS in Ubuntu Dapper-Drake 6.06 with the help of GNU-Debian-Linux.
    It is neat and slim but there is the opportunity to install several libaries to get a fully featured development enviroment.
    In our case Video-Cutting and -Encoding.

    After some research i found Cinelerra-packages for Breezy but i could not get it running.
    Why not give it a trial under Dapper Drake with the cutting edge CVS-Version of Cinelerra?!



    Cinelerra Cutting Edge Installation from CVS-Sources (Verison 2.0CV)

    This is the way to go:

    #1. Setting up a CVS Enviroment [CVS -> Current Verison System]

    First we need to set up a CVS Enviroment for our Cinelerra source-tree:
    Code:
    sudo apt-get install subversion

    #2. Create a Cinelerra folder

    Change to /opt , which is the path for optional programm packages which are not installed with e.g. apt-get.
    You can install a programm twice, but all config files of the programm in /opt for example are only there
    and do not effect other programms installed in /bin orr /usr/bin!
    Code:
    cd /opt

    #3. Download the Source-Tree

    Get the CVS-tree:
    Code:
    sudo svn checkout svn://svn.skolelinux.org/cinelerra/tags/r1_2_2-last/hvirtual

    #4. Edit autogen.sh

    Small changes have to be made in autogen.sh.
    First change to the cinelerra main folder:
    Code:
     cd hvirtual
    Edit the following lines:
    # export AUTOMAKE=/usr/bin/automake-1.7
    # export ACLOCAL=/usr/bin/aclocal-1.7

    erase the hashes that the lines look like:
    export AUTOMAKE=/usr/bin/automake-1.7
    export ACLOCAL=/usr/bin/aclocal-1.7

    To edit type:
    Code:
    sudo nano autogen.sh

    #5. Adding "Restricted Respositories"

    To get all neccessary codecs we have to add the "Restricted Respositories".
    How to do that with a graphical interface is described here:
    https://help.ubuntu.com/community/Repositories/Ubuntu

    How to do that in command line is described here:
    https://help.ubuntu.com/community/Re...es/CommandLine


    Alternatively you can use my method. Type this lines:
    Code:
    sudo rm /etc/apt/sources.list
    then type:
    Code:
    sudo nano /etc/apt/sources.list
    and copy and paste this list:
    Code:
    deb http://de.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
    deb-src http://de.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
    
    deb http://de.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
    deb-src http://de.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
    
    deb http://de.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    deb-src http://de.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu dapper-security universe main restricted multiverse
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe main restricted multiverse
    Do not forget to edit the the 6 URIs (Uniform Resource Identifier) for faster connections and less hops.
    Note: Leave the line with "security.ubu..." as it is!

    The URI is the bold marked part in this line:
    Code:
     http://de.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    Change it to "au" if you are located in Australia or "it" if you are located in Italy or "fr" for France and so on.


    #6. Update

    To update you local respositories with all available ones type:
    Code:
    sudo apt-get update

    #7. Installing neccesary libaries

    You need several libaries for e.g. video-encoding. Type:
    Code:
    sudo apt-get install gstreamer0.8-faad gstreamer0.8-a52dec liba52-0.7.4-dev fftw-dev sfftw-dev sfftw2 fftw3 fftw3-dev mffm-fftw1c2 mffm-fftw-dev fftw2 fftw3-doc liblame0 liblame-dev lame-extras lame toolame glame openexr libopenexr-dev libopenexr2c2a exrtools libraw1394-5 libraw1394-dev libmjpegtools0c2a libmjpegtools-dev mjpegtools libuuid1 uuid-dev libvorbisfile3 libtheora0 libtheora-dev libtheora-bin gstreamer0.8-theora ffmpeg2theora libvorbisenc2 libvorbis0a libvorbisenc2 libvorbisfile3 libvorbis-dev ffmpeg2theora gstreamer0.10-ffmpeg ffmpeg avifile-mjpeg-plugin gstreamer0.10-ffmpeg libfaad2-dev libfaad2-0 libavc1394-dev libavc1394-0 libavcodec-dev libavformat-dev libavifile-0.7c2 gstreamer0.10-ffmpeg gstreamer0.8-dirac gstreamer0.8-faac gstreamer0.8-plugins-multiverse gstreamer0.8-xvid libdirac0c2a autobook libclutils0-dev libclutils0c2 autoconf autoconf-doc autotools-dev libguile-ltdl-1 libltdl3 libltdl3-dev libtool libtool-doc libtiffxx0c2 libtiff4-dev libtiff4 libtiff-tools libtool libltdl3 avidemux libfame-0.9 libpvm3 transcode xvid4conf quicktime-x11utils libpng3 libpng3-dev libpngwriter0-dev libpngwriter0c2 pngcheck pngquant  libdv-bin libdvb-dev libdvbpsi4-dev libdvdplay0 libdvdplay0-dev libdvdread3-dev libasound2 libasound2-dev automake1.7 nasm libxxf86dga-dev libxxf86misc-dev libxxf86vm-dev libx264-dev libsndfile1 libsndfile0 libfaac-dev make libsndfile1 libsndfile1-dev quicktime-utils libxv-dev dvgrab libasound2 libasound2-dev libesd0-dev
    (Click 4 times with your left mouse button on the line above and paste
    the content then with a middle-click to you konosole window)


    #7.2 Installing a suiting Video-Encoder

    In order to install a video-encoder which is optimized for you processor choose one of the following options:

    mencoder - MPlayer's Movie Encoder
    mencoder-386 - MPlayer's Movie Encoder (dummy package)
    mencoder-586 - MPlayer's Movie Encoder (dummy package)
    mencoder-686 - MPlayer's Movie Encoder (dummy package)
    mencoder-amd64 - MPlayer's Movie Encoder (dummy package)
    mencoder-custom - MPlayer's Movie Encoder (dummy package)
    mencoder-g4 - MPlayer's Movie Encoder (dummy package)
    mencoder-k6 - MPlayer's Movie Encoder (dummy package)
    mencoder-k7 - MPlayer's Movie Encoder (dummy package)
    mencoder-powerpc - MPlayer's Movie Encoder (dummy package)

    In my case (Pentium III 700) i installed mencoder-686 by typing:
    Code:
    sudo apt-get install mencoder-686

    #8. A Little Bug-Fixing
    It is the 29th of July today and there is still this nasty
    bug during the compiling process. I do not want to bother you with details
    but there some path-names for plugins changed and the compiler does
    not find them at the right place.

    To fix the first error type:
    Code:
    cd /opt/hvirtual
    Code:
    sudo mkdir plugins/chromakey-hsv && cp plugins/chromakeyhsv/* plugins/chromakey-hsv
    To fix the second error type:
    Code:
    sudo mkdir plugins/seltempavg && cp plugins/denoiseseltempavg/* plugins/seltempavg

    #8.1 Execute the autogen-file

    Type:
    Code:
    cd /opt/hvirtual/
    
    sudo sh autogen.sh
    to run the autogen.sh script.


    #9. Creating makefiles

    To tell the compiler on which hardware it runs and which libaries are available type:
    Code:
    sudo ./configure

    #10. Creating an executable

    We compile the Source-Code to get a executable with:
    Code:
    sudo make

    #11. Installation

    Code:
    sudo make install

    #11.1 Alternative Installation

    This method installs Cinelerra and generate a debfile at a time:

    Code:
    sudo checkinstall
    is our friend.

    There will be few dialogs asking you some questions
    but you can continue by pressing enter until is says:


    Code:
     Done. The new package has been installed and saved to
     /opt/hvirtual/cinelerra2.1_2.1-1_i386.deb
    
     You can remove it from your system anytime using:
    
          dpkg -r cinelerra2.1
    
    **********************************************************************

    #12. Start Cinelerra :
    Code:
    sudo cinelerra
    I have read in another forum that you need root permissons for
    different reasons. Run Cinelerra as root or as sudo.


    #13. Important Settings :

    I first had some trouble encoding my edited video-clips and could not figure out why.
    After reading the very helpfull wiki [5] i found out that there are some setting
    which might be important for you.

    As i think OSS is outdated you should first change your preferences to ALSA on both Playback and Recording.

    Thatfor you go to:

    Settings --> Preferences and on the top you choose the slider of you choice.
    The picture shows you what i mean:


    A Second thing is that you might "Force single Processor use" in for Cinelerra. You find the switch under:
    Settings --> Preferences --> Performance

    That should do the trick.

    Enjoy!



    #Helpfull links for your installation:
    http://cvs.cinelerra.org/svnusage.html [ CVS-Site of Cinelerra ]
    http://www.codepoets.co.uk/docs/mpla..._compile_howto [ Fix of the xvid ./configure error ]
    http://www.linuxforum.com/forums/ind...owtopic=110503 [ Fixed: tiffio.h: No such file or directory ]
    http://www.ftconsult.com/twiki/bin/v...nelerra/Gentoo [ Common explenation about CVS ]
    a.m.o.m


    #Tutorial about how to use Cinelerra:
    http://ftconsult.com/twiki/bin/view/...lerraManualTOC [ Nice WIKI / very informative ]
    http://robfisher.net/video/cinelerra1.html [ Old fashioned / Screenshot tutorial ]
    http://heroinewarrior.com/cinelerra/...MAIN%20WINDOWS [ very extensive documentation ]


    #Other very interesting video cutting alternatives:
    Lives http://lives.sourceforge.net/
    Mainconcepts mainactor http://www.mainconcept.com/site/index.php?id=399
    Jahshaka www.jahshaka.org
    Kino http://www.kinodv.org/


    #Live-CD Video-Editing-Distros:
    mediainlinux http://mediainlinux.org/
    dynebolic.org http://dynebolic.org/
    VideoLinux http://videolinux.net/

    #Cinelerra Discussion Forum:
    Helpforum http://sourceforge.net/forum/forum.php?forum_id=42724


    Fahrvergnügen

    /lprofil



    ps: please feel free to correct misstakes or to add your comments!
    Last edited by lprofil; April 22nd, 2007 at 11:56 AM.

  2. #2
    Join Date
    Apr 2005
    Beans
    340
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    I'm glad you took the time to do this tutorial, and it will probably be helpful for many users. However, this is not the appropriate place for Howto's. They go to the howto forum and the wiki.

    Cheers
    Last edited by eqisow; June 4th, 2006 at 02:30 PM.

  3. #3
    Join Date
    Apr 2006
    Beans
    46
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    Thank you for the great tutorial! I had to install a lot of packages for the autogen.sh and ./configure process, but it was pretty self-explanatory. However, now I am stuck in the make process, this is what I get:
    bas@ComputerBas:/opt/cinelerra_cvs/hvirtual$ sudo make
    make all-recursive
    make[1]: Entering directory `/opt/cinelerra_cvs/hvirtual'
    Making all in libmpeg3
    make[2]: Entering directory `/opt/cinelerra_cvs/hvirtual/libmpeg3'
    Making all in audio
    make[3]: Entering directory `/opt/cinelerra_cvs/hvirtual/libmpeg3/audio'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/opt/cinelerra_cvs/hvirtual/libmpeg3/audio'
    Making all in video
    make[3]: Entering directory `/opt/cinelerra_cvs/hvirtual/libmpeg3/video'
    /bin/sh ../../libtool --tag=CC --mode=link gcc -DHAVE_MMX -DUSE_MMX -DX86_CPU -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -o libmpeg3_video.la getpicture.lo headers.lo idct.lo macroblocks.lo mmxtest.lo motion.lo mpeg3video.lo output.lo reconstruct.lo seek.lo slice.lo vlc.lo mmxidct.lo reconmmx.lo -lm -ldl -lpthread
    ar cru .libs/libmpeg3_video.a .libs/getpicture.o .libs/headers.o .libs/idct.o .libs/macroblocks.o .libs/mmxtest.o .libs/motion.o .libs/mpeg3video.o .libs/output.o .libs/reconstruct.o .libs/seek.o .libs/slice.o .libs/vlc.o .libs/mmxidct.o .libs/reconmmx.o
    ar: .libs/reconmmx.o: No such file or directory
    make[3]: *** [libmpeg3_video.la] Error 1
    make[3]: Leaving directory `/opt/cinelerra_cvs/hvirtual/libmpeg3/video'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/opt/cinelerra_cvs/hvirtual/libmpeg3'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/opt/cinelerra_cvs/hvirtual'
    make: *** [all] Error 2
    I tried to install libmpeg3 but it didn't work. Is there a solution to this?

  4. #4
    Join Date
    Mar 2005
    Beans
    96

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    @chainzz
    Quote Originally Posted by chainzz
    I tried to install libmpeg3 but it didn't work. Is there a solution to this?
    Well, if you type:
    Code:
    apt-cache search libmpeg3
    you find tree packages: mpeg3-utils libmpeg3-dev libmpeg3-1

    Install them and we will see. I already added them to my first post.

    @eqisow
    Quote Originally Posted by eqisow
    However, this is not the appropriate place for Howto's.
    Your absolutely right!
    But i had some difficulties to post this thread anyhow, so i was just lucky to had it posted. If you are a admin please move this thread!

    Quote Originally Posted by eqisow
    They go to the howto forum and the wiki.
    Thanks mate. I will take a look.

    /lprofil
    Last edited by lprofil; June 4th, 2006 at 12:33 PM.

  5. #5
    Join Date
    Apr 2006
    Beans
    46
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    Quote Originally Posted by lprofil
    @chainzz
    Well, if you type:
    Code:
    apt-cache search libmpeg3
    you find tree packages: mpeg3-utils libmpeg3-dev libmpeg3-1

    Install them and we will see. I already added them to my first post.
    /lprofil
    I did that but it doesn't work. It looks like it wants reconmmx.o in /opt/cinelerra_cvs/hvirtual/libmpeg3/video/.libs. There are two reconmmx files in /opt/cinelerra_cvs/hvirtual/libmpeg3/video/: reconmmx.lo and reconmmx.s. Maybe I can compile them into reconmmx.o or something?

  6. #6
    Join Date
    Mar 2005
    Beans
    96

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    Quote Originally Posted by chainzz
    ... It looks like it wants reconmmx.o in /opt/cinelerra_cvs/hvirtual/libmpeg3/video/.libs. There are two reconmmx files in /opt/cinelerra_cvs/hvirtual/libmpeg3/video/: reconmmx.lo and reconmmx.s. Maybe I can compile them into reconmmx.o or something?
    I have no clue, but i posted your errror message on the German Ubuntuusers Forum
    and we will see if someone knows.

    You might not speak or read german but this could help you anyway.

    /lprofil
    Last edited by lprofil; June 4th, 2006 at 01:23 PM.

  7. #7
    Join Date
    Apr 2006
    Beans
    46
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    Thank you very much, I am Dutch and I learn German at school so I think I am able to read most of it.

  8. #8
    Join Date
    Feb 2006
    Beans
    1

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    I actually get a failure in the make process on AMD64:

    Here is where it breaks:

    .libs/libquicktimehv-1.6.0.so.1.0.0
    /usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libx264.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[3]: *** [libquicktimehv.la] Error 1


    ANY ideas?

  9. #9
    Join Date
    Mar 2005
    Beans
    96

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    @dubmusic

    have you installed these packages:
    libquicktime0 libquicktime-dev quicktime-x11utils quicktime-utils
    ?
    If not you can install them via:
    Code:
    sudo apt-get install libquicktime0 libquicktime-dev quicktime-x11utils quicktime-utils
    Hopefully they are available for the 64-bit AMD plattform.
    You can search for any package by:
    Code:
    apt-cache search the*name*of*your*package*
    I hope this help. Please post you progress!

    /lprofil
    Last edited by lprofil; June 4th, 2006 at 03:08 PM.

  10. #10
    Join Date
    Apr 2006
    Beans
    1

    Re: Cinelerra on Dapper Drake 6.06 [ How To / Tutorial ]

    root@ubuntu:/opt/cinelerra_cvs/hvirtual# sh autogen.sh
    User defined paths to the preferred autoconf and automake versions.
    Read the script if you would like to modify them.
    AUTOMAKE=/usr/bin/automake-1.7
    ACLOCAL=/usr/bin/aclocal-1.7
    AUTOCONF=autoconf
    AUTOHEADER=autoheader
    Now building the ./configure script...
    autogen.sh: line 61: /usr/bin/automake-1.7: No such file or directory
    checking for automake version... unknown
    autogen.sh: line 74: /usr/bin/aclocal-1.7: No such file or directory
    checking for aclocal version... unknown
    Running aclocal -I m4 ...
    autogen.sh: line 88: /usr/bin/aclocal-1.7: No such file or directory
    You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
    Running autoheader ...
    Running automake ...
    autogen.sh: line 97: /usr/bin/automake-1.7: No such file or directory

    any ideas ?

Page 1 of 9 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •