Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79

Thread: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

  1. #1
    Join Date
    Mar 2005
    Beans
    96

    Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    Hi folks,

    you might remember my former tutorial [1] about "howto compile Cinelerra CV from source" for Dapper Drake 6.04.
    That tutorial is outdated. Take this one instead.

    Preamble

    You might just like to use Cinelerra instead of going the thorny way.
    There is a .deb package i assebled which you can download from this site.

    Just jump to step 2 and install the deb package afterwards - that should do the trick.



    This tutorial is written for Edgy Eft 6.10 32-Bit but also works with Dapper Drake 6.04 32-Bit.
    I tested my tutorial on a fresh vigin installation of Edgy Eft
    with no additional packages. It worked flawless.

    To shorten it up i will point out the important details only.
    Some parts are quoted from the "Cinelerra CV manual"[2].


    #1. Adding "Restricted Respositories"

    Make sure "Universe" and "Multiverse" repositories" are included in your respositories [3].


    #2. Get necessary packages

    First become root:
    Code:
    sudo -s

    This is a bunch of packages you will need to compile cinelerra:

    Code:
    apt-get install -y g++ libesd0-dev nasm yasm libpng12-dev libasound2-dev xorg-dev cvs subversion autotools-dev automake1.7 liba52-0.7.4-dev libx264-dev libtheora-bin libtheora0 libopenexr2c2a mjpegtools libmjpegtools0c2a libraw1394-8 libfaad2-0 liblame0 libguile-dev automake1.9 autotools-dev autoproject libtool libavc1394-0 libogg-dev libtheora-dev libvorbis-dev libvorbisenc2 libopenexr-dev libdv4-dev uuid-dev libmjpegtools-dev libffi4-dev libgmp3-dev libsndfile1-dev libfaad2-dev libfaac-dev libavc1394-dev libdc1394-13-dev libraw1394-dev libiec61883-dev liblame-dev fftw3-dev libmpeg3-dev mpeg3-utils quicktime-utils quicktime-x11utils libxxf86dga-dev libxxf86misc-dev libxxf86vm-dev libfaac0 libfaac-dev gstreamer0.8-faac faac libmp4v2-dev libmpeg2-4-dev libxv-dev libtiff4-dev
    (Hint: click four times to mark the whole line)

    You need to download 36,2 MB.
    If you do not have a broadband connection you
    can ask someone to build an offline update package for you [4]
    and to download the debian-package [5] i build for that purpose.
    You will also need the SVN-tree mentioned in #3.


    #3. Download the Source-Tree

    First change directory to the /opt folder:

    Code:
    cd /opt
    Then download the subversion files:

    Code:
    svn checkout svn://svn.skolelinux.org/cinelerra/trunk/hvirtual
    and change to the hvirtual directory:

    Code:
    cd hvirtual

    #4. Creating the configure file

    Create the `./configure' file by running:

    Code:
    autoreconf -i --force

    #5. Run configure

    Then run the `.configure' file:

    Code:
    ./configure --with-buildinfo=svn/recompile
    You can have a look at all the options available by running:
    ./configure --help


    #6. Tweak a little

    To avoid this error message
    Code:
    ar: .libs/reconmmx.o: No such file or directory
    make[3]: *** [libmpeg3_video.la] Error 1
    during the compiling process you have
    to type in the following commands:


    Code:
    cd libmpeg3/video
    nasm -f elf reconmmx.s -o reconmmx.o
    mkdir .libs
    cp reconmmx.o .libs/

    #7. Compile the Binary file

    Code:
    cd /opt/hvirtual
    make

    #8. Install Cinelerra CV

    Code:
    make install

    #9. Run Cinelerra

    You have to start Cinelerra as root.
    Thatfor you type in your terminal window:

    Code:
    sudo cinelerra

    Fahrvergnügen!

    /lprofil


    Documents:

    [1] Cinelerra on Dapper Drake 6.04 from Sources
    [2] Cinelerra CV manual
    [3] How to activate Universe and Multiverse in your Respositories
    [4] How to create a Update Package for offline use
    [5] Debian Package for the quick and dirty way


    Editing History:

    Mon, Dec 18, 17:17 / 2006 updated package list added "g++ libesd0-dev nasm yasm libpng12-dev libasound2-dev xorg-dev cvs subversion autotools-dev automake1.7"

    Tue, Dec 19, 01:41 / 2006 corrected error in #6.
    • wrong: cp reconmmx.o .libs
    • right: cp reconmmx.o .libs/

    Tue, Dec 19, 15:15 / 2006 added link for "Offline Update"
    Wed, Jan 03, 01:05 / 2007 added line "mkdir .libs" in step 6
    Wed, Jan 03, 01:27 / 2007 added URL to deb-package
    Sun, Jan 07, 20:45 / 2007 edited URL to deb-package
    Last edited by lprofil; March 6th, 2007 at 02:49 PM. Reason: upgrade of stepp 6

  2. #2
    Join Date
    Apr 2006
    Location
    Turku, Finland
    Beans
    20
    Distro
    Kubuntu 6.10 Edgy

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    Hi,

    i am trying to get past point 2, but i get stack with the following... Any ideas how to get those packages installed nicely.

    Code:
    The following packages have unmet dependencies:
      libfaac-dev: Depends: libfaac0 (= 1.24clean-0ubuntu4) but 1.25-0.1 is to be installed
      liblame-dev: Depends: liblame0 (= 3.96.1-2) but 3.97-0.0 is to be installed
      libmp4v2-dev: Depends: libmp4v2-0 (= 2.0.0+cvs20040908+mp4v2+bmp-0ubuntu3) but 1:1.5.0.1-0.3 is to be installed

  3. #3
    Join Date
    Mar 2005
    Beans
    96

    Using Ubuntu Respositories only?

    Hi mrastas,

    thank you very much for trying my tutorial.
    I today corrected some errors.

    Please try it again if it failed to compile with the error message:
    Code:
    make[3]: Entering directory `/opt/hvirtual/libmpeg3/video'
    if /bin/bash ../../libtool --tag=CC --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./..   -DHAVE_MMX -DUSE_MMX -DX86_CPU  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT getpicture.lo -MD -MP -MF ".deps/getpicture.Tpo" -c -o getpicture.lo getpicture.c; \
            then mv -f ".deps/getpicture.Tpo" ".deps/getpicture.Plo"; else rm -f ".deps/getpicture.Tpo"; exit 1; fi
    rm: cannot remove `.libs/getpicture.o': Not a directory
    mkdir .libs
    mkdir: cannot create directory `.libs': File exists
    make[3]: *** [getpicture.lo] Error 1
    make[3]: Leaving directory `/opt/hvirtual/libmpeg3/video'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/opt/hvirtual/libmpeg3'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/opt/hvirtual'
    make: *** [all] Error 2

    Refering to the official Ubuntu package list, Edgy Eft and Feist Fawn should install libfaac0 (1.24clean-0ubuntu4)

    I guess you used a f***edup "customized" sources.list or you installed some packages which you should deinstall befor trying my tut.

    • How does your sources list look like?
    • What Ubuntu-Version do you use?
    • Did you try to install another Cinelrra-Version before?
    • Did you try to DE-install all other crap before?



    /lprofil
    Last edited by lprofil; December 19th, 2006 at 02:49 AM.

  4. #4
    Join Date
    Jun 2006
    Location
    ga
    Beans
    426

    Re: Using Ubuntu Respositories only?

    my friend and i were trying to figure out how to install cinelerra a week ago. vielen dank!

  5. #5
    Join Date
    Dec 2006
    Beans
    1

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    Hello I followed your tutorial step by step but got stuck at step #6. I have tried to do the following:
    root@Hal1972:/opt/hvirtual# cd libmpeg3/video
    root@Hal1972:/opt/hvirtual/libmpeg3/video# nasm -f elf reconmmx.s -o reconmmx.o
    root@Hal1972:/opt/hvirtual/libmpeg3/video# cp reconmmx.o .libs/
    cp: target `.libs/' is not a directory: No such file or directory
    The copy command is going into nowehere. How can I fix thsi
    Cheers
    Alex

  6. #6
    Join Date
    Mar 2005
    Beans
    96

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    Hi Kinsgsley,

    Quote Originally Posted by Kingsley View Post
    my friend and i were trying to figure out how to install cinelerra a week ago. vielen dank!
    Kein Problem young fellow, you are welcome!

    Hello Alexander,

    Quote Originally Posted by alexander1972 View Post
    Hello I followed your tutorial step by step but got stuck at step #6. I have tried to do the following:
    root@Hal1972:/opt/hvirtual# cd libmpeg3/video
    root@Hal1972:/opt/hvirtual/libmpeg3/video# nasm -f elf reconmmx.s -o reconmmx.o
    root@Hal1972:/opt/hvirtual/libmpeg3/video# cp reconmmx.o .libs/
    cp: target `.libs/' is not a directory: No such file or directory
    The copy command is going into nowehere. How can I fix thsi
    Cheers
    Alex
    Hm, that sound strange to me. The .libs folder should be created after:
    • checking out from SVN Sources
    • making the configure file
    • configure for making


    When nasm creates the reconmmx.o out of the reconmmx.s file do you get any message?
    If not, everything is ok. If yes - that might be the problem. Weird.

    Maybe a necessary package is missing. I edited the package list yesterday (see Editing history).

    Why now there is no folder .libs in your installation path is a miracle for me.

    /lprofil
    Last edited by lprofil; December 19th, 2006 at 02:05 PM.

  7. #7
    Join Date
    Jun 2006
    Beans
    12

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    I've got the same problem with the copy step... Relatively new Edgy install:

    Code:
    bdk@buddha:/usr/src/hvirtual/libmpeg3/video$ sudo nasm -f elf reconmmx.s -o reconmmx.o
    bdk@buddha:/usr/src/hvirtual/libmpeg3/video$ sudo cp reconmmx.o .libs/
    cp: target `.libs/' is not a directory: No such file or directory
    bdk@buddha:/usr/src/hvirtual/libmpeg3/video$ ls
    getpicture.c  idct.h         Makefile     mmxidct.S  mpeg3cache.c  mpeg3videoprotos.h  reconmmx.s     slice.c     vlc.c
    headers.c     layerdata.h    Makefile.am  mmxtest.c  mpeg3video.c  output.c            reconstruct.c  slice.h     vlc.h
    idct.c        macroblocks.c  Makefile.in  motion.c   mpeg3video.h  reconmmx.o          seek.c         subtitle.c  worksheet.c
    bdk@buddha:/usr/src/hvirtual/libmpeg3/video$
    Why/how/where was the .libs directory created? I see a .debs but no .libs.

    Any guidance would be appreciated...

    Thank you for the nice how-to though, I was bummed when I found out that there wasn't a deb for Cinelerra for Edgy, just for Dapper.

  8. #8
    Join Date
    Jun 2006
    Beans
    12

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    I logged in remotely while at work and went ahead and ran through the steps after the copy problem that I had earlier and it looks like things went smoothly.. I went through the make & make install process and it looks good... I don't have VNC up so I can't log in remotely to see if it works or not, so when I get home I'll update this with hopefully good news that we don't need the nasm & copy commands for the latest SVN to work.

    ** UPDATE **

    Sure enough, Cinelerra compiled nicely and had the correct privs to run w/o sudo.

    I did get an error though that has been talked about before:

    Code:
    void MWindow::init_shm():WARNING:/proc/sys/kernel/shmmax is 0x2000000, which is too low
     Before running Cinelerra do the following as root:
     echo "0x7fffffff" > /proc/sys/kernel/shmmax
    (That is 7 f's)

    I don't remember where I read about it before but the solution was to enable the root account, set shmmax, then run cinelerra. Just sudo'ing it doesn't give you enough privs to write to the /proc directory. I don't like enabling the root account so I:

    Code:
    bdk@buddha:~$ sudo -s
    root@buddha:~# echo "0x7fffffff" > /proc/sys/kernel/shmmax
    root@buddha:~# exit
    exit
    bdk@buddha:~$ cinelerra
    and it ran just fine... I don't mind having to do that each time I start up, after all this is linux, I'm not rebooting everyday. If it anoys me enough I'll find the perm fix for it or I'll just write a lil' script to do that and then load Cinerella.

    Thanks again lprofil for the good how-to.

    -bdk
    Last edited by bdk; December 20th, 2006 at 03:48 AM.

  9. #9
    Join Date
    Apr 2006
    Location
    Turku, Finland
    Beans
    20
    Distro
    Kubuntu 6.10 Edgy

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    Quote Originally Posted by lprofil View Post

    Refering to the official Ubuntu package list, Edgy Eft and Feist Fawn should install libfaac0 (1.24clean-0ubuntu4)

    I guess you used a f***edup "customized" sources.list or you installed some packages which you should deinstall befor trying my tut.

    • How does your sources list look like?
    • What Ubuntu-Version do you use?
    • Did you try to install another Cinelrra-Version before?
    • Did you try to DE-install all other crap before?


    /lprofil
    Hi again,

    thanks for the tip. I think my packages got mixed up when i tried the other cinelerra guide, which used some debian (sid) repo. Well anyhow i got through it by removing and installing again. Hopefully there is not many other this kind of wrong packages anymore.

    So i got the second step done. Now i actually have the same problem that Alex and Bdk has. In step 5. i am also missing the ./libs directory. But as bdk pointed out, it is possible to make and make install without step 5. So i went ahead and got it compiled and installed. It seems to be running OK.

    Thanks for the guide!!! This one is much easier than the others...

    Hopefully cinelerra will be soon out in ubuntu repos.

    Now to make some videos...

  10. #10
    Join Date
    Mar 2006
    Beans
    120
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cinelerra 2.1 CV for Edgy Eft 6.10 [ How To / Tutorial ]

    lprofil, thank you so much for the tutorial. I was actually going to just "go for it" and attempt to install this on my own. However after seeing your how-to, I realized I am in WAY over my head. I followed your instructions step by step and it worked for my beautifully. Thank you so much! We all appreciate it greatly.
    Using: Elitegroup P55H-A Motherboard
    Intel Core i7-860 2.8GHz Quad-Core Processor
    SAPPHIRE 100283L Radeon HD 5770 Video Card
    4 Gigs of RAM

Page 1 of 8 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
  •