[CinCV Old] [ PATCH ] Fixed zeroing frame data in VFrame::clear_frame()

2014-05-22 Thread Einar Rünkaru
Hi.

Patch attached.

Einar
From 0533a3117e8e36fb33f6a6f1a5db493a40979c70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Einar=20R=C3=BCnkaru?= eina...@smail.ee
Date: Thu, 22 May 2014 22:34:01 +0300
Subject: [PATCH] Fixed zeroing frame data in VFrame::clear_frame()

Fixed buffer overflow while clearing YUV420P buffer.
Use calculate_data_size for calculating the buffer size.
Replaced deprecated bzero with memset.
---
 guicast/vframe.C |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/guicast/vframe.C b/guicast/vframe.C
index b9de1bc..0ec29c0 100644
--- a/guicast/vframe.C
+++ b/guicast/vframe.C
@@ -595,10 +595,6 @@ int VFrame::clear_frame()
 		case BC_COMPRESSED:
 			break;
 
-		case BC_YUV420P:
-			bzero(data, h * w * 2);
-			break;
-
 		case BC_YUV888:
 			ZERO_YUV(3, unsigned char, 0xff);
 			break;
@@ -616,7 +612,7 @@ int VFrame::clear_frame()
 			break;
 		
 		default:
-			bzero(data, h * bytes_per_line);
+			memset(data, 0, calculate_data_size(w, h, bytes_per_line, color_model));
 			break;
 	}
 	return 0;
-- 
1.7.9.5

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] News statement regarding domain change

2014-03-19 Thread Einar Rünkaru
Hi.

On Tue, Mar 18, 2014 at 11:20 AM, Simeon Völkel simeon.voel...@sfz-bw.dewrote:

 Hi Einar,

 as you were the by far most active cinelerra-cv developer during last year,
 I would highly appreciate your opinion on the current situation with
 cinelerra-cv.org and the reregistration of cinelerra.org.

 Are there indeed any plans to shift development back to cinelerra.org, as
 they claim? I haven't seen any such announcement on our mailinglist...

 Have you been contacted by the new registrant of cinelerra.org, Michael
 Collins?


The only information I have came through this ML. Nobody else has contacted
me. For now I can't see any reason to take Michael Collins seriously. I am
fine with the proposed statements.


Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Site is back

2014-01-28 Thread Einar Rünkaru
Hi


On Mon, Jan 20, 2014 at 1:19 PM, Raffaella Traniello 
raffaella.tranie...@g-raffa.eu wrote:

 Ciao!

 I'm happy to announce that the CinCV site is back, alive at the URL
 http://cinelerra-cv.org


Thanks.



 Please, help fixing broken links by making me know them.


Broken links I found so far:

Menu:
Get involved, Bugtracker,

Content of News (index.php): link to 'community GIT repo'; link to
bugtracker.

Content of Contact Us (contact.php): link to IRC archive

Content of Mailing lists  IRC (mailinglists.php): link to IRC archive

Content of Developers corner: 2 links to 'Gitweb page'; all links to
doxygen documentation

Content of main_repo.php: git commands, link to gitweb page.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


[CinCV] Patches pushed

2013-10-12 Thread Einar Rünkaru
Hi.

Pushed the following patches
Fix in File::read_frame calling of
cmodel_transferhttp://www.mail-archive.com/cinelerra@skolelinux.no/msg14059.html
Increment the year in copyright
messagehttp://www.mail-archive.com/cinelerra@skolelinux.no/msg14058.html
Fixed compilation on Arch
Linuxhttp://www.mail-archive.com/cinelerra@skolelinux.no/msg14057.html

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind's ffmpeg file reader ac3 patches from July

2013-10-02 Thread Einar Rünkaru
On Mon, Sep 30, 2013 at 9:28 PM, Ned Haskin feanor2...@covad.net wrote:

  On 09/30/2013 09:04 AM, Einar Rünkaru wrote:


  On Mon, Sep 30, 2013 at 3:26 PM, Ned Haskin feanor2...@covad.net wrote:


  That is why I'm asking what distro they correctly compile on.
 Arvind must have them working. His documentary project depends on it.
 As he stated back in July.

   As I remember these patches need ffmpeg version 1.something. Look at
 ML history.

  FFmpeg is not part of debian, I think you have to compile it by hand.

  Einar

 Ok,
 ffmpeg is in apt, but ffmpeg-dev isn't  it's old 1.0.8. I complied
 ffmpeg-2 in August.
 The error I get is on filebase.C  g++4.7.2 doesn't like it.

 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

 So I need to find where the filebase.C is referencing external ffmpeg and
 correct it to see mine.
 Possibly have to compile an old version too. And that probably won't be
 the only issue.

 Configure should figure out where the external headers and libs are.
‘SAMPLE_FMT_DBL’ is defined in a header of ffmpeg.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind's ffmpeg file reader ac3 patches from July

2013-10-01 Thread Einar Rünkaru
On Mon, Sep 30, 2013 at 3:26 PM, Ned Haskin feanor2...@covad.net wrote:


 That is why I'm asking what distro they correctly compile on.
 Arvind must have them working. His documentary project depends on it.
 As he stated back in July.

 As I remember these patches need ffmpeg version 1.something. Look at ML
history.

FFmpeg is not part of debian, I think you have to compile it by hand.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind's ffmpeg file reader ac3 patches from July

2013-09-30 Thread Einar Rünkaru
On Fri, Sep 27, 2013 at 8:06 PM, Ned Haskin feanor2...@covad.net wrote:

 Hi,
 What linux distro(s) does this compile correctly on?
 And this is the src to use? |
 git clone 
 git://git.cinelerra.org/**CinelerraCV.githttp://git.cinelerra.org/CinelerraCV.gitcinelerra-cv|


This is the official version of Cinelerra-CV, it should compile on any
modern Linux distrbution. Please report if it doesn't compile.


 Do h264/aac or h264/pcm .mov files load  scroll forward  back in the
 time line correctly.
 How about if they are h264 yuv444p or h264 yuv422p?


There are problems with h264. Better to reencode as explained
http://www.g-raffa.eu/Cinelerra/HOWTO/get_media_ready.html


Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind's ffmpeg file reader ac3 patches from July

2013-09-30 Thread Einar Rünkaru
On Sun, Sep 29, 2013 at 9:55 PM, Ned Haskin feanor2...@covad.net wrote:

 On Sun, 2013-09-29 at 16:21 +0300, Einar Rünkaru wrote:
 
  On Fri, Sep 27, 2013 at 8:06 PM, Ned Haskin feanor2...@covad.net
  wrote:
  Hi,
  What linux distro(s) does this compile correctly on?
  And this is the src to use? |
  git clone git://git.cinelerra.org/CinelerraCV.git
  cinelerra-cv|
 
 
  This is the official version of Cinelerra-CV, it should compile on any
  modern Linux distrbution. Please report if it doesn't compile.

 
  Einar

 As mentioned earlier in the month this doesn't compile on
 wheezy-7.1.0-amd64
 gcc version 4.7.2  I did change the source dir name. I was working with
 another cv dir at the same time.
 This is the cv patches from July 4, 2013 with the added ac3 patches from
 July 6

 I get an error in filebase.C


These patches are not part of the official Cinelerra. Compiling errors are
caused by these patches. They need to be fixed.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] yuvstreaming Color model

2013-09-18 Thread Einar Rünkaru
On Mon, Sep 16, 2013 at 8:22 PM, Ned Haskin feanor2...@covad.net wrote:

 On Mon, 2013-09-16 at 17:52 +0300, Einar Rünkaru wrote:
  Hi
 
 
  On Sun, Sep 15, 2013 at 7:00 PM, Ned Haskin feanor2...@covad.net
  wrote:
  Hi,
  I noticed that when I render through the pipe, the stream is
  always yuv420p.
 
  Input #0, yuv4mpegpipe, from 'pipe:':
Duration: N/A, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
  1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 29.97 tbn,
  29.97 tbc
 
  Now I figured I was probably doing something wrong  double
  checked everything.
  Input file dnxhd 720p yuv422p cinelerra color model yuv 8bit.
  Reading the manual I saw that rgb-float is
  close to lossless and will work with yuv  is faster in many
  plugins. so I tried again in rgb-float.
  Same yuv420p stream. So I tried rendering to one of the
  formats that works natively mpeg4. The output
  file came out as yuv422p. This is with rgb-float as
  cinelerra's color model. Same dnxhd yuv422p input
  file.
 
  I tried this with both versions of cinelerra I have installed
  CV, HV-4.4
  Is this broken? I looked through the yuvstream patch for 4.4 
  it looks to me like it's setup to make sure
  the color model isn't changed. There are comments in it about
  no lossy format conversions. With the if
  statements checking  maintaining color model.
 
  Anyone have a clue on this?
 
 
  How can a thing called 'yuvstream' contain rgb?
 
 
  Einar

 I don't know, but it's in the Cinelerra-CV manual. The conversion is
 lossless??


Conversion yuv - rgb is not loseless. YUVstream supports only yuv420p (at
least Cinelerra supports only yuv420p for yuvstream).

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] yuvstreaming Color model

2013-09-17 Thread Einar Rünkaru
Hi


On Sun, Sep 15, 2013 at 7:00 PM, Ned Haskin feanor2...@covad.net wrote:

 Hi,
 I noticed that when I render through the pipe, the stream is always
 yuv420p.

 Input #0, yuv4mpegpipe, from 'pipe:':
   Duration: N/A, bitrate: N/A
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720,
 SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc

 Now I figured I was probably doing something wrong  double checked
 everything.
 Input file dnxhd 720p yuv422p cinelerra color model yuv 8bit. Reading the
 manual I saw that rgb-float is
 close to lossless and will work with yuv  is faster in many plugins. so I
 tried again in rgb-float.
 Same yuv420p stream. So I tried rendering to one of the formats that works
 natively mpeg4. The output
 file came out as yuv422p. This is with rgb-float as cinelerra's color
 model. Same dnxhd yuv422p input
 file.

 I tried this with both versions of cinelerra I have installed CV, HV-4.4
 Is this broken? I looked through the yuvstream patch for 4.4  it looks to
 me like it's setup to make sure
 the color model isn't changed. There are comments in it about no lossy
 format conversions. With the if
 statements checking  maintaining color model.

 Anyone have a clue on this?


How can a thing called 'yuvstream' contain rgb?

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


[CinCV] [PATCH] Fixed compilation on Arch Linux

2013-09-10 Thread Einar Rünkaru
Hi

Patch is attched.

Einar


Fixed-compilation-on-Arch-Linux.patch
Description: Binary data
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


[CinCV] [PATCH] Increment the year in copyright message

2013-09-10 Thread Einar Rünkaru
Hi.

Patch is attached

Einar


Increment-the-year-in-copyright-message.patch
Description: Binary data
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


[CinCV] [PATCH] Fix in File::read_frame calling of cmodel_transfer

2013-09-10 Thread Einar Rünkaru
Hi

Patch attached.

Einar


Fix-in-File-read_frame-calling-of-cmodel_transfer.patch
Description: Binary data
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Make error on Arch 64 bit

2013-09-07 Thread Einar Rünkaru
Hi


On Fri, Sep 6, 2013 at 3:55 PM, Gavin ga...@clayshot.com wrote:

 On Thu, 2013-09-05 at 19:02 +0300, Einar Rünkaru wrote:
 
 
 
  On Thu, Sep 5, 2013 at 6:08 PM, Gavin ga...@clayshot.com wrote:
 
 
  Add the line
  #include string.h
 
   after other 'include' directives at the beginning of
  cinelerra/videodevice.C
 
  
  
  
   May be 'strings.h' is not needed. Can you try without
   'strings.h' (only with 'string.h')?
  
 
  Einar
 

 Thank you Einar for the direction;

 Added #include string.h to

 videodevice.C
 and
 vdevicebuz.C

 and it made!


Can you confirm that strings.h was not needed for vdevicebuz.C?



 I notice Monty's branch tackled the v4l / Buz problem from last year
 differently to cv's.


 http://git.xiph.org/?p=users/xiphmont/cinelerraCV.git;a=commit;h=16729edbe00ef3f688fb3bca93f59cdb866361e7


 http://git.cinelerra.org/gitweb?p=CinelerraCV.git;a=commit;h=229bb45b3a0ee8b6c5fa37c69d27804a5ce595d2


v4l is removed from kernel. It is replaced by v4l2. The branches use
different v4l replacment libs. IMHO both are useless for cinelerra.

vdevicebuz is support of iOmega Buz Captue Card whitch was state of the art
around 1998.



 I tried to make Monty's branch but it stopped with another error

 In file included from libavcodec/vaapi_h264.c:24:0:
 libavcodec/vaapi_h264.c: At top level:
 libavcodec/h264.h:1256:13: warning: ‘decode_mb_skip’ defined but not
 used [-Wunused-function]
  static void decode_mb_skip(H264Context *h){
  ^
 CC  libavcodec/vaapi_mpeg2.o
 In file included from libavcodec/mpegvideo.h:32:0,
  from libavcodec/vaapi_internal.h:30,
  from libavcodec/vaapi_mpeg2.c:23:
 libavcodec/get_bits.h: In function ‘skip_bits’:
 libavcodec/get_bits.h:387:17: warning: variable ‘re_cache’ set but not
 used [-Wunused-but-set-variable]
  OPEN_READER(re, s)
  ^
 libavcodec/get_bits.h:135:13: note: in definition of macro ‘OPEN_READER’
  int name##_cache= 0;\
  ^
 libavcodec/vaapi_mpeg2.c: In function ‘vaapi_mpeg2_decode_slice’:
 libavcodec/vaapi_mpeg2.c:112:14: warning: variable ‘start_code’ set but
 not used [-Wunused-but-set-variable]
  uint32_t start_code, quantiser_scale_code, intra_slice_flag,
 macroblock_offset;
   ^
 CC  libavcodec/vaapi_mpeg4.o
 In file included from libavcodec/mpegvideo.h:32:0,
  from libavcodec/vaapi_internal.h:30,
  from libavcodec/vaapi_mpeg4.c:23:
 libavcodec/get_bits.h: In function ‘skip_bits’:
 libavcodec/get_bits.h:387:17: warning: variable ‘re_cache’ set but not
 used [-Wunused-but-set-variable]
  OPEN_READER(re, s)
  ^
 libavcodec/get_bits.h:135:13: note: in definition of macro ‘OPEN_READER’
  int name##_cache= 0;\
  ^
 libavcodec/vaapi_mpeg4.c: In function ‘vaapi_mpeg4_start_frame’:
 libavcodec/vaapi_mpeg4.c:89:5: error: implicit declaration of function
 ‘ff_h263_get_gob_height’ [-Werror=implicit-function-declaration]
  pic_param-num_macroblocks_in_gob   = s-mb_width *
 ff_h263_get_gob_height(s);
  ^
 cc1: some warnings being treated as errors
 make[3]: *** [libavcodec/vaapi_mpeg4.o] Error 1
 make[3]: Leaving directory
 `/home/gavin/cin-cv/cinelerraCV-870e5e4/quicktime/ffmpeg'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory
 `/home/gavin/cin-cv/cinelerraCV-870e5e4/quicktime'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/gavin/cin-cv/cinelerraCV-870e5e4'
 make: *** [all] Error 2

 Seems to be a problem in ffmpeg libraries.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Make error on Arch 64 bit

2013-09-06 Thread Einar Rünkaru
On Thu, Sep 5, 2013 at 2:10 AM, Gavin ga...@clayshot.com wrote:

 Thank you Einar, but unfortunately it didn't work.
 The only difference I saw was that the 'bcopy' error had gone;



 On Wed, 2013-09-04 at 18:41 +0300, Einar Rünkaru wrote:
  Hi
 
 
  On Mon, Sep 2, 2013 at 10:01 PM, Gavin ga...@clayshot.com wrote:
  Redirected from Gavin@clayshot (who can't get through to the
  list):
  -
 
 
  I'm experiencing make errors on Arch 64bit.
  It used to build fine a few months ago, so I guess its an Arch
  update
  issue.
 
  Einar's CV version builds without problems.


vdevicebuz is removed from my version

 
  Thanks for any pointers.
  Add the line:
  #include strings.h


Add the line
#include string.h

too

 
 
  after other 'include' directives at the beginning of
  cinelerra/vdevicebuz.C
 


May be 'strings.h' is not needed. Can you try without 'strings.h' (only
with 'string.h')?

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Make error on Arch 64 bit

2013-09-06 Thread Einar Rünkaru
On Thu, Sep 5, 2013 at 6:08 PM, Gavin ga...@clayshot.com wrote:



 Add the line
 #include string.h

  after other 'include' directives at the beginning of
 cinelerra/videodevice.C

 
 
 
  May be 'strings.h' is not needed. Can you try without
  'strings.h' (only with 'string.h')?
 

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Make error on Arch 64 bit

2013-09-05 Thread Einar Rünkaru
Hi


On Mon, Sep 2, 2013 at 10:01 PM, Gavin ga...@clayshot.com wrote:

 Redirected from Gavin@clayshot (who can't get through to the list):
 --**---


 I'm experiencing make errors on Arch 64bit.
 It used to build fine a few months ago, so I guess its an Arch update
 issue.

 Einar's CV version builds without problems.

 Thanks for any pointers.

Add the line:
#include strings.h

after other 'include' directives at the beginning of cinelerra/vdevicebuz.C

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind R's CinelerraCV patches from June

2013-08-31 Thread Einar Rünkaru
Hi


On Fri, Aug 30, 2013 at 2:23 AM, Ned Haskin feanor2...@covad.net 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

2013-08-31 Thread Einar Rünkaru
Hi.


On Thu, Aug 29, 2013 at 11:03 PM, Ned Haskin feanor2...@covad.net 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

2013-08-31 Thread Einar Rünkaru
Hi


On Fri, Aug 30, 2013 at 10:19 PM, Ned Haskin feanor2...@covad.net 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

2013-08-30 Thread Einar Rünkaru
Hi.


On Thu, Aug 29, 2013 at 4:03 AM, Ned Haskin feanor2...@covad.net 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

2013-08-29 Thread Einar Rünkaru
Hi.


On Wed, Aug 28, 2013 at 2:35 AM, Ned Haskin feanor2...@covad.net 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 CinelerraHV-4.4 patches from June

2013-08-28 Thread Einar Rünkaru
Hi.

On Tue, Aug 27, 2013 at 5:44 PM, Ned Haskin feanor2...@covad.net wrote:

 I have now renamed the cinelerra in /usr/bin/cinelerra.bak
 cinelerra-4.4/bin/cinelerra still works. I then tried to remove
 cinelerra-4.4-dmo1.deb
 leaving cinelerra-data-4.4-dmo1.deb, did that. cinelerra-4.4/bin/cinelerra
 wouldn't work.
 As soon as I reinstalled the deb, it worked again. So I went in and
 deleted /usr/bin/cinelerra
 And cinelerra-4.4/bin/cinelerra still works. weird!


Your compiled cinelerra uses libs from deb. Use 'ldd /path_to_binary' to
find out where the libs come


 Would like to compile cinelerra-cv, but have package conflicts.
 What version of libtiff is required? 3.9.6-11 or 4.0.2-6 are available but
 require libjpeg8-dev


I have  libtiff4 3.9.5-2ubuntu1.5.

which conflicts with libjpeg62-dev. ./configure does say libjpeg libraries
 headers found, it
 doesn't say which ones it needs.
 I can get libmjpegtools-dev to install if I install the older version of
 libquicktime-dev-2:1.2.4-3
 That's all I need to get it to compile.


Just try to compile and let me know.


 Will removing packages I needed to compile cinelerra-4.4 break it? I don't
 think it should since
 its already compiled and working, but I'm no expert. It maybe using
 libraries outside of the
 cinelerra-4.4 folder.


You can remove -dev packages, other must remain. Of course you have to test.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind R's CinelerraHV-4.4 patches from June

2013-08-27 Thread Einar Rünkaru
Hi.

On Sun, Aug 25, 2013 at 10:52 PM, Ned Haskin feanor2...@covad.net wrote:

 Einar,
 My error was in trying to fix the configure warnings ;

 config.status: creating libfaac/Makefile
 config.status: WARNING:  'libfaac/Makefile.in' seems to ignore the
 --datarootdir setting
 config.status: creating frontend/Makefile
 config.status: WARNING:  'frontend/Makefile.in' seems to ignore the
 --datarootdir setting


These errors can be ignored.


 At the time I didn't know why ./configure wasn't completing  just tried
 to fix everything.
 I added datarootdir = @datarootdir@ to the Makefile.in's with warnings.
 This morning I deleted
 cinelerra-4.4  uncompressed a new one from source. Patched it. The
 patches work cleanly for me.
 It worked mostly. I think my original problem was autogen wasn't
 installed. ./configure finished,
 make didn't make cinelerra executable in the bin folder. There is only a
 c_flags file in there.
 Not sure what's wrong. You mention the bz2 lib, but I have libbz2-1.0.6 
 libbz2-dev installed.
 So any clues?

 Typically I run 'make  list.make' - I get build log, I can analyze it
later.

I managed to apply all patches (some by hand) and after installing
libbz2-dev and libva-dev I stuck with
error multiple definition of `cpu_accel'.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind R's CinelerraHV-4.4 patches from June

2013-08-26 Thread Einar Rünkaru
Hi


On Fri, Aug 23, 2013 at 9:49 PM, Ned Haskin feanor2...@covad.net wrote:

 On Fri, 2013-08-23 at 19:02 +0300, Einar Rünkaru wrote:
 
 
 
  On Fri, Aug 23, 2013 at 6:00 AM, Ned Haskin feanor2...@covad.net
 wrote:
  Thanks Einar,
 
 
  
   CinelerraCV-2.2 won't compile on my system  Why? What
 was the error?
 
 
  Package collisions, as it says in readme.build 'Some of them are
 part of every distribution
  (if they aren't in yours, change you distrib. Not joking):'
 
  The text in file is outdated, newer versions of libraries are accepted.
 So you didn't try?
 No I didn't, how would I know that the file is outdated?
 

 Manuals are always more or less outdated.



  Nothing system-wide should be installed under root. It is home
  directory ot the root account. And of course user ned17
 
  should not have permissions to anything under root.

 
  Never compile anything as root.
 
 I never do, only  make install as root


Good.


 ned17@videoathlon:~/cinelerra-4.4$ make
 make -f build/Makefile.cinelerra
 make[1]: Entering directory `/home/ned17/cinelerra-4.4'
 gcc -c -O2  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2
 -I../../thirdparty/freetype-*/include -I../../ -DHAVE_OSS


 It looks to me like some configure set something  else as the srcdir
 instead of
 /home/ned17/cinelerra-4.4/ . And if I was making as root, it would have
 come
 back as no file or directory error, unless it had created those folders.
 Sometime
 earlier.  They don't exist I checked. grep won't deal with /root/hvirtual
 because of the slashes
 And grep came up with 1000's of returns of hvirtual  [11515 lines in pluma]


I downloaded cinelerra-4.4-src and configured and compiled without errors.
Though the binary of cinelerra was not
built (missing bz2 library). Nothing tried to access to root.

I tried do apply the patch, but it didn't apply cleanly. Configure failed.
I did't find nothing in patch pointig to /root

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind R's CinelerraHV-4.4 patches from June

2013-08-24 Thread Einar Rünkaru
On Fri, Aug 23, 2013 at 6:00 AM, Ned Haskin feanor2...@covad.net wrote:

 Thanks Einar,

 
  CinelerraCV-2.2 won't compile on my system  Why? What was the
 error?

 Package collisions, as it says in readme.build 'Some of them are part of
 every distribution
 (if they aren't in yours, change you distrib. Not joking):'

 The text in file is outdated, newer versions of libraries are accepted. So
you didn't try?


 I just got debian-7.1 wheezy going with the mate-desktop   don't feel
 like dealing with another distro or at least not right now.
 BTW what is the recommended system  is it the same for all 3 cv forks?


Should run on any modern linux distribution.



 
 
   the deb is unstable and crashes all the time.
 
  The CinelerraHV-4.4 deb is rock stable but x264 rendering
  output is crap  no yuvstream out
  or HD in.
 
  I suspect that self compiling does not help in these areas. Of course
  you can fix it - it is open source.

 I may not be able to fix it on my own. But I can patch and compile from
 source  get a usable version. With your help of course.
 Or I hope I can.

 The latest errors:

 make[5]: Entering directory
 `/home/ned17/cinelerra-4.4/quicktime/thirdparty/libvorbis-1.1.1/examples'
 make[5]: stat:
 /root/hvirtual/quicktime/thirdparty/libogg-1.1.2/include/ogg/ogg.h:
 Permission denied
 make[5]: stat:
 /root/hvirtual/quicktime/thirdparty/libogg-1.1.2/include/ogg/os_types.h:
 Permission denied
 make[5]: stat:
 /root/hvirtual/quicktime/thirdparty/libogg-1.1.2/include/ogg/config_types.h:
 Permission denied


Nothing system-wide should be installed under root. It is home directory ot
the root account. And of course user ned17
should not have permissions to anything under root.


Never compile anything as root.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Arvind R's CinelerraHV-4.4 patches from June

2013-08-23 Thread Einar Rünkaru
On Thu, Aug 22, 2013 at 5:50 PM, Ned Haskin feanor2...@covad.net wrote:

 Hi again,
 ned17@videoathlon:~/cinelerra-4.4$

 Any help would be greatly appreciated


Disable v4l. Newer kernels do not support it


 CinelerraCV-2.2 won't compile on my system


Why? What was the error?


  the deb is unstable and crashes all the time.



 The CinelerraHV-4.4 deb is rock stable but x264 rendering output is crap 
 no yuvstream out
 or HD in.


I suspect that self compiling does not help in these areas. Of course you
can fix it - it is open source.


Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Alive?

2013-08-08 Thread Einar Rünkaru
Hi


On Wed, Aug 7, 2013 at 3:15 PM, Frans de Boer fr...@fransdb.nl wrote:

 Dear Reader,

 I notice that the git has not been touched since September 24th, 2012. Are
 there plans to move forward or is Cinelerra 4.4 so much better that the CV
 version is not needed anymore?


We lack developers. Good patches find their way to git

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] cinelerra - embedded platforms

2013-07-24 Thread Einar Rünkaru
Hi.


On Sat, Jul 20, 2013 at 12:43 AM, Jose Alberto pepe.l...@gmail.com wrote:

 Hi,

 I am new to cinelerra and find it quite attractive. I would like to know
 if cinelerra can be ported to embedded platforms such as ARM / DSP
 processors?


Of course it can be ported if someone ports. IMHO gui should be fully
rewritten for the new platform - currently it uses X, Xv, OpenGl directly.


 I'm particularly interested in Video Stabilization, I'm aware of the
 motion plugin which contains estimation and compensation routines. What
 concerns me is the computational complexity of the code, making the plugin
 not suited for Real Time - embedded environments.


You may take Video Stabilation plugin (plugins/motion) and port it to your
platform. Getting input and doing something with the output can be written
from scratch.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] cinelerra - embedded platforms

2013-07-24 Thread Einar Rünkaru
On Tue, Jul 23, 2013 at 8:10 PM, Jose Alberto pepe.l...@gmail.com wrote:

 Hi Einar, thanks for the reply.

 Good to know that it can be ported to embedded environments, the design I
 would like to work on is Real-TIme based. My concern is mainly that
 cinelerra (motion plugin) works as post-processing tool, not as a real-time
 stabilization system (or I missed something??), i suppose that because
 cinelerra is a video compositor.


You can consider it as post-processing tool. 'Realtime effect' in cinelerra
can be used during editing. There are no efforts made to get work ready in
certain amout of time. Every plugin processes as long as it needs.


Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] problem with colormodel choice in integrating ffmpeg reader. - Solved

2013-07-07 Thread Einar Rünkaru
On Sat, Jul 6, 2013 at 2:59 AM, Arvind R arvin...@gmail.com wrote:

 On Fri, Jul 5, 2013 at 2:34 PM, Einar Rünkaru eina...@smail.ee wrote:
  Hi.
 
  Thank you for the patches. I shall look at them closely soon.
 
  Quick browsing showed that not all are related to ffmpeg.
 
  How about seeking? Does it work now?
 
 No, except to begining and end
  Decoder is useless for editing if there is no reiiable frame exact
 seeking.
 It's still useful - render .MTS file to YUV pipe and have ffmpeg
 encode it to DNXHD
 and the audio to .ac3 - combine them back again to really edit without
 losing quality. Am sending another patch fot the .ac3 encoder.

 It is impossible to cut out only useful parts for conversion if there is
no seeking. Why then load it to Cinelerra? One can convert it to an usable
format with command-line ffmpeg (or any other suitable tool).

Decoding, encoding with possible color conversion are all lossy.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Patch to get .ac3 encoding working

2013-07-07 Thread Einar Rünkaru
On Sat, Jul 6, 2013 at 3:09 AM, Arvind R arvin...@gmail.com wrote:

 Hi,

 am attaching a patch to get .ac3 audio encoding working in cinelerraCV.

 Only the bitrate can be set via the GUI - need to set sample_fmt,
 channel_layout, sample_rate - no idea how to integrate any gui with
 cinelerra. Problems with the concept of channel-layout as supported in
 libav in cinelerra. How to get the cinelerra internal sample-rate?

  edl-session-sample_rate

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] problem with colormodel choice in integrating ffmpeg reader. - Solved

2013-07-06 Thread Einar Rünkaru
Hi.

Thank you for the patches. I shall look at them closely soon.

Quick browsing showed that not all are related to ffmpeg.

How about seeking? Does it work now?

Decoder is useless for editing if there is no reiiable frame exact seeking.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Audio Problem

2013-07-06 Thread Einar Rünkaru
On Tue, Jul 2, 2013 at 9:26 AM, Austin T. Covey
acove...@austincollege.eduwrote:

 I'm having a problem getting sound out of any files I upload. Everything
 else with the program is working great, but I've tried everything I can
 find in forums and stuff and still can't seem to get the sound to work,
 though computer sound is fine with any other program so I know that is not
 the problem. Any help would be great as I am not the most computer-savvy
 person in the world.

 What do you upload? Where do you upload? How it is related to cinelerra-cv?

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] green project-duration-limiting-line - how to adjust ...

2013-04-19 Thread Einar Rünkaru
Hi.


On Thu, Apr 18, 2013 at 5:30 PM, WalterStoepfgeshoff w.stoepfgesh...@gmx.de
 wrote:

  Hello everyone,

 On Ubuntu-studio 12.04 Precise Pangolin, 64bit, I am running Cinelerra
 2.2cv.

 The duration-size of a project in Cinelerra is limited by a green vertikal
 line
 in the timeline, in my projects.
 This green line varies it's position, from project to project.
 I don't know why, what are the determining parameters.
 It was posible to create a project of more than 2 ours.
 An other time the project was limited througt this green line to 1:45 our.
 One time I could only finish the project, by splitting the hole project
 into
 two pices, and creating another couple of tracks where I filled in the
 second part.
 Both i rendered seperatedly and connected them on the console later.


 Now, all with a sudden I realize that my actual project ist limited to
 0:32:00.320 ours.
 32 minutes,but my project in fact has almost 2 ours.

 If I delete the ~.bcast-device  there is no green limiting line at all.

 I would like to learn what parameters determine the duration-size of a
 projekt by these green line.

 And, now when I scoll into the time-size, I have to realize this green
 line consists of two green lines close by another.
 The one at 0:32:00.00 the other at 0:32:00.360 .

 My Questions:
 1) What parameters determine these two green lines?
 2) How can I gain control over them, so that I can adjust it, for that my
 project
 fits in, what ever size it has.
 3) What ist the difference between the two green lines, and how can I
 adjust each one.


 best greetings

 Walter Stöpfgeshoff


 Seems you stuck the 'loop playback' feature. Shift+L toggles it.
Settings-Loop playback. Reading the manual is highliy recommended.

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Patch for more playback speeds into git?

2013-03-24 Thread Einar Rünkaru
Hi.

On Sat, Mar 23, 2013 at 1:26 PM, Johannes Mueller
joh...@users.sourceforge.net wrote:
 Hi,

 there is this patch around in the archives of this list:

 http://www.mail-archive.com/cinelerra@skolelinux.no/msg09196.html

 It introduces more playback speeds. I cleaned it up a bit and applied it to
 the current stable git rep code. It works nicely together with the Contact
 ShuttlePROv2 which has seven speed steps in both directions.


Can you post your cleaned up patch?

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Best suitable codec to work with cinelerra

2013-03-17 Thread Einar Rünkaru
Hi.

On Fri, Mar 15, 2013 at 11:44 PM, Johannes Mueller
joh...@users.sourceforge.net wrote:
 Hi,

 seems to be a quite difficult topic.

 I am looking for a best practice to do video editing on cinelerra. I am using
 a Panasonic X909 that gives me AVCHD files. According to mplayer the video
 codec is h264 and the audio codec is ac-3.

 As cinelerra-cv does not read MTS files I tried to convert them by

 avconv -i $SFN.MTS -vcodec copy -acodec copy $DFN.mov

 cinelerra is reading the file but when I drag it into the timeline it starts
 rendering the preview frames in the timeline. During that there is a bunch of
 error messages on the terminal:

 [h264 @ 0x7f104b6c4ae0]illegal short term buffer state detected

 at some point cinelerra crashes:
 [h264 @ 0x7f104b6c4ae0]Internal error, picture buffer overflow


 The only workaround I found so far is using dnxhd as video codec, which is
 bloating up my video files and takes a lot of time to produce.


 Also the ac-3 audio codec is causing problems if I convert the video to dnxhd:

 I get error messages like:
 new_acodec: couldn't find codec for AC-3

 and cinelerra won't stop playback until I terminate it.


 So what's the best video/audio codec for cinelerra and how do I get it.

 I am using cinelerra-cv-2.2 from the cinelerra-ppa repos on ubuntu 12.10. The
 same behaviour I get using cinelerra-cv from the stable git repo from
 cinelerra,org


 Any hints?

There is a quite limited number of formats usable with cinelerra.

Please read http://www.g-raffa.eu/Cinelerra/HOWTO/get_media_ready.html

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Chinese Unicode for cinelerra?

2013-03-13 Thread Einar Rünkaru
On Sun, Mar 10, 2013 at 8:09 PM, Shaun s...@tvlinux.org wrote:
 I have not found any new post to the group since 2007 about Chinese?  I
 check titler and I do not see Unicode UTF-8.

Patches welcome :)


 Also I posted a fix for crash after rendering
 check to make sure strl in not NULL

 avi_strl.c line 224

 void quicktime_delete_strl(quicktime_strl_t *strl)
 {
 if (strl) {
 quicktime_delete_indx(strl-indx);
 free(strl);
 }
 }


How did you trigger the crash?

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] Compiling Cinelerra with a different default font.

2013-01-21 Thread Einar Rünkaru
On Sat, Jan 19, 2013 at 9:49 PM, MGV-AV Linux i...@bandshed.net wrote:
 Hi,

 I have been compiling and packaging Cinelerra for a few years now in AV
 Linux, I noticed by default that Cinelerra seems to use 'Sans Bold' as the
 default font in it's interface. Recently I had a look a Ubuntu 12.04 and
 noticed that the PPA packages of Cinelerra have a 'lighter' and different
 default interface font that I actually prefer.

 Can anyone tell me where and how to configure the default font when
 compiling Cinelerra? Just curious...

Look at guicast/bcresources.C

Einar
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra


Re: [CinCV] [PATCH] New resampling engine must clamp alpha

2012-12-05 Thread Einar Rünkaru
Hi.

 Hi,

 As a user and packager of Cinelerra I'd really like to say thanks to you
 Monty (and Einar also of course) for the recent substantial bugfixes to
 Cinelerra. Although I'm not exactly a stranger to patching and compiling
 I'm a little confused about which branch to GIT clone to try some of these
 new features out and give feedback.

Use the official branch:

git clone git://git.cinelerra.org/CinelerraCV.git xiphtest
cd xiphtest
(copy the patches here)
git am 0001-Complete-new-overlay-engine-and-resampler-for-Cinele.patch
git am 0002-New-resampling-engine-must-clamp-alpha.patch
./autogen.sh
./configure
make
make install

 Is there a GIT branch with both Monty and Einar's recent fixes all
 included? Second to that are there enough fixes accumulated to put
 together a 2.3 release in the near future?

There are too few changes for a new release now.

My changes are not yet ready for a real use. Fixes that do not break
anything find some time their way to official branch.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Video/Audi sync problem. Can anyone please help?

2012-11-16 Thread Einar Rünkaru
On Fri, Nov 16, 2012 at 1:09 PM, Raffaella Traniello
raffaella.tranie...@g-raffa.eu wrote:
 Ciao!


 But what is most puzzling is that - and I repeat this once again - I
 created 4 parts of a series which are perfectly in sync, whether I
 play them in Cinelerra or any of the players, but this last one just
 won't sync once it hits Cinlelerra. Well, sorry, not quite correct: I
 can get it to sync in Cinelerra using the Nudge facility but when I
 render the file this nudge setting is absent and I get a mouth moving
 with the sound coming after the mouth has moved on to better things
 :-) .


 This is puzzling indeed.
 You treat all the 4 parts identically but the 4th one reacts differently.

 I have seen this odd behaviour only with MPEG2 files in Cinelerra and I've
 never found a solution.

 Which format/codec are the files you load in Cinelerra?

Cinelerra assumes that audio and video start at the sane time. In
mpeg2 video may start at t=0.6 and audio at 2.0. There are timstamps.
Cinelerra ignores the timestamps and assumes that both start at 0.
This meaans that audio and video are desynchronized 1.4 secs.

As of the nudge feature - I tested it and it worked for me.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Video/Audi sync problem. Can anyone please help?

2012-11-14 Thread Einar Rünkaru
Hi.

On Wed, Nov 14, 2012 at 8:03 AM, Basil Chupin blchu...@iinet.net.au wrote:
 On 14/11/12 06:53, Einar Rünkaru wrote:

 Hi.

 On Tue, Nov 13, 2012 at 2:43 PM, Basil Chupin blchu...@iinet.net.au wrote:


 OK, there is the facility to *nudge* the audio to sync with the video. But
 any nudging starts off on the wrong foot because the Audio Offset is
 operating and so while you think that the video and audio are in sync on the
 timeline the final render will be out of sync because the Audio Offset is
 ignored.

 If my understanding of things is as I just mentioned then the use of the
 Audio Offset is a waste of time and one should simply edit a file with Audio
 Offset = 0.000 and only use the Nudge facility to synchronise video/audio.

 Am I misunderstanding things?

There are systems where is certain delay in audio playback path. On
these systems Audio Offset is needed to compensate this delay. There
are systems where this copensation is not needed. The intended usage
of this setting is during setup of cinelerra.

Nudge is editing tool. User can use it to synchronize audio/video.
Cinelerra assumes that audio and video start exactly at the same time.
With digital video this assumption is not always true.

 I have looked at many tutorials on YouTube re Cinlelerra and I cannot see
 any of them covering this matter. (And the manual is more confusing than
 helpful in many instances - it seems that it was thrown together just for
 the sake of producing a manual to be read by someone who already knows all
 about Cinlelerra.)

Cinellerra is a powerful tool. Powerful tools are not simple to use.
Cinelerra is not very intuitive tool. The manual is quite good, at
leat it exists. I recommend to read the manual at least twice and
refer to it again during usage.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Video/Audi sync problem. Can anyone please help?

2012-11-13 Thread Einar Rünkaru
Hi.

On Tue, Nov 13, 2012 at 2:43 PM, Basil Chupin blchu...@iinet.net.au wrote:

 The video/audio is actually 1.4 seconds out and for which I have
 adjusted the Preferences but this setting doesn't seem to stick when the
 project is being rendered into a *.mov file.

The setting in preferences affects only playback in cinelerra. Use
nudge if there is syncronization error in rendered file.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Color handling

2012-11-07 Thread Einar Rünkaru
Hi

On Mon, Nov 5, 2012 at 7:55 PM, Monty Montgomery xiphm...@gmail.com wrote:

 Linear-space float RGB with black point at 0. and white point at 1.
 suits me fine, BTW.  It's conceptually the simplest/most correct
 option.  I'm just worried about practicality issues I'm too dumb see
 until I get there.


I like the idea.

As of 8 bit colospaces there is native clamping to 0..255.
My question are: what should happen if a result of an effect is out of
allowed 0..1. Should every plugin clamp its result? What should
happnen with possible results such as INF and NaN?

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Attempting Build on Ubuntu 12.04 with external ffmpeg

2012-11-06 Thread Einar Rünkaru
Hi.

On Tue, Nov 6, 2012 at 3:34 AM, Tom Judge tvju...@gmail.com wrote:
 If anyone can assist me with this error (2) trying to build cinelerra usiong 
 external ffmpeg



 see error below and thanks :0:0:0

  2 -MT qtffmpeg.lo -MD -MP -MF .deps/qtffmpeg.Tpo -c qtffmpeg.c -o 
 .libs/qtffmpeg.o
 qtffmpeg.c: In function 'quicktime_new_ffmpeg':
 qtffmpeg.c:71:3: warning: 'avcodec_alloc_context' is deprecated (declared at 
 /usr/local/include/libavcodec/avcodec.h:3485) [-Wdeprecated-declarations]
 qtffmpeg.c:94:26: error: 'CODEC_FLAG_H263P_SLICE_STRUCT' undeclared (first 
 use in this function)
 qtffmpeg.c:94:26: note: each undeclared identifier is reported only once for 
 each function it appears in
 qtffmpeg.c:99:3: warning: 'avcodec_open' is deprecated (declared at 
 /usr/local/include/libavcodec/avcodec.h:3631) [-Wdeprecated-declarations]
 make[3]: *** [qtffmpeg.lo] Error 1
 make[3]: Leaving directory `/home/judget/cinelerra-cv/quicktime'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/judget/cinelerra-cv/quicktime'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/judget/cinelerra-cv'
 make: *** [all] Error 2
 judget@tjlaptop:~/cinelerra-cv$ ^C



I do not recommend to compile cinelerra with external ffmpeg.

There have been a fork of ffmpeg and I don't know how we can keep up
with mix of distributions and forks.

Of course patches are always welcome.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Cinelerra Build for Ubuntu 12.10

2012-11-06 Thread Einar Rünkaru
On Tue, Nov 6, 2012 at 4:17 AM, Tom Judge tvju...@gmail.com wrote:
 I also tried to do a build without usiong the external ffmpeg and that make 
 went thruough without errors but the make install had the following errors
 so now I have no cinelerra on my ubuntu 12.10 at all :(

 libtool: relink: gcc -shared  -fPIC -DPIC  .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/sowt.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  
 -L../quicktime/ffmpeg/libavcodec -lavcodec-cinelerra 
 -L../quicktime/ffmpeg/libavutil -lavutil-cinelerra -L/usr/lib/i386-linux-gnu 
 -lvorbisenc -lvorbisfile -lvorbis -ltheora -logg /usr/local/lib/libmp3lame.a 
 -lfaad -lfaac -L/usr/local/lib -lmpeg3hv -lx264 -ldv -ljpeg -lpng -lz -lm 
 -ldl -lpthread  -O2 -Wl,--no-undefined   -Wl,-soname 
 -Wl,libquicktimehv-1.6.0.so.1 -o .libs/libquicktimehv-1.6.0.so.1.0.0
 .libs/qth264.o: In function `encode':
 /home/judget/cinelerra-cv/quicktime/qth264.c:158: undefined reference to 
 `x264_encoder_open_128'
 collect2: error: 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/judget/cinelerra-cv/quicktime'
 make[2]: *** [install-am] Error 2
 make[2]: Leaving directory `/home/judget/cinelerra-cv/quicktime'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/home/judget/cinelerra-cv/quicktime'
 make: *** [install-recursive] Error 1
 judget@tjlaptop:~/cinelerra-cv$


The versions of x264 header on your system and installed library are
different. The versions must match exactly.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Many fixes

2012-10-08 Thread Einar Rünkaru
On Sun, Oct 7, 2012 at 9:08 PM, Raffaella Traniello
raffaella.tranie...@g-raffa.eu wrote:
 Ciao!

 Einar, I've seen you pushed a lot of stuff recently.
 Nice! :-)

 Do you think we should make a call for testers?

No need. Simple, standalone fixes. Hopefully no side effcts.

According to feedback in ML these changes have enough testing.


 Ciao!
 Raffaella

 PS: Today was the first sunday of the month but there was no-one active on
 IRC.

No activity several months already...

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Fixed interpolation in Brightness/Contrast video plugin

2012-10-07 Thread Einar Rünkaru
On Tue, Sep 11, 2012 at 7:04 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi.

 Do not interpolate on-off-switches.

 Patch is attached

 Einar

Applied  pushed.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Added check of nasm in configure.in

2012-10-07 Thread Einar Rünkaru
On Tue, Sep 11, 2012 at 7:06 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 Exit configure if nasm is not found

 Patch is attached


Applied  pushed.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] FileSystem::update: ignore silently files that cannot be stated

2012-10-07 Thread Einar Rünkaru
On Tue, Sep 11, 2012 at 8:42 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi.

 Permits to browse directories containing files that
 can not be stated for some reason.

Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Fixed colormode conversion in quicktime/cmodel_yuv420p

2012-10-07 Thread Einar Rünkaru
On Thu, Sep 13, 2012 at 8:30 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 The incrementation of output pointer did not work
 Moved incrementation out of transfer_YUV_PLANAR_to_RGBx_FLOAT
 Tested only conversion yuv420p to rgb{a}-float



Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Fixed confusion with colormodels

2012-10-07 Thread Einar Rünkaru
On Thu, Sep 20, 2012 at 9:40 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi.

 Frame colormodels are defined by BC_* constants,
 libmpeg3 by MPEG3_* constants
 Added methods for converting between colormodels.


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH 1/2] Fixed color conversion macros in libmpeg3

2012-10-07 Thread Einar Rünkaru
On Thu, Sep 20, 2012 at 9:28 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 A-component should be pixel maximum


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Fixed colormode conversion in quicktime/cmodel_float

2012-10-07 Thread Einar Rünkaru
On Thu, Sep 13, 2012 at 8:50 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi.

 Pointer to float was not incremented properly


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH v2] Fix shm usage in guicast/bccapture.C

2012-10-07 Thread Einar Rünkaru
On Mon, Sep 24, 2012 at 6:23 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 Fixed version of the patch.

 Shared memory should not be world readable.
 Valid shmid can be negative, error is indicated with return value -1.


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Fix shm usage in guicast/bcbitmap.C

2012-10-07 Thread Einar Rünkaru
On Sun, Sep 23, 2012 at 5:26 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi.

 Shared memory should not be world readable.
 Valid shmid can be negative, error is indicated with return value -1.


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] Re: [PATCH] Redesign of BC_Resources::init_shm

2012-10-07 Thread Einar Rünkaru
On Sun, Sep 23, 2012 at 5:22 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 Corrected testing of XShm extension
 Added check of return values of relevant functions,
 changed permissions of shm segment to 0600.


Applied  pushed

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] CinCV 2.2: No sound in playback

2012-09-25 Thread Einar Rünkaru
On Tue, Sep 25, 2012 at 10:57 AM,  user...@gmx.net wrote:
 Hi Einar,
 yes, it is the same problem as at  http://irclog.cinelerra.org/2012/9/23 at 
 18:30.
 I had tried to get help on that day via IRC.

 Here is the output of aplay -l
  List of PLAYBACK Hardware Devices 
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

ok - seems normal

You did not answer the question:
 What is the Alsa device in Cinelerra playback preferences?

According to irclog you have a problem with your home directory:
DellA also this : pulseaudio[1618]: [pulseaudio] authkey.c: Failed
to load authorization key '/etc/timidity/.pulse-cookie': No such file
or directory
18:45:04DellA and this: pulseaudio[1618]: [autospawn] core-util.c:
Home directory /etc/timidity not ours.

Something points to wrong place. Home directory should not be in /etc,
normally it is under /home

What is the output of  'echo $HOME' ? The pointer to home should be
fixed first of all.

Next queston: what type of file you try to play with cinelerra?
Cinelerra decoding may silently fail - symptoms: black video, silence
in audio. Decoding may fail independently (video is decoded audio
not). Look at http://www.g-raffa.eu/Cinelerra/HOWTO/get_media_ready.html
Standard PAL DV or VOB should work.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] [PATCH] Fix shm usage in guicast/bccapture.C

2012-09-24 Thread Einar Rünkaru
On Mon, Sep 24, 2012 at 12:13 PM, Burkhard Plaum
pl...@ipf.uni-stuttgart.de wrote:
 Hi,

 Am 23.09.2012 16:28, schrieb Einar Rünkaru:

 Hi.

 hared memory should not be world readable.
 Valid shmid can be negative, error is indicated with return value -1.


 If that's the case, this line is probably wrong:

 +   if(shm_info.shmid == 1)

 Burkhard

Yes, you are right. Thank you. Will send corrected patch out soon.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] CinCV 2.2: No sound in playback

2012-09-24 Thread Einar Rünkaru
Hi.

On Mon, Sep 24, 2012 at 4:34 PM,  user...@gmx.net wrote:
 Hi,
 I am new to Cinelerra and would like to get the audio working. I installed it 
 to 3 different computers, two running DreamStudio 12.04 where CinCV 2.2 was 
 part of the operating system installation DVD and the 3rd PC running Xubuntu 
 12.04.
 Audio does not work in CinCV on neither PC, but audio does work in other 
 programs on the PCs, like when I am playing back music or videos in OpenShot 
 i.e.
 I am using the German GUI of CinCV and in Prefenreces(Einstellungen) - 
 Playback tab(Wiedergabe) I can see that the audio driver is set to Alsa and 
 16bit linear. Unfortunately there is no sound coming out of the 
 speakers/headphones.
 I tried to set the driver to OSS or ESound but it did not work either.
 When I playback a video in CinCV and simualtenously watch the Applications 
 tab of the Audio volume control (in which I can set the general volume for 
 all programs etc.) I see a big red cross on the left side and to the right of 
 it the words Alsa-Plugin (cinelerra), telling me that something does not 
 work with the Alsa-Plugin.
 How can I fix the problem or narrow it down?

 Any ideas?

is this the same problem described
http://irclog.cinelerra.org/2012/9/23 at 18:30?

What is the Alsa device in Cinelerra playback preferences?

Can you send the output of 'aplay -l'?

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH v2] Fix shm usage in guicast/bccapture.C

2012-09-24 Thread Einar Rünkaru
Hi

Fixed version of the patch.

Shared memory should not be world readable.
Valid shmid can be negative, error is indicated with return value -1.

Einar


0001-Fix-shm-usage-in-guicast-bccapture.C.patch
Description: Binary data


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-23 Thread Einar Rünkaru
On Sat, Sep 22, 2012 at 12:15 PM, Einar Rünkaru eina...@smail.ee wrote:
 On Sat, Sep 22, 2012 at 4:13 AM, Edouard Chalaron e.chala...@xtra.co.nz 
 wrote:
 Hi Einar

 Thanks it works but bumps into the next one. Florent and I have been through
 a couple of them then we gave up :-)

 So next one is invertvideo then SVG after I am not sure.

 make[2]: Entering directory `/home/edouard/EINAR/po'
 make cinelerra.pot-update
 make[3]: Entering directory `/home/edouard/EINAR/po'
 make[3]: *** No rule to make target `../plugins/invertvideo/invert.C',
 needed by `cinelerra.pot-update'.  Stop.

 make[3]: Leaving directory `/home/edouard/EINAR/po'
 make[2]:

 Hmm. plugins/invertvideo/invert.C should be there. svg is removed and
 commented out in POTFILES.in (this was the problem).

 On such errors (messages in '/home/edouard/EINAR/po'), you can comment
 out respective line in po/POTFILES.in.

 I shall investigate this problem tomorrow.


I tested compilation. I am out of ideas.

For me the next commands worked:

git clone git://git.cinelerra.org/einar/cinelerra.git wtest
cd wtest
./autogen.sh
./configure
make

Compilation reached to end without errors.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH] Redesign of BC_Resources::init_shm

2012-09-23 Thread Einar Rünkaru
Hi

Corrected testing of XShm extension
Added check of return values of relevant functions,
changed permissions of shm segment to 0600.

Patch attached.

Einar


0001-Redesign-of-BC_Resources-init_shm.patch
Description: Binary data


[CinCV] [PATCH] Fix shm usage in guicast/bcbitmap.C

2012-09-23 Thread Einar Rünkaru
Hi.

Shared memory should not be world readable.
Valid shmid can be negative, error is indicated with return value -1.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH] Fix shm usage in guicast/bcbitmap.C

2012-09-23 Thread Einar Rünkaru
Hi.

Shared memory should not be world readable.
Valid shmid can be negative, error is indicated with return value -1.

Second try. The patch itself is now attached too.

Einar


0002-Fix-shm-usage-in-guicast-bcbitmap.C.patch
Description: Binary data


[CinCV] [PATCH] Fix shm usage in guicast/bccapture.C

2012-09-23 Thread Einar Rünkaru
Hi.

hared memory should not be world readable.
Valid shmid can be negative, error is indicated with return value -1.

Patch is attached.

Einar


0003-Fix-shm-usage-in-guicast-bccapture.C.patch
Description: Binary data


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-22 Thread Einar Rünkaru
On Sat, Sep 22, 2012 at 4:13 AM, Edouard Chalaron e.chala...@xtra.co.nz wrote:
 Hi Einar

 Thanks it works but bumps into the next one. Florent and I have been through
 a couple of them then we gave up :-)

 So next one is invertvideo then SVG after I am not sure.

 make[2]: Entering directory `/home/edouard/EINAR/po'
 make cinelerra.pot-update
 make[3]: Entering directory `/home/edouard/EINAR/po'
 make[3]: *** No rule to make target `../plugins/invertvideo/invert.C',
 needed by `cinelerra.pot-update'.  Stop.

 make[3]: Leaving directory `/home/edouard/EINAR/po'
 make[2]:

Hmm. plugins/invertvideo/invert.C should be there. svg is removed and
commented out in POTFILES.in (this was the problem).

On such errors (messages in '/home/edouard/EINAR/po'), you can comment
out respective line in po/POTFILES.in.

I shall investigate this problem tomorrow.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-21 Thread Einar Rünkaru
On Fri, Sep 21, 2012 at 2:45 AM, E Chalaron e.chala...@xtra.co.nz wrote:
 Hello Einar
 Trying to compile your version but got stopped  on the make.

 Making all in po
 make[2]: Entering directory `/home/edouard/EINAR/po'
 make cinelerra.pot-update
 make[3]: Entering directory `/home/edouard/EINAR/po'
 make[3]: *** No rule to make target `../cinelerra/filevorbis.C', needed
 by `cinelerra.pot-update'.  Stop.
 make[3]: Leaving directory `/home/edouard/EINAR/po'
 make[2]: *** [cinelerra.pot] Error 2
 make[2]: Leaving directory `/home/edouard/EINAR/po'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/edouard/EINAR'
 make: *** [all] Error 2
 edouard@manawatu:~/EINAR

 Though I have the devel files on my system.
 Any hint ? :-)

 Many thanks


The message means that '../cinelerra/filevorbis.C' is missing. But it
must be there!

Remove the build tree and try to clone again. According to irclog
there was some problem with the server around 20.00 UTC yesterday.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-21 Thread Einar Rünkaru
Hi

On Fri, Sep 21, 2012 at 10:16 AM, Einar Rünkaru eina...@smail.ee wrote:
 On Fri, Sep 21, 2012 at 2:45 AM, E Chalaron e.chala...@xtra.co.nz wrote:
 Hello Einar
 Trying to compile your version but got stopped  on the make.

 Making all in po
 make[2]: Entering directory `/home/edouard/EINAR/po'
 make cinelerra.pot-update
 make[3]: Entering directory `/home/edouard/EINAR/po'
 make[3]: *** No rule to make target `../cinelerra/filevorbis.C', needed
 by `cinelerra.pot-update'.  Stop.
 make[3]: Leaving directory `/home/edouard/EINAR/po'
 make[2]: *** [cinelerra.pot] Error 2
 make[2]: Leaving directory `/home/edouard/EINAR/po'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/edouard/EINAR'
 make: *** [all] Error 2
 edouard@manawatu:~/EINAR

 Though I have the devel files on my system.
 Any hint ? :-)

 Many thanks


 The message means that '../cinelerra/filevorbis.C' is missing. But it
 must be there!

 Remove the build tree and try to clone again. According to irclog
 there was some problem with the server around 20.00 UTC yesterday.


No, it was my mistake. I forgot to update po directory after removing
some files (e.g. filevorbis.C)

The error is fixed now. Just do 'git pull' and it should be possible
to continue compiling.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH 1/2] Fixed color conversion macros in libmpeg3

2012-09-20 Thread Einar Rünkaru
Hi

A-component should be pixel maximum

Patch attached

Einar


0001-Fixed-color-conversion-macros-in-libmpeg3.patch
Description: Binary data


[CinCV] [PATCH] Fixed confusion with colormodels

2012-09-20 Thread Einar Rünkaru
Hi.

Frame colormodels are defined by BC_* constants,
libmpeg3 by MPEG3_* constants
Added methods for converting between colormodels.

Einar


0002-Fixed-confusion-with-colormodels.patch
Description: Binary data


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-14 Thread Einar Rünkaru
On Fri, Sep 14, 2012 at 12:21 AM, E Chalaron e.chala...@xtra.co.nz wrote:
 Hello Einar

 Many thanks for your input on the C41.
 Can you let us know why our pow function is not working for you (what it
 is not doing ?)

myPow(0.5, 0.5) gives 1060446488.5000, correct is 0.7071

I investigated a bit more and found that myPow does not survive optimizations.
I compile with -O3 (according to the manual), but this breaks myPow.

I told gcc not to optimize myPow2 and myLog2, and they give usable results.

Fix is pushed to my git branch.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] [PATCH] Checking existence for nasm

2012-09-13 Thread Einar Rünkaru
Hi

Thank you for the patch.

But a couple of days ago I sent a similar patch to the ML
(http://article.gmane.org/gmane.comp.video.cinelerra-cv.general/13752)

On Thu, Sep 13, 2012 at 10:38 AM, Jehan Pagès
jehan.marmott...@gmail.com wrote:
 Hi,

 the nasm assembly compiler is apparently mandatory for cinderella compilation.
 It seems that normally this can be advantageously replaced by the C

No it is impossible. nasm and gcc have different syntax

 compiler (probably a default choice of the autotools?) but that
 behaviour has been apparently overwritten by Cinelerra developers to
 force using the nasm compiler for .s files only.

 See the perl script admin/nasm and configure.in line 30:
 --
 # hack for using nasm for .S files
 CCAS=\$(top_srcdir)/admin/nasm
 AC_SUBST(CCAS)
 AC_SUBST(CCASFLAGS)
 --

 I am not questioning this, I have no idea of the reason and if it is
 still valid, but I guess there was one. Simply it makes that nasm is
 mandatory for compiling cinderella as there are assembly files in
 mpeg2enc/ and libmpeg3/ (not seen any option for these to be
 optional?). But the configure script would still pass with success,
 yet the compilation would fail.

 --
 [...]
 /bin/sh ../libtool --tag=CC   --mode=compile ../admin/nasm  -g -O2 -c
 -o predcomp_mmxe.lo predcomp_mmxe.s
 libtool: compile:  ../admin/nasm -g -O2 -c predcomp_mmxe.s  -fPIC
 -DPIC -o .libs/predcomp_mmxe.o
 \1 better written as $1 at ../admin/nasm line 12.
 nasm -felf predcomp_mmxe.s -o .libs/predcomp_mmxe.o
 Can't exec nasm: No such file or directory at ../admin/nasm line 24.
 /bin/sh ../libtool --tag=CC   --mode=compile ../admin/nasm  -g -O2 -c
 -o predcomp_mmx.lo predcomp_mmx.s
 libtool: compile:  ../admin/nasm -g -O2 -c predcomp_mmx.s  -fPIC -DPIC
 -o .libs/predcomp_mmx.o
 \1 better written as $1 at ../admin/nasm line 12.
 nasm -felf predcomp_mmx.s -o .libs/predcomp_mmx.o
 Can't exec nasm: No such file or directory at ../admin/nasm line 24.
 /bin/sh ../libtool --tag=CC --tag=CC   --mode=link gcc
 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g
 -O2   -o libmpeg2enc.la  conform.lo mpeg2enc.lo putseq.lo putpic.lo
 puthdr.lo putmpg.lo putvlc.lo putbits.lo predict.lo readpic.lo
 writepic.lo transfrm.lo fdctref.lo idct.lo quantize.lo ratectl.lo
 stats.lo motion.lo cpu_accel.lo fdct_mmx.lo fdctdata.lo idct_mmx.lo
 idctdata.lo quant_mmx.lo quantize_x86.lo predict_mmx.lo
 predcomp_mmxe.lo predcomp_mmx.lo  -lm -ldl -lpthread
 libtool: link: ar cru .libs/libmpeg2enc.a .libs/conform.o
 .libs/mpeg2enc.o .libs/putseq.o .libs/putpic.o .libs/puthdr.o
 .libs/putmpg.o .libs/putvlc.o .libs/putbits.o .libs/predict.o
 .libs/readpic.o .libs/writepic.o .libs/transfrm.o .libs/fdctref.o
 .libs/idct.o .libs/quantize.o .libs/ratectl.o .libs/stats.o
 .libs/motion.o .libs/cpu_accel.o .libs/fdct_mmx.o .libs/fdctdata.o
 .libs/idct_mmx.o .libs/idctdata.o .libs/quant_mmx.o
 .libs/quantize_x86.o .libs/predict_mmx.o .libs/predcomp_mmxe.o
 .libs/predcomp_mmx.o
 ar: .libs/fdct_mmx.o: No such file or directory
 make[2]: *** [libmpeg2enc.la] Erreur 1
 [...]
 --

The reason here is that you have tried to compile cinelerra without
nasm. From this point make can't continue. You have to make clean
before remake

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-09-13 Thread Einar Rünkaru
Hi

I found a couple of more samples and hacked a bit with C41 plugin

The results are in my experimental branch
http://git.cinelerra.org/gitweb?p=einar/cinelerra.git;a=summary

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH] Fixed colormode conversion in quicktime/cmodel_yuv420p

2012-09-13 Thread Einar Rünkaru
Hi

The incrementation of output pointer did not work
Moved incrementation out of transfer_YUV_PLANAR_to_RGBx_FLOAT
Tested only conversion yuv420p to rgb{a}-float


Patch attached.

Einar


0001-Fixed-colormode-conversion-in-quicktime-cmodel_yuv42.patch
Description: Binary data


[CinCV] [PATCH] Fixed colormode conversion in quicktime/cmodel_float

2012-09-13 Thread Einar Rünkaru
Hi.

Pointer to float was not incremented properly

Patch attached.

Einar


0001-Fixed-colormode-conversion-in-quicktime-cmodel_float.patch
Description: Binary data


[CinCV] [PATCH] Fixed interpolation in Brightness/Contrast video plugin

2012-09-11 Thread Einar Rünkaru
Hi.

Do not interpolate on-off-switches.

Patch is attached

Einar


0001-Fixed-interpolation-in-Brightness-Contrast-video-plu.patch
Description: Binary data


[CinCV] [PATCH] Added check of nasm in configure.in

2012-09-11 Thread Einar Rünkaru
Hi

Exit configure if nasm is not found

Patch is attached

Einar


0002-Added-check-of-nasm-in-configure.in.patch
Description: Binary data


Re: [CinCV] [PATCH] Added check of nasm in configure.in

2012-09-11 Thread Einar Rünkaru
On Tue, Sep 11, 2012 at 7:19 PM, Rafael Diniz raf...@riseup.net wrote:
 What branch are you people commiting these changes?

Official repo, master branch. Will be pushed later.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] [PATCH] FileSystem::update: ignore silently files that cannot be stated

2012-09-11 Thread Einar Rünkaru
Hi.

Permits to browse directories containing files that
can not be stated for some reason.

Patch attached.

Einar


0001-FileSystem-update-ignore-silently-files-that-cannot-.patch
Description: Binary data


Re: [CinCV] Setup Issue FileSystem::update

2012-08-28 Thread Einar Rünkaru
Hi.

On Tue, Aug 28, 2012 at 5:27 AM, Joshua Brickel
joshua.bric...@gmail.com wrote:
 Hi Folks,

 I had a problem setting up Cinerella under Linux, Debian, Wheezy, Kernel
 3.2.0-3-amd64.

 Firstly I had a symbolic link to an already existing file pictures under
 my user account.

 Starting Cinerella initially was fine, but when I tried to record
 (File--Record) in Cinerella it crashed...

Recording is broken. It may work with certain devices and with certain
parameters.

 and reported as the first line of a
 bunch of messages:

 FileSystem::update /home/joshua/pictures: No such file or directory

 Figuring this was a problem because pictures was actually a symbolic link, I
 changed the symbolic link to a new name and then created a directory
 /home/joshua/pictures

 But when I then tried to run Cinerella, it still crashed when I clicked
 under File--Record with the name of the new symbolic link, the new symbolic
 link seemed to cause the same issue:

 FileSystem::update /home/joshua/picture_frame: No such file or directory

 (picture_frame being the new symbolic link name).

What are you trying to achieve with symlinks? Does it point to an ordinary file?

Cinelerra tries to stat the file and gets error.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] A cinelerra problem and a question.

2012-08-28 Thread Einar Rünkaru
Hi

On Fri, Aug 24, 2012 at 10:00 PM, Alan alangp...@btinternet.com wrote:
 Hello, I do hope I am in the right place.

 I am getting along quite well with Cinelerra now and with Grandmas
 help and a couple of groups of strange utube tutorials progress is being
 made Some days things crash others screens do their own thing but
 mainly it works and is fun.

 Question one.

 I dont understand this bit. I load video and audio and edit it. I play
 it back viewing in the Compositer window and it all works as expected.
 However I notice on the main screen the 2 audio time lines often only
 show the sound for part of the video with section of blank audio on the
 time line even though there must be audio as I can hear it! This will
 cause a problem if I need to make changes in the blank section.

Try to rebuild index of the source file: Resources-Media-{Right
click on file}-rebuild index

 Question two.

 I move the main screen with the time lines to the bottom of the screen,I
 click on the word FILE. This brings a pop up menu in three parts. The
 lowest section has a list of files. I cant delete these and the list is
 growing as I work on different projects. once Rendered I remove all
 traces of DVgrabbed, XML and other stuff from the pc but there doesnt
 seem to be a way of clearing this list.

The recent files list is limited to 10 items, older will get lost automatically.

 Question three.

 When I fade out video or audio using Keyframe points and go to the Word
 Keyframes and click Straighten curves they do not appear to straighten.

I am not sure what it is supposed to do. Can't help here.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Re: [PATCH] C41 Plugin

2012-08-13 Thread Einar Rünkaru
Hi

On Wed, Mar 7, 2012 at 9:24 PM, Einar Rünkaru eina...@smail.ee wrote:
 Hi

 On Tue, Mar 6, 2012 at 10:39 PM, Florent Delannoy
 florent.delan...@gmail.com wrote:
 Hello Einar,

 Sorry about taking so long to integrate your feedback. The amended code is
 v0.2 ob GitHub.


Pushed C41 to plugin_C41 branch on official git tree.

IMHO this is a useful plugin, though I was unable to get it work.

Quick test and code browsing revealed problems:

- the only sample I have
(https://sites.google.com/site/negfix/downloads/test.tif)
didn't pass (all calculated coeficents are 0 or nan)
- seems that calculated values do not reach the gui (There are two instances
of plugin running: one for applying effect and another for gui. To update
the gui in realtime send_render_gui/render_gui with data must be used);

In the future RGBA_FLOAT should be supported too.

Patches for the plugin are expected to this ML.

Sorry for the delay

Einar

Of course we are expecting patches for the rest of Cinelerra too.

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Dark / contrasted prepared MJPEG videos

2012-07-17 Thread Einar Rünkaru
Hi.

Just information: there was a dicussion about similar problem:

https://lists.ffmpeg.org/pipermail/ffmpeg-user/2012-July/007780.html

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Audio transition bug + copy bug

2012-07-06 Thread Einar Rünkaru
Hi!

On Thu, Jul 5, 2012 at 2:32 PM, Raffaella Traniello
goo...@cortiaponte.it wrote:
 Ciao!

 Occasionally I encounter a strange behaviour in audio transitions: the audio
 mixed in from the clips is wrong.

 I suspect this happens once in a while when the transition links a clip and
 a silence.

 Sometimes I can hear it during playback (I think closing a reopening
 Cinelerra fixes it) but sometimes it's a nasty surprise I get in the
 rendering.
 And this is *very* nasty for long project close to the deadline.

Playback is approximation of the real result. Cinelerra has a lot of
things to do while playing back and there are some cutting of corners
to be able to play back in realtime. The real truth is the rendered
result.


 Example:
 https://vimeo.com/44184498
 At minute 7.00 - 7.05 there are two unwanted voices coming from
 who-knows-where just in the points of the audio transitions.
 See project timeline:
 http://www.g-raffa.eu/Pastebin/Screenshot.png
 The cursor is around the first unwanted voice.
 Playback before rendering was OK.
 Playback now is OK and rendering too.

 My gut feeling is that the problem is in wrong storage of temporary data.
 Closing a reopening Cinelerra fixes that. Maybe also adding a new transition
 or playing back another one fixes that.

Seems that you try to crossfade nothing with your audio. Seems that
nothing is not always silence - this is the bug.

Use Fader like you have used around 7:24. I hear there some wrong
noise too - I think because of the first crossfade.

 The same feeling I have for the bug I encounter when copying selections from
 a project to another. I select and copy or cut clip A from a project and
 then paste the selection A to another project. Everything goes well till the
 time when Cinelerra start pasting the last same selection D, ignoring new
 copy E.

I cant say anything about copy/paste - never looked into it.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Fade to silence bug solved?

2012-07-05 Thread Einar Rünkaru
Hi

On Thu, Jul 5, 2012 at 1:04 AM, Raffaella Traniello
raffaella.tranie...@g-raffa.eu wrote:
 Ciao!

 I think this bug (still active) has been fixed by Einar.
 http://bugs.cinelerra.org/ticket/326
 Is that correct?

Shold be fixed (commit:fb25a311)

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] cinelerra problem with stability

2012-05-10 Thread Einar Rünkaru
Hi, raffaele

On Thu, May 10, 2012 at 12:42 PM, raffaele serafini
raffaeleseraf...@gmail.com wrote:
 I installed cinelerra on my pc
 I have ubuntu 11.10
 I followed these instructions:

 sudo add-apt-repository ppa:cinelerra-ppa/ppa
 sudo apt-get update
 sudo apt-get install cinelerra

 that is all I did. When I try to use it it turns off by itself and give me
 messages such as the screenshot I attached
 I do not know what to do. I am not very expert of Linux, I just abandoned
 window and mac to start a new life. Help me.


Cinelerra is not simple tool to use. All new users, please read the
manual and Cinelerra for grandma
(http://www.g-raffa.eu/Cinelerra/HOWTO/index.html).

Cinellerra does not load all media formats, please consult:
http://www.g-raffa.eu/Cinelerra/HOWTO/get_media_ready.html

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Very Slow Rendering With Brightness Contrast Filter

2012-05-08 Thread Einar Rünkaru
On Mon, May 7, 2012 at 6:02 PM, AV Linux i...@bandshed.net wrote:
 Thanks for the response Einar,

 To be clear, I wasn't surprised that the filter added time to the
 rendering... of course more calculations = more time. I was just surprised
 that it doubled the amount of rendering time when adding similar effects
 in other NLE's (Kdenlive) did not seem to have such a pronounced effect on
 rendering  speed. Obviously Cinelerra is using different algorithms for
 its filters which explain the difference I suppose.

As I thought more about this problem, the rendering time should not
double. Encoding/decoding have a lot more work to do. With or without
plugin adds some overhead per frame too. As a whole Cinelerra is not
optimized for speed - some enchancements can be done. I look at this
some time in the future.

 Thanks for your answer and development work on Cinelerra, 2.2CV is by far
 the most reliable version I have ever used.

Thank you.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Very Slow Rendering With Brightness Contrast Filter

2012-05-07 Thread Einar Rünkaru
On Mon, May 7, 2012 at 12:08 AM, AV Linux i...@bandshed.net wrote:
 Hi,

 I'm working on an HD project (1280x720p) and am using the ffmpeg pipe to
 render to H.264 Video. I've done this quite often and find the Rendering
 Speed is acceptable for my hardware. On this particular project I'm using
 the Brightness Contrast filter and although the playback in the Compositor
 Window doesn't seem to be slowed down by the presence of the filter the
 Rendering is taking at least double the time.

 Is this to be expected? Are the filters multithreaded or not? Just Curious...

Of course it is expeted. There is about 3 million additional
calculations done one every frame.

Most of the filters are multithreaded including the Brightness Contrast.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Compile fails on Suse / mmx

2012-04-30 Thread Einar Rünkaru
Hi.

On Mon, Apr 30, 2012 at 12:46 AM, E Chalaron e.chala...@xtra.co.nz wrote:
 Hello There


 I am still struggling to get CV compiled on OpenSuse.
 I tried on a Ubuntu machine ti works without any problem.

 So, my first guess is : there is a lib problem somewhere. But can't put my
 finger on it.

 Configure works fine, all ok and ready to compile.
 Until I reach


 /bin/sh ../libtool --tag=CC --tag=CC   --mode=link gcc -D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   -o libmpeg2enc.la
  conform.lo mpeg2enc.lo putseq.lo putpic.lo puthdr.lo putmpg.lo putvlc.lo
 putbits.lo predict.lo readpic.lo writepic.lo transfrm.lo fdctref.lo idct.lo
 quantize.lo ratectl.lo stats.lo motion.lo cpu_accel.lo fdct_mmx.lo
 fdctdata.lo idct_mmx.lo idctdata.lo quant_mmx.lo quantize_x86.lo
 predict_mmx.lo predcomp_mmxe.lo predcomp_mmx.lo  -lm -ldl -lpthread
 libtool: link: ar cru .libs/libmpeg2enc.a .libs/conform.o .libs/mpeg2enc.o
 .libs/putseq.o .libs/putpic.o .libs/puthdr.o .libs/putmpg.o .libs/putvlc.o
 .libs/putbits.o .libs/predict.o .libs/readpic.o .libs/writepic.o
 .libs/transfrm.o .libs/fdctref.o .libs/idct.o .libs/quantize.o
 .libs/ratectl.o .libs/stats.o .libs/motion.o .libs/cpu_accel.o
 .libs/fdct_mmx.o .libs/fdctdata.o .libs/idct_mmx.o .libs/idctdata.o
 .libs/quant_mmx.o .libs/quantize_x86.o .libs/predict_mmx.o
 .libs/predcomp_mmxe.o .libs/predcomp_mmx.o
 ar: .libs/fdct_mmx.o: No such file or directory
 make[2]: *** [libmpeg2enc.la] Error 1
 make[2]: Leaving directory `/home/edouard/Downloads/my_cinelerra/mpeg2enc'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/edouard/Downloads/my_cinelerra'
 make: *** [all] Error 2

 However by using --disable-mmx the lot is working fine.

 Can someone tells me why there is such a difference between an Ubuntu distro
 and Suse.
 Not That i want to be an at all cost pro Opensuse but it seems to me to be
 a significant issue and who knows about the consequences down the line.


This is a problem of the build system of Cinelerra. It has been
discussed in thread:
http://www.mail-archive.com/cinelerra@skolelinux.no/msg13347.html

Shortly: after you have installed nasm you should do 'make clean'.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Mac OSX

2012-04-13 Thread Einar Rünkaru
On Fri, Apr 6, 2012 at 5:07 PM, Yannick Hagmann
yannick.hagm...@gmail.com wrote:
 Hello

 Why is there no working Mac OSX-Version?


Nobody haven't ported Cinelerra to OSX. Feel free to port.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] no sound output // RME Multiface in Cinelerra

2012-04-10 Thread Einar Rünkaru

 The following might be for the record, or interesting for developers:

 For the Lumiera development, we did some primary experiments with ALSA, and
 from there I know the inward view. As a programmer, you definitively must
 do more elaborate configuration steps to open ALSA successfully with the
 hammerfall driver for the Multiface. There is a standard basic configuration
 which you find in most ALSA tutorials. This code just opens a two channel
 inteface with 16bit integer samples. This works for most consumer grade
 interfaces but seemingly doesn't work for the Multiface.

 In our preliminary experiments, we found out that we needed to set the
 correct number of channels (all of them!), and we needed to set
  * SND_PCM_ACCESS_RW_NONINTERLEAVED
   (many tutorials and examples propose instead to use
    SND_PCM_ACCESS_RW_INTERLEAVED)

Interesting. If I were HW designer, I preferred
SND_PCM_ACCESS_RW_INTERLEAVED, the design will be much simpler.

  * and as output sample format, we found most formats to be rejected
   immediately. With the exception of
   SND_PCM_FORMAT_UNKNOWN
   SND_PCM_FORMAT_S32
   The latter setting (32bit floating point samples) seems to be the right
   way to go, based on the properties and specs of the Multiface

SND_PCM_FORMAT_S32 is 32bit signed integer. Why should a sound card
accept floating point samples?

 We will continue to work on this stuff. What I want is to find a way to
 write that ALSA code, so it can work with a wide range of interfaces and
 allows to configure the necessary bits. This is a bit more challenging
 than just rewriting some example code. But right now other things are
 more important (for Lumiera) and, as usual, we're lacking developers ;-)

There is an interesting article
http://www.volkerschatz.com/noise/alsa.html. This helped me to
understand why ALSA interface is so complex and how it is intended to
use.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: Fw: Aw: Re: Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-08 Thread Einar Rünkaru
On Sat, Apr 7, 2012 at 6:26 PM, Christoph Limbach blackendwh...@web.dewrote:

 fpr example i see in jack that the input device is

 hw:1,0

 can i tell the alsa driver that it should use that device?


Your console output showed:

LSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM Hammerfall DSP #0
AudioALSA::open_output plughw:1,0: No such file or directory

This means: Cinelerra tried to open hw:1,0, but failed. May be there was
some other process that already have opened the device. As a rule hw
devices can be opened by one process in a time.


 oh and one last question: @ Einar: how can I teach alsa how to use the
 soundcard, is it something in cinelerra? thanks! kris

 No it is outside cinelerra. You have to configure ALSA so that aplay -L
shows your sound output as one usable device. Follow Hermann's suggestions
- he has similar device. Consult http://www.alsa-project.org

Einar


Re: Re: Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-06 Thread Einar Rünkaru
On Thu, Apr 5, 2012 at 3:32 PM, Christoph Limbach blackendwh...@web.dewrote:

 thanks Einar,

 starting cinelerra in console gets me this error:

 LSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM Hammerfall DSP #0
 AudioALSA::open_output plughw:1,0: No such file or directory
 ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM Hammerfall DSP #0
 AudioALSA::open_output plughw:1,0: No such file or directory
 ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM Hammerfall DSP #0
 AudioALSA::open_output plughw:1,0: No such file or directory



 aplay -l
  List of PLAYBACK Hardware Devices 
 card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: DSP [Hammerfall DSP], device 0: RME Hammerfall DSP + Multiface
 [RME Hammerfall DSP + Multiface]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 kalimerox@emitter:~$



 aplay -L
 null
 Discard all samples (playback) or generate zero samples (capture)
 hdmi:CARD=HDMI,DEV=0
 HDA ATI HDMI, HDMI 0
 HDMI Audio Output
 default:CARD=DSP
 Hammerfall DSP, RME Hammerfall DSP + Multiface
 Default Audio Device
 kalimerox@emitter:~$

 Cinelerra tries to open default device of ALSA. Seems that the default
device is not properly configured. You have an option to learn the
configuring of ALSA an configure the default device.

Or try to copy/write ' hdmi:CARD=HDMI,DEV=0' to
preferences-playback-device (without quotes).

Einar


Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-06 Thread Einar Rünkaru
Hi

On Thu, Apr 5, 2012 at 8:34 PM, Ichthyostega p...@ichthyostega.de wrote:
 Am 04.04.2012 13:37, schrieb Christoph Limbach:

 I found ALSA to be quite problematic with several applications. But the reason
 to blame is neither ALSA, nor the RME / hdsp interface. The actual problem
 seems to be that ALSA is quite low-level and close to the hardware.
 And, unfortunately, the majority of open source programmers just seem to
 be too lazy to get their a** up and implement the ALSA interface properly
 and to full extent.

You are right, ALSA inteface is programmed very poorly in Cinelerra.
As everything else what is 'near' the hardware.

 as a sidenote: with current kernels, when you choose OSS, what you
 get is actually an emulation of the deprecated old OSS output by forwarding
 to ALSA. PortAudio is similar, but actually even another layer of abstraction
 on top: it automatically connects through Jack, Pulse, ESD, ALSA or OSS.

In Cinelerra OSS is an exeption: seems that this is well written :).

 in cinelerra, also the VU- meters dont show any activity. I tried alsa and
  other sound options.. no more ideas what i can do...

 First off, the VU meters in Cinelerra *must* be showing some output on 
 playback.

Just tested: VU meters don't work if Cinelerra fails to open Audio output.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-06 Thread Einar Rünkaru
On Fri, Apr 6, 2012 at 6:11 PM, Ichthyostega p...@ichthyostega.de wrote:
 Am 06.04.2012 12:19, schrieb Einar Rünkaru:
 Cinelerra tries to open default device of ALSA.

 who tells you that the user wants to use the default device when working
 in a studio setup??

ALSA can always be configured so that default device is usable. If an
user wants to more from a system he/she is able to set up more
different devices suitable for different uses.

Seems that Christoph's distribution failed to properly setup ALSA on
his hardware.

 Or try to copy/write ' hdmi:CARD=HDMI,DEV=0' to
 preferences-playback-device

 For me this worked until 2006, but at some point ceased to work.

The change was reverted at 2008 (if I understand right).

 I'd be really interested to hear if this works for Christoph


Me too.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-05 Thread Einar Rünkaru
On Thu, Apr 5, 2012 at 12:42 PM, Christoph Limbach blackendwh...@web.dewrote:

 thanks for your advice Einar,

 I tried both, no success so far.

 I renamed the .bcast file  and started (what do you mean with defaults? i
 just started from the menu, maybe i should start from console...)
 and it remained the same.

If there is no $HOME/.bcast Cinelerra starts with its internal defaults -
this should have sound.

 I tried different audio files, .wav 16 bit tjhat should work, no
 success...
 kris

Starting from console is not a bad idea - most of Cinelerra messages go to
console. May be we get some idea from these messages.

Can you send outputs of the next two commands:
aplay -l
aplay -L

Einar


Re: [CinCV] no sound - cinelerra and rme multiface on avlinux...

2012-04-04 Thread Einar Rünkaru
Hi!

On Wed, Apr 4, 2012 at 2:37 PM, Christoph Limbach blackendwh...@web.dewrote:

 hello out there, this is my first post on this mailing list.

 i have a quite specific question: i run cinelerra on avlinux and
 everything is smooth, on laptop I have sound , but on my desktop pc, I use
 a rme multiface card and i just can t get any sound out of it with
 cinelerra. I start hdspmixer at the beginning, but nothing. in cinelerra,
 also the VU- meters dont show any activity. I tried alsa and other sound
 options.. no more ideas what i can do... the other video editing software i
 have works with sound (kdenlive openshot... ) but it s just not the same
 than working with cinelerra ;)
 any help is appreciated, thanks!!! kris


The reasons may be:

a) You have somehow muted audio in Cinelerra. Rename $HOME/.bcast directory
(there are your settings) and start Cinelerra with defaults. You may later
rename the .bcast directory back.

b) Cinelerra fails silently to decode the audio of your media. Try the
mediafile that works on your laptop.


 Einar


Re: [CinCV] Re: g-raffa.eu still down

2012-03-28 Thread Einar Rünkaru

 Still down.
 Google-ing, found easily various sites like:
 http://vimeo.com/raffatraniello

 but  g-raffa.eu is
 Firefox can't establish a connection to the server at g-raffa.eu.

 And this time with Tor browser,

 Hopefully nothing serious.
 World is beautiful because of there are people like her, and you folks
 at Cinelerra.
 I won't worry yet, but I will pray just the same.

Nameservers do not resolve the name g-raffa.eu.

Mails do no reach her, I haven't seen her on irc. May be she travels.

We have to wait.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] exec fault on Suse 12.1

2012-03-26 Thread Einar Rünkaru
On Mon, Mar 26, 2012 at 11:45 AM, Edouard Chalaron
e.chala...@xtra.co.nz wrote:
 Hello all

 Trying to compile Einar git version on suse 12.1 all seems fine (config and 
 make) until launching where I got nothing but the following

 /home/edouard/cinelerra-cv/cinelerra/.libs/cinelerra: error while loading 
 shared libraries: libavcodec-cinelerra.so.51: cannot open shared object file: 
 No such file or directory

Are you sure it is the latest git version of my branch? Anyway
currently I recommend only internal ffmpeg.

Start 'cinelerracve' from terminal. I renamed all files what will be
installed to be able to run official Cinelerra and my branch side by
side. As I remember desktop icon is not updated.

Branch is still expiremental: be ready for surprises.

Remember:
- defaults are stored $HOME/.cinelerra
- projects stored by cinelerracve are not compatible with official
cinelerra (projects from offical cinelerra-cv can be loaded)

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


  1   2   3   >