Re: [CinCV] Arvind R's CinelerraCV patches from June
Hi On Fri, Aug 30, 2013 at 10:19 PM, Ned Haskin wrote: > Einar, > Compiled & installed cinelerra-cv with just the install dir patch from > june. > No errors on ./configure, make or gksu make install > But I get > > ned17@videoathlon:~/cinelerra-cv$ cinelerraCV > cinelerraCV: error while loading shared libraries: > libquicktimehv-1.6.0.so.1: cannot open shared object file: No such file or > directory > ned17@videoathlon:~/cinelerra-cv$ > > And libquicktimehv-1.6.0.so.1 is in /usr/local/lib > So I don't understand, why it can't find it. > How do I run an executable giving it library directories to look in? > > Run '/sbin/ldconfig' as root. Einar ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Hi. On Thu, Aug 29, 2013 at 11:03 PM, Ned Haskin wrote: > Einar, used a fresh cinelerra-cv ran > > ./autogen.sh > ./configure --host=x86_64-pc-linux-gnu --enable-3dnow > make -j5 > > ..rm > -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po > ... > done. > rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po > 1228 translated messages, 102 fuzzy translations, 77 untranslated messages. > rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po > 1370 translated messages, 24 fuzzy translations, 13 untranslated messages. > 1397 translated messages, 2 fuzzy translations, 8 untranslated messages. > 1396 translated messages, 2 fuzzy translations, 9 untranslated messages. > rm -f sl.gmo && /usr/bin/msgfmt -c --statistics -o sl.gmo sl.po > 1209 translated messages, 2 fuzzy translations, 196 untranslated messages. > 1029 translated messages, 223 fuzzy translations, 155 untranslated > messages. > make[3]: Leaving directory `/home/ned17/cinelerra-cv/po' > touch stamp-po > make[2]: Leaving directory `/home/ned17/cinelerra-cv/po' > Making all in image > make[2]: Entering directory `/home/ned17/cinelerra-cv/image' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/ned17/cinelerra-cv/image' > Making all in m4 > make[2]: Entering directory `/home/ned17/cinelerra-cv/m4' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/ned17/cinelerra-cv/m4' > make[2]: Entering directory `/home/ned17/cinelerra-cv' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `/home/ned17/cinelerra-cv' > make[1]: Leaving directory `/home/ned17/cinelerra-cv' > Fine. Seems it compiled successfully > ned17@videoathlon:~/cinelerra-cv$ > > Found a cinelerra script in the cinelerra dir ran it. > > ned17@videoathlon:~/cinelerra-cv$ cd cinelerra > ned17@videoathlon:~/cinelerra-cv/cinelerra$ ./cinelerra > /home/ned17/cinelerra-cv/cinelerra/.libs/lt-cinelerra: error while > loading shared libraries: libavcodec-cinelerra.so.51: cannot open shared > I think that it is not possible to run cinelerra without installing it. The needed libraries are all over the build tree and makining cinelerra to find them is useless hassle. Installing cinelerra may conflict with installed HV version. Einar ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Hi On Fri, Aug 30, 2013 at 2:23 AM, Ned Haskin wrote: > Still messing with -cv looking in /quicktime/ffmpeg/config.h this is > unpatched. > > #define FFMPEG_CONFIGURATION "--disable-ffmpeg --disable-ffserver > --disable-ffplay --disable-static > --enable-shared --build-suffix=-cinelerra --disable-altivec > --prefix=/usr/local --libdir=/usr/local/lib > --shlibdir=/usr/local/lib" > > It looks to me like its setting it up to use for external libraries. Or > install to them. > I already have ffmpeg-2 compiled and installed. I don't want it over > written. Why is it > disabling ffmpeg & static lib? > Cinelerra uses libraries not ffmpeg itself. Libraries will be installed in /usr/local/lib and have suffix -cinellerra (example: libavcodec-cinelerra.so.51). They will not conflict with installed ffmpeg. Einar ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
On Fri, 2013-08-30 at 22:22 +0300, Einar Rünkaru wrote: > Hi > > > On Fri, Aug 30, 2013 at 8:59 PM, Ned Haskin > wrote: > Got it > But while I was waiting I made & installed cinelerracve > It doesn't work either > > ned17@videoathlon:~$ cinelerracve > cinelerracve: error while loading shared libraries: > libquicktimecve-1.6.3.so.2: cannot open shared object file: > No such file or directory > > ned17@videoathlon:~$ > > I checked its paths & it wasn't going to use .bcast so I just > installed, no patches. > Odd, ldd shows several non linked lib's, but they are all > in /usr/local/lib & that's in the path statement. > > > After installing new libs run 'ldconfig' as root. This updates > loader's cache. 'make install' may fail to run ldconfig. > Dam, I saw this 2 weeks ago when looking through compiling cinelerra sites. They were talking about 4.2 & 4.4 install is broken on 4.4 as far as I know. So I never make installed or ldconfig. It just worked as long as cinelerra-4.4-dmo1.deb was installed. I just ran it from the cinelerra-4.4/bin dir. I bet that would fix it too. Anyway I forgot all about ldconfig oops. I used it when I compiled ffmpeg & x264 too. > cinelerracve is experimental an may fail any time. It stores its > configuration in .cinelerra. Project files of cve branch can't be > loaded to cv branch. Cve and cv can be installed side by side. > Okay got it > > -- > I'll go back to the original cinelerra-cv and install it, no, > it uses .bcast can I change that somewhere before > make? Like the cinelerra/pluginclient.h:#define BCASTDIR > "~/.bcast/" to .bcast-cv >cinelerra/preferences.inc:#define BCASTDIR > "~/.bcast/" > > Or is it more complex then that? > > You can change it > I patched cinelerra-cv with the 90_fix_install_paths.patch from the june post. Worked fine on the september cinelerra-cv src Make & gksu make install no problem, gksu ldconfig. And it works! I'm having trouble with h264 basically uncompressed yuv420p.mov as input files. When I have problem video files I want to use in cinelerra & they won't work. I transcode them $ ffmpeg -i PICT0001.AVI -vcodec libx264 -profile:v high444 -preset slow -crf 0 -bf 0 -r 29.97 -pix_fmt yuv420p -acodec copy -t 1500 bike082213-1.mov I have some hobby cameras that are small cheap and convent, but they make variable framerate mjpeg video. You can't paste together clips of differing framerates. These .mov worked just fine in cinelerra-4.4. Now I get this in the cl : [h264 @ 0x7f62b2b8e4a0]no frame! And in a cinelerra error popup window: virtual int FileMOV::read_frame(VFrame*): quicktime_decode_video failed, result: It doesn't crash, I can do stuff, just not with these mov, I have a lot of them. Maybe some of the other patches fix this. This version will take mjpeg video as input which is good. here the specs of the .mov they look fine in mplayer General Complete name: bike070513x264-3.mov Format : MPEG-4 Format profile : QuickTime Codec ID : qt File size: 2.58 GiB Duration : 18mn 40s Overall bit rate : 19.8 Mbps Writing application : Lavf55.13.102 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.0 Format settings, CABAC : Yes Format settings, ReFrames: 5 frames Codec ID : avc1 Codec ID/Info: Advanced Video Coding Duration : 18mn 40s Bit rate mode: Variable Bit rate : 19.8 Mbps Width: 720 pixels Height : 480 pixels Display aspect ratio : 1.500 Frame rate mode : Constant Frame rate : 29.970 fps Standard : NTSC Resolution : 8 bits Colorimetry : 4:2:0 Scan type: Progressive Bits/(Pixel*Frame) : 1.907 Stream size : 2.58 GiB (100%) Writing library : x264 core 135 r2345 f0c1c53 Encoding settings: cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=7 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 /
Re: [CinCV] Arvind R's CinelerraCV patches from June
Hi. On Thu, Aug 29, 2013 at 4:03 AM, Ned Haskin wrote: > On Wed, 2013-08-28 at 21:14 +0300, Einar Rünkaru wrote: > > > > > [-Wdeprecated-declarations] > > filebase.C: In member function ‘void > > FileBase::append_history(const > > void*, SampleFormat, int, int)’: > > filebase.C:320:8: error: ‘SAMPLE_FMT_DBL’ was not declared in > > this scope > > make[3]: *** [filebase.o] Error 1 > > make[3]: Leaving directory > > `/home/ned17/cinelerra-cv/cinelerra' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory > > `/home/ned17/cinelerra-cv/cinelerra' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/ned17/cinelerra-cv' > > make: *** [all] Error 2 > > ned17@videoathlon:~/cinelerra-cv$ > > > > Version 2.2 CV does not contain method FileBase::append_history(const > > void*, SampleFormat, int, int), but HV-4.4 does. Something is mixed. > > SAMPLE_FMT_DBL is defined in > > cinelerra-4.4/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/avcodec.h > > (eg version HV-4.4) > > > Found. FileBase::append_history is added by patches from Arvind. SAMPLE_FMT_DBL also. Can you try to compile CV without the patches? > > > Did you configure with internal ffmpeg? > > I didn't give ./configure any options. I have ffmpeg-2 compiled is > internal preferred? > Looking at ./configure -help shouldn't it default to internal? > Yes Einar ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Am 30.08.2013 21:19, schrieb Ned Haskin: > Einar, > Compiled & installed cinelerra-cv with just the install dir patch from june. > No errors on ./configure, make or gksu make install > But I get > > ned17@videoathlon:~/cinelerra-cv$ cinelerraCV > cinelerraCV: error while loading shared libraries: libquicktimehv-1.6.0.so.1: > cannot open shared object file: No such file or directory > ned17@videoathlon:~/cinelerra-cv$ > > And libquicktimehv-1.6.0.so.1 is in /usr/local/lib > So I don't understand, why it can't find it. > How do I run an executable giving it library directories to look in? Run 'sudo /sbin/ldconfig'. You need to do this only once. Or reboot. -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Einar, Compiled & installed cinelerra-cv with just the install dir patch from june. No errors on ./configure, make or gksu make install But I get ned17@videoathlon:~/cinelerra-cv$ cinelerraCV cinelerraCV: error while loading shared libraries: libquicktimehv-1.6.0.so.1: cannot open shared object file: No such file or directory ned17@videoathlon:~/cinelerra-cv$ And libquicktimehv-1.6.0.so.1 is in /usr/local/lib So I don't understand, why it can't find it. How do I run an executable giving it library directories to look in? Ned > > > > Installing cinelerra may conflict with installed HV version. > > > > Einar > > > > > ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Still messing with -cv looking in /quicktime/ffmpeg/config.h this is unpatched. #define FFMPEG_CONFIGURATION "--disable-ffmpeg --disable-ffserver --disable-ffplay --disable-static --enable-shared --build-suffix=-cinelerra --disable-altivec --prefix=/usr/local --libdir=/usr/local/lib --shlibdir=/usr/local/lib" It looks to me like its setting it up to use for external libraries. Or install to them. I already have ffmpeg-2 compiled and installed. I don't want it over written. Why is it disabling ffmpeg & static lib? Ned ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Hi. On Wed, Aug 28, 2013 at 2:35 AM, Ned Haskin wrote: > Einar, Got the package situation for CV figured out, configure worked. > > ESD subsystem missing > ESD (Enlightenment Sound Daemon) is disabled > ALSA subsystem found > ALSA is enabled > libraw1394 found > libiec61883 found > libavc1394 librariesfound > libavc1394 headers found > librom1394 librariesfound > librom1394 headers found > Firewire is enabled > OpenGL 2.0 librariesfound > Hardware acceleration using OpenGL 2.0 is enabled > > Now type > make > > to start compilation. > - > Make didn't > > ../guicast/bcpot.h: In member function ‘virtual char* > BC_Pot::get_caption()’: > ../guicast/bcpot.h:56:39: warning: deprecated conversion from string > constant to ‘char*’ [-Wwrite-strings] > In file included from filebase.h:38:0, > from filebase.C:27: > ../quicktime/ffmpeg/libavcodec/avcodec.h: At global scope: > ../quicktime/ffmpeg/libavcodec/avcodec.h:2330:72: warning: > ‘ImgReSampleContext’ is deprecated (declared > at ../quicktime/ffmpeg/libavcodec/avcodec.h:2324) > [-Wdeprecated-declarations] > ../quicktime/ffmpeg/libavcodec/avcodec.h:2340:64: warning: > ‘ImgReSampleContext’ is deprecated (declared > at ../quicktime/ffmpeg/libavcodec/avcodec.h:2324) > [-Wdeprecated-declarations] > filebase.C: In member function ‘void FileBase::append_history(const > void*, SampleFormat, int, int)’: > filebase.C:320:8: error: ‘SAMPLE_FMT_DBL’ was not declared in this scope > make[3]: *** [filebase.o] Error 1 > make[3]: Leaving directory `/home/ned17/cinelerra-cv/cinelerra' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/ned17/cinelerra-cv/cinelerra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ned17/cinelerra-cv' > make: *** [all] Error 2 > ned17@videoathlon:~/cinelerra-cv$ > Version 2.2 CV does not contain method FileBase::append_history(const void*, SampleFormat, int, int), but HV-4.4 does. Something is mixed. SAMPLE_FMT_DBL is defined in cinelerra-4.4/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/avcodec.h (eg version HV-4.4) Did you configure with internal ffmpeg? > BTW does CV still take mjpeg video as input files? HV-4.4 with the > dnxhd.patch doesn't. > > Never tried - I don't know. Einar ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
Einar, used a fresh cinelerra-cv ran ./autogen.sh ./configure --host=x86_64-pc-linux-gnu --enable-3dnow make -j5 ..rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po ... done. rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po 1228 translated messages, 102 fuzzy translations, 77 untranslated messages. rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po 1370 translated messages, 24 fuzzy translations, 13 untranslated messages. 1397 translated messages, 2 fuzzy translations, 8 untranslated messages. 1396 translated messages, 2 fuzzy translations, 9 untranslated messages. rm -f sl.gmo && /usr/bin/msgfmt -c --statistics -o sl.gmo sl.po 1209 translated messages, 2 fuzzy translations, 196 untranslated messages. 1029 translated messages, 223 fuzzy translations, 155 untranslated messages. make[3]: Leaving directory `/home/ned17/cinelerra-cv/po' touch stamp-po make[2]: Leaving directory `/home/ned17/cinelerra-cv/po' Making all in image make[2]: Entering directory `/home/ned17/cinelerra-cv/image' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ned17/cinelerra-cv/image' Making all in m4 make[2]: Entering directory `/home/ned17/cinelerra-cv/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ned17/cinelerra-cv/m4' make[2]: Entering directory `/home/ned17/cinelerra-cv' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/ned17/cinelerra-cv' make[1]: Leaving directory `/home/ned17/cinelerra-cv' ned17@videoathlon:~/cinelerra-cv$ Found a cinelerra script in the cinelerra dir ran it. ned17@videoathlon:~/cinelerra-cv$ cd cinelerra ned17@videoathlon:~/cinelerra-cv/cinelerra$ ./cinelerra /home/ned17/cinelerra-cv/cinelerra/.libs/lt-cinelerra: error while loading shared libraries: libavcodec-cinelerra.so.51: cannot open shared object file: No such file or directory ned17@videoathlon:~/cinelerra-cv/cinelerra$ I ran ldd on the two files in the /.libs dir and it had 5 missing libraries. The odd part is that libavcodec-cinelerra.so.51 & libavutil-cinelerra.so.49 are in the quicktime/ffmpeg/ subdirectories. They are just not linked correctly. The others are missing. ned17@videoathlon:~/cinelerra-cv/cinelerra/.libs$ ldd lt-cinelerra linux-vdso.so.1 => (0x7fff691ff000) libquicktimehv-1.6.0.so.1 => /home/ned17/cinelerra-cv/quicktime/.libs/libquicktimehv-1.6.0.so.1 (0x7f64c331a000) libguicast.so.1 => /home/ned17/cinelerra-cv/guicast/.libs/libguicast.so.1 (0x7f64c304e000) libmpeg3hv-1.5.0.so.1 => /home/ned17/cinelerra-cv/libmpeg3/.libs/libmpeg3hv-1.5.0.so.1 (0x7f64c2e04000) libavcodec-cinelerra.so.51 => not found libavutil-cinelerra.so.49 => not found libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x7f64c2918000) ned17@videoathlon:~/cinelerra-cv/cinelerra$ ldd /home/ned17/cinelerra-cv/cinelerra/.libs/cinelerra linux-vdso.so.1 => (0x7fff2edf) libquicktimehv-1.6.0.so.1 => not found libguicast.so.1 => not found libmpeg3hv-1.5.0.so.1 => not found libavcodec-cinelerra.so.51 => not found libavutil-cinelerra.so.49 => not found libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x7f5176d37000) Thanks, Ned On Thu, 2013-08-29 at 20:51 +0300, Einar Rünkaru wrote: > > > > Found. FileBase::append_history is added by patches from Arvind. > SAMPLE_FMT_DBL also. > > > Can you try to compile CV without the patches? > > > > > > Did you configure with internal ffmpeg? > > > I didn't give ./configure any options. I have ffmpeg-2 > compiled is internal preferred? > Looking at ./configure -help shouldn't it default to > internal? > > > Yes > > > Einar > ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra
Re: [CinCV] Arvind R's CinelerraCV patches from June
On Wed, 2013-08-28 at 21:14 +0300, Einar Rünkaru wrote: > > [-Wdeprecated-declarations] > filebase.C: In member function ‘void > FileBase::append_history(const > void*, SampleFormat, int, int)’: > filebase.C:320:8: error: ‘SAMPLE_FMT_DBL’ was not declared in > this scope > make[3]: *** [filebase.o] Error 1 > make[3]: Leaving directory > `/home/ned17/cinelerra-cv/cinelerra' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/ned17/cinelerra-cv/cinelerra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ned17/cinelerra-cv' > make: *** [all] Error 2 > ned17@videoathlon:~/cinelerra-cv$ > > Version 2.2 CV does not contain method FileBase::append_history(const > void*, SampleFormat, int, int), but HV-4.4 does. Something is mixed. > SAMPLE_FMT_DBL is defined in > cinelerra-4.4/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/avcodec.h > (eg version HV-4.4) > > > Did you configure with internal ffmpeg? I didn't give ./configure any options. I have ffmpeg-2 compiled is internal preferred? Looking at ./configure -help shouldn't it default to internal? > > > > BTW does CV still take mjpeg video as input files? HV-4.4 with the > dnxhd.patch doesn't. > > Never tried - I don't know. It's not the dnchd patch, not sure what it is. I changed the name on cinelerra-4.4 to cinelerraHV-4.4. I changed it's .bcast dir to another drive too. And compiled a 2nd version without the dnxhd patch. And they both won't take mjpeg as input. Well you can still load it the video is green. My still cameras all record mjpeg video, which is convenient when not carrying a video camera. I also have hobbycams that record mjpeg. Thanks, Ned > > > Einar > ___ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra