You are not logged in.

#1 2009-11-25 06:02:03

Floft
Member
Registered: 2009-11-15
Posts: 43

Cinelerra

When I start up Cinelerra (the pacman -S cinelerra-cv one) and open a project or add a file other than a dv file (like mov or jpeg) it crashes and shows this in the terminal.

Cinelerra 2.1CV  GIT::740d7ccc3bc952c689d9d09aa9d2e7f50d7b4a22  (C) 2006 Heroine Virtual Ltd.
External ffmpeg
Compiled on Sat Oct 31 19:15:35 UTC 2009

Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
signal_entry: got SIGSEGV my pid=3193 execution table size=16:
    filemov.C: filemov.C: 125
    mwindowedit.C: paste_edls: 1456
    mwindowedit.C: paste_edls: 1460
    mwindowedit.C: paste_edls: 1501
    mwindowedit.C: paste_edls: 1583
    mwindowedit.C: paste_edls: 1612
    mwindowedit.C: paste_edls: 1616
    mwindowedit.C: paste_edls: 1627
    mwindowedit.C: paste_edls: 1630
    mwindow.C: load_filenames: 1155
    mwindow.C: load_filenames: 1160
    mwindow.C: load_filenames: 1163
    mwindow.C: load_filenames: 1165
    mwindow.C: load_filenames: 1168
    mwindow.C: load_filenames: 1172
    mwindow.C: load_filenames: 1174
signal_entry: lock table size=12
    0x16ec980 BC_Synchronous::next_command BC_Synchronous::run 
    0x270c2c0 BC_WindowBase::event_condition BC_WindowBase::get_event 
    0x27780c0 BC_WindowBase::event_condition BC_WindowBase::get_event 
    0x27a6790 BC_WindowBase::event_condition BC_WindowBase::get_event 
    0x265d110 BC_WindowBase::event_condition BC_WindowBase::get_event 
    0x28fa350 BC_WindowBase::event_condition BC_WindowBase::get_event 
    0x283a650 TransportQue::output_lock PlaybackEngine::run 
    0x28bfe90 ResourceThread::draw_lock ResourceThread::run 
    0x2a0f8e0 RenderEngine::interrupt_lock RenderEngine::start_command *
    0x2a0f7e0 RenderEngine::start_lock RenderEngine::start_command 2 
    0x2518b40 Cinelerra: Resources BC_WindowBase::dispatch_event 1 *
    0x283d250 BC_WindowBase::event_condition BC_WindowBase::get_event 
BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=0
Aborted

I have tried compiling the one from "git clone git://git.cinelerra.org/j6t/cinelerra.git my_cinelerra" and used "./configure --disable-mmx" and then compiled it, but when trying to install it I got

[garrett@garrett my_cinelerra]$ make install
Making install in libmpeg3
make[1]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
Making install in audio
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
Making install in video
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool --tag=CC   --mode=install /bin/install -c   libmpeg3hv.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libmpeg3hv-1.5.0.so.1.0.0 /usr/local/lib/libmpeg3hv-1.5.0.so.1.0.0
/bin/install: cannot create regular file `/usr/local/lib/libmpeg3hv-1.5.0.so.1.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
make: *** [install-recursive] Error 1
[garrett@garrett my_cinelerra]$ sudo make install
Making install in libmpeg3
make[1]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
Making install in audio
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/audio'
Making install in video
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3/video'
make[2]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/libmpeg3'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool --tag=CC   --mode=install /bin/install -c   libmpeg3hv.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libmpeg3hv-1.5.0.so.1.0.0 /usr/local/lib/libmpeg3hv-1.5.0.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmpeg3hv-1.5.0.so.1.0.0 libmpeg3hv-1.5.0.so.1 || { rm -f libmpeg3hv-1.5.0.so.1 && ln -s libmpeg3hv-1.5.0.so.1.0.0 libmpeg3hv-1.5.0.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmpeg3hv-1.5.0.so.1.0.0 libmpeg3hv.so || { rm -f libmpeg3hv.so && ln -s libmpeg3hv-1.5.0.so.1.0.0 libmpeg3hv.so; }; })
libtool: install: /bin/install -c .libs/libmpeg3hv.lai /usr/local/lib/libmpeg3hv.la
libtool: finish: PATH="/opt/wine/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool --tag=CC   --mode=install /bin/install -c mpeg3dump mpeg3toc mpeg3cat '/usr/local/bin'
libtool: install: /bin/install -c .libs/mpeg3dump /usr/local/bin/mpeg3dump
libtool: install: /bin/install -c .libs/mpeg3toc /usr/local/bin/mpeg3toc
libtool: install: /bin/install -c .libs/mpeg3cat /usr/local/bin/mpeg3cat
test -z "/usr/local/include/mpeg3" || /bin/mkdir -p "/usr/local/include/mpeg3"
 /bin/install -c -m 644 libmpeg3.h mpeg3private.h '/usr/local/include/mpeg3'
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
make[1]: Leaving directory `/home/garrett/build/my_cinelerra/libmpeg3'
Making install in quicktime
make[1]: Entering directory `/home/garrett/build/my_cinelerra/quicktime'
Making install in encore50
make[2]: Entering directory `/home/garrett/build/my_cinelerra/quicktime/encore50'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/quicktime/encore50'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime/encore50'
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime/encore50'
Making install in ffmpeg
make[2]: Entering directory `/home/garrett/build/my_cinelerra/quicktime/ffmpeg'
install -d "/usr/local/lib"
install -m 755 libavdevice/libavdevice-cinelerra.so "/usr/local/lib/libavdevice-cinelerra.so.52.0.0"
strip "/usr/local/lib/libavdevice-cinelerra.so.52.0.0"
cd "/usr/local/lib" && ln -sf libavdevice-cinelerra.so.52.0.0 libavdevice-cinelerra.so.52
cd "/usr/local/lib" && ln -sf libavdevice-cinelerra.so.52.0.0 libavdevice-cinelerra.so
install -d "/usr/local/lib"
install -m 755 libavformat/libavformat-cinelerra.so "/usr/local/lib/libavformat-cinelerra.so.52.14.0"
strip "/usr/local/lib/libavformat-cinelerra.so.52.14.0"
cd "/usr/local/lib" && ln -sf libavformat-cinelerra.so.52.14.0 libavformat-cinelerra.so.52
cd "/usr/local/lib" && ln -sf libavformat-cinelerra.so.52.14.0 libavformat-cinelerra.so
install -d "/usr/local/lib"
install -m 755 libavcodec/libavcodec-cinelerra.so "/usr/local/lib/libavcodec-cinelerra.so.51.57.0"
strip "/usr/local/lib/libavcodec-cinelerra.so.51.57.0"
cd "/usr/local/lib" && ln -sf libavcodec-cinelerra.so.51.57.0 libavcodec-cinelerra.so.51
cd "/usr/local/lib" && ln -sf libavcodec-cinelerra.so.51.57.0 libavcodec-cinelerra.so
install -d "/usr/local/lib"
install -m 755 libavutil/libavutil-cinelerra.so "/usr/local/lib/libavutil-cinelerra.so.49.6.0"
strip "/usr/local/lib/libavutil-cinelerra.so.49.6.0"
cd "/usr/local/lib" && ln -sf libavutil-cinelerra.so.49.6.0 libavutil-cinelerra.so.49
cd "/usr/local/lib" && ln -sf libavutil-cinelerra.so.49.6.0 libavutil-cinelerra.so
install -d "/usr/local/include/libavdevice"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavdevice"/avdevice.h "/usr/local/include/libavdevice"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg"/libavdevice.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavformat"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavformat"/avformat.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavformat"/avio.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavformat"/rtsp.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavformat"/rtspcodes.h "/usr/local/include/libavformat"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg"/libavformat.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavcodec"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavcodec"/avcodec.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavcodec"/opt.h "/usr/local/include/libavcodec"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg"/libavcodec.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavutil"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/adler32.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/avstring.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/avutil.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/base64.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/common.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/crc.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/fifo.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/intfloat_readwrite.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/log.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/lzo.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/mathematics.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/md5.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/mem.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/random.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/rational.h "/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil"/sha1.h "/usr/local/include/libavutil"
install -m 644 "/home/garrett/build/my_cinelerra/quicktime/ffmpeg"/libavutil.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/lib/vhook"
install -m 755 vhook/fish.so vhook/null.so vhook/watermark.so vhook/ppm.so vhook/imlib2.so vhook/drawtext.so "/usr/local/lib/vhook"
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime/ffmpeg'
make[2]: Entering directory `/home/garrett/build/my_cinelerra/quicktime'
make[3]: Entering directory `/home/garrett/build/my_cinelerra/quicktime'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool --tag=CC   --mode=install /bin/install -c   libquicktimehv.la '/usr/local/lib'
libtool: install: warning: relinking `libquicktimehv.la'
libtool: install: (cd /home/garrett/build/my_cinelerra/quicktime; /bin/sh /home/garrett/build/my_cinelerra/libtool  --tag CC --tag CC --mode=relink gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX -DUSE_MMX -DX86_CPU -DHAVE_FIREWIRE -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DENCORE_INCLUDE=\"encore50/encore.h\" -I../quicktime/ffmpeg -g -O2 -version-info 1:0:0 -release 1.6.0 -Wl,--no-undefined -o libquicktimehv.la -rpath /usr/local/lib atom.lo avcc.lo avi_hdrl.lo avi_idx1.lo avi_movi.lo avi_strl.lo avi_odml.lo avi_ix.lo avi_indx.lo avi_riff.lo cmodel_default.lo cmodel_float.lo cmodel_yuv420p.lo cmodel_yuv422.lo codecs.lo colormodels.lo ctab.lo dinf.lo dref.lo edts.lo elst.lo esds.lo graphics.lo hdlr.lo ima4.lo interlacemodes.lo jpeg.lo libdv.lo libmjpeg.lo matrix.lo mdat.lo mdhd.lo mdia.lo minf.lo moov.lo mp4a.lo mvhd.lo plugin.lo qtcache.lo qtdv.lo qtffmpeg.lo qth264.lo qtpng.lo qtmp3.lo quicktime.lo raw.lo rawaudio.lo rle.lo smhd.lo stbl.lo stco.lo stsc.lo stsd.lo stsdtable.lo stss.lo stsz.lo stts.lo tkhd.lo trak.lo twos.lo udta.lo ulaw.lo util.lo v308.lo v408.lo v410.lo vmhd.lo vbraudio.lo vorbis.lo workarounds.lo yuv2.lo yuv4.lo yv12.lo wmx2.lo wma.lo mpeg4.lo -L../quicktime/ffmpeg/libavcodec -lavcodec-cinelerra -L../quicktime/ffmpeg/libavutil -lavutil-cinelerra -logg -lvorbis -lm -logg -lvorbisenc -lvorbis -lm -logg -lvorbisfile -lvorbis -lm -logg -ltheora -logg -lmp3lame -lfaad -lfaac encore50/libencore.la ../libmpeg3/libmpeg3hv.la -lx264 -ldv -lm -ljpeg -lpng -lz -lpthread -lm -lm -ldl -lpthread )
libtool: relink: gcc -shared  .libs/atom.o .libs/avcc.o .libs/avi_hdrl.o .libs/avi_idx1.o .libs/avi_movi.o .libs/avi_strl.o .libs/avi_odml.o .libs/avi_ix.o .libs/avi_indx.o .libs/avi_riff.o .libs/cmodel_default.o .libs/cmodel_float.o .libs/cmodel_yuv420p.o .libs/cmodel_yuv422.o .libs/codecs.o .libs/colormodels.o .libs/ctab.o .libs/dinf.o .libs/dref.o .libs/edts.o .libs/elst.o .libs/esds.o .libs/graphics.o .libs/hdlr.o .libs/ima4.o .libs/interlacemodes.o .libs/jpeg.o .libs/libdv.o .libs/libmjpeg.o .libs/matrix.o .libs/mdat.o .libs/mdhd.o .libs/mdia.o .libs/minf.o .libs/moov.o .libs/mp4a.o .libs/mvhd.o .libs/plugin.o .libs/qtcache.o .libs/qtdv.o .libs/qtffmpeg.o .libs/qth264.o .libs/qtpng.o .libs/qtmp3.o .libs/quicktime.o .libs/raw.o .libs/rawaudio.o .libs/rle.o .libs/smhd.o .libs/stbl.o .libs/stco.o .libs/stsc.o .libs/stsd.o .libs/stsdtable.o .libs/stss.o .libs/stsz.o .libs/stts.o .libs/tkhd.o .libs/trak.o .libs/twos.o .libs/udta.o .libs/ulaw.o .libs/util.o .libs/v308.o .libs/v408.o .libs/v410.o .libs/vmhd.o .libs/vbraudio.o .libs/vorbis.o .libs/workarounds.o .libs/yuv2.o .libs/yuv4.o .libs/yv12.o .libs/wmx2.o .libs/wma.o .libs/mpeg4.o  -Wl,--whole-archive encore50/.libs/libencore.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/usr/local/lib -L/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavcodec -lavcodec-cinelerra -L/home/garrett/build/my_cinelerra/quicktime/ffmpeg/libavutil -lavutil-cinelerra -lvorbisenc -lvorbisfile -lvorbis -ltheora -logg -lmp3lame -lfaad -lfaac -L/usr/local/lib -lmpeg3hv -la52 -lx264 -ldv -ljpeg -lpng -lz -lm -ldl -lpthread  -Wl,--no-undefined   -Wl,-soname -Wl,libquicktimehv-1.6.0.so.1 -o .libs/libquicktimehv-1.6.0.so.1.0.0
/usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32 against `.rodata.str1.1' 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
libtool: install: error: relink `libquicktimehv.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/garrett/build/my_cinelerra/quicktime'
make: *** [install-recursive] Error 1

Then, like it said "recompile with -fPIC" I tried recompiling x264 with "--enable-pic --enable-shared" and it gives me

gcc -shared -o libx264.so.79 common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-64.o -Wl,-soname,libx264.so.79 -lm -lpthread -Wl,-Bsymbolic -s
/usr/bin/ld: common/x86/cabac-a.o: relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC
common/x86/cabac-a.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libx264.so.79] Error 1

And I am now completely lost... Does anybody know how to fix this? It once again says "recompile with -fPIC" but I thought I just did that.


~ Floft

Last edited by Floft (2009-11-25 06:06:31)

Offline

#2 2009-11-25 13:44:35

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: Cinelerra

I found this elsewhere on the web; over my head but maybe it helps.

http://www.gentoo.org/proj/en/base/amd6 … t=1&chap=3

Offline

#3 2009-11-25 16:56:01

Floft
Member
Registered: 2009-11-15
Posts: 43

Re: Cinelerra

Okay, I think I'll just skip trying to compile and install it. Cinelerra works fine as long as I don't open certian types of files.

I did however get x264 to install using that link you gave, so thank you, but then I had more problems with ffmpeg needing one version of x264 and cinelerra another, and I don't know how to have two different versions or how to make ffmpeg use the newer one.

Last edited by Floft (2009-11-25 16:57:29)

Offline

#4 2009-11-26 05:47:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Cinelerra

Floft wrote:

Okay, I think I'll just skip trying to compile and install it. Cinelerra works fine as long as I don't open certian types of files.

I did however get x264 to install using that link you gave, so thank you, but then I had more problems with ffmpeg needing one version of x264 and cinelerra another, and I don't know how to have two different versions or how to make ffmpeg use the newer one.

FFmpeg from the repos is incompatible with the current x264 API (so.79). This is fixed in FFmpeg's subversion tree. Building FFmpeg from subversion will fix that part, but will possibly break other things.

Offline

#5 2010-07-05 18:18:30

zenny
Member
Registered: 2008-04-15
Posts: 24

Re: Cinelerra

Having similar problem as of Floft (the original poster) even after almost 9 months. Any solution to overcome the problem of crashing of cinelerra? Thanks!

Offline

#6 2010-07-06 19:28:39

Floft
Member
Registered: 2009-11-15
Posts: 43

Re: Cinelerra

I haven't really found a good fix yet. I just tried opening a non-mpeg file and it crashed again. "If the file is unsupported, it usually crashes or shows very short tracks." (docs) That is definately true...

My Way
For me mp3, wav, png, and jpeg files normally open fine for me, so I try to use those. Then for the video files I just convert everything to an mpeg file (such as: ffmpeg -i input.avi -sameq output.mpeg). This is mentioned in the documentation: http://cinelerra.org/docs/split_manual_ … html#SEC93. Unfortunately, this has resulted in problems with video quality. Also, for some reason, Cinelerra would crash if the first frame of a video was a solid black frame. Thus, I would remove a few of the beginning frames until the first frame wasn't solid black, and it would then open the file fine.

Better, Slower Way
There is one way that I can think of that will be higher quality than converting everything to mpeg. You can get the audio from the video clip (ffmpeg -i video.avi -sameq audio.wav) and save all the frames from the movie to png files (ffmpeg -i video.avi -sameq frame_%05d.png) and then create a list file (below for the format). You can import both of them into Cinelerra without any problem. Nice[r] quality, but very, very slow.

PNGLIST
24 #frame rate
1280 #width
720 #height
/path/to/frame_00001.png
/path/to/frame_00002.png
...

So, I can get by with this method of converting everything to mpeg or converting to frames, but it either lowers the quality or takes forever. Hopefully Lumiera will fix all these problems when it comes out.

Last edited by Floft (2010-07-06 19:31:11)

Offline

#7 2010-07-07 01:44:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Cinelerra

If it helps at all, FFmpeg's -sameq switch is for mpeg2 video to mpeg2 video. It's useful for completely replacing the timestamps of either badly encoded mpeg2 video streams with their corresponding audio streams, or replacing the audio stream. The -sameq switch when not using mpeg2 video for input will select the default, which is always pretty low quality.

Offline

#8 2010-07-07 02:25:43

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Cinelerra

skottish wrote:

If it helps at all, FFmpeg's -sameq switch is for mpeg2 video to mpeg2 video. It's useful for completely replacing the timestamps of either badly encoded mpeg2 video streams with their corresponding audio streams, or replacing the audio stream. The -sameq switch when not using mpeg2 video for input will select the default, which is always pretty low quality.

Are you sure on that skottish? I always use -sameq for converting between formats (I'm too lazy to do the calculations myself) and its definitely NOT using the defaults which would be used if I had not used -sameq. The video files are much bigger and very obviously clearer.

From the man-page:-

man ffmpeg wrote:

-sameq
           use same video quality as source (implies VBR)

Nothing there about being only for like-to-like conversion.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2010-07-07 02:43:26

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Cinelerra

ngoonee wrote:
skottish wrote:

If it helps at all, FFmpeg's -sameq switch is for mpeg2 video to mpeg2 video. It's useful for completely replacing the timestamps of either badly encoded mpeg2 video streams with their corresponding audio streams, or replacing the audio stream. The -sameq switch when not using mpeg2 video for input will select the default, which is always pretty low quality.

Are you sure on that skottish? I always use -sameq for converting between formats (I'm too lazy to do the calculations myself) and its definitely NOT using the defaults which would be used if I had not used -sameq. The video files are much bigger and very obviously clearer.

Not anymore smile I seem to remember coming across that tidbit on one of the FFmpeg mailing lists after sameq failed repeatedly for me. That was years ago. Admittedly, I'm getting way out of touch with general FFmpeg usage since I've discovered a few techniques of producing high quality videos. My needs of late are mostly limited to my own artwork or converting sound to lossless.

*** It's possible that I'm simply confused, getting old, and/or retarded. ***

Offline

#10 2010-07-09 12:28:15

zenny
Member
Registered: 2008-04-15
Posts: 24

Re: Cinelerra

Sorry that I forgot to mention a workaround with cinelerra 4.1 instead as posted here:

http://bbs.archlinux.org/viewtopic.php?id=100668

Offline

Board footer

Powered by FluxBB