[CinCV] Re: Cinelerra CinCV merge request / Cin2.1.5CV

2010-10-31 Thread Simeon Völkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Hannes,

I've received the following answer from aballier, explaining the
libavutil50 and x264 patches by gentoo.

In my opinion both changes are fully justified, and _now_ as well
sufficiently explained.

So what is currently still pending / not merged yet (that should be
included in Cin2.1.5CV)?

With best regards,
Simeon


-  Original Message 
Subject: Re: gentoo's cinelerra patches
Date: Thu, 28 Oct 2010 11:00:43 -0300
From: Alexis Ballier 
Organization: Gentoo
To: Simeon Völkel 

Hi,

> we are currently working on Cin2.1.5CV and now collecting patches from
> distributions to be included in the next release. However, only very few
> have any explanation with them, but for the git repos we would like to
> have a at least somewhat expressive commit message.
> 
> When asking today in #gentoo-media about gentoo's patches for cinelerra
> ssuominen told me to ask you for the following two patches:

Glad to hear cinelerra is moving again :) I was bored of sending patches that
were lost in the abysses of the cincv ml so I stopped forwarding them at some
point... Anyway, about these two patches, its been so long that I don't
remember but let's try.

in any case, you can see the cvs log here:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-
video/cinelerra/files/
> 
>  cinelerra-libavutil50.patch
> 
> This patch seems to be quite destructive, as it replaces RGBA with RGB
> color models. Is that really a proper solution or just a workaround that
> does not mind loosing the alpha channel? Could you please explain this
> patch?

cvs log says:

Fix build with libavutil 50 by not using pixel formats that have been
deprecated for years.


libavutil/pixfmt.h says:
* PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA
 * color is put together as:
 *  (A << 24) | (R << 16) | (G << 8) | B
 * This is stored as BGRA on little-endian CPU architectures and ARGB on
 * big-endian CPUs.

#define PIX_FMT_RGB32   PIX_FMT_NE(ARGB, BGRA)
#define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR)
#define PIX_FMT_BGR32   PIX_FMT_NE(ABGR, RGBA)
#define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB)


so at least the remark of it being destructive is wrong

iirc the only thing this patch changed is the name: the two pixel formats were
#defined one onto the other but with libavutil 50, the one cinelerra was using
was gone. You'll have to check libavutil/pixfmt.h svn history in ffmpeg svn if
you want a 100% accurate answer there I'm afraid.

> 
>  cinelerra-x264.patch
> 
> What does this patch solve?

9   +#if X264_BUILD >= 76
10  + int size = nals[i].i_payload;
11  + memcpy(codec->work_buffer + codec->buffer_size, nals[i].p_payload,
nals[i].i_payload);
12  +#else


I guess you can infer the obvious answer :) Again, don't ask me to explain
more: it's been so long that I forgot. This API change in x264 was well
documented though:
http://mailman.videolan.org/pipermail/x264-devel/2009-September/006337.html
http://mailman.videolan.org/pipermail/x264-devel/2009-September/006353.html

Regards,

Alexis.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzNvxEACgkQph/voQkhF7yzqwCbBqAWlMPkHqo8mmJ63iljdA+r
u1QAnRwKjuwYmAMWR/HYf1G3SirDbmTM
=Leyp
-END PGP SIGNATURE-

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


[CinCV] Re: Cinelerra CinCV merge request / Cin2.1.5CV

2010-10-31 Thread Johannes Sixt
On Sonntag, 31. Oktober 2010, Simeon Völkel wrote:
> So what is currently still pending / not merged yet (that should be
> included in Cin2.1.5CV)?

Branch sv/gentoo-fixes shows what I have queed so far, but I think I'm not 
sure whether the tip one (the gentoo ffmpeg fix) is good.

More tomorrow...

-- Hannes

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


[CinCV] getting started witn HD

2010-10-31 Thread David Koski
I am just getting started with Cinelerra CV and started to render a test video 
to 1920x1180.  It looked like the rendering hung (the CPU load went to almost 
nothing).  I tried to close Cinelerra but it warned me that rendering cannot 
be interrupted.  I killed it at the command line and thought I was prpared to 
accept the mess I made for myself.  I ended up deleting ~/.bcast/ and the 
project xml files and starting over.  But now when I add content to the 
project, the clips video play at double speed and the audio at normal speed 
and the clips art truncated at about half way.  I am using the same video 
files added to my resources folder.  Any ideas?

My files were converted with ffmpeg with this command:

ffmpeg -y -threads 4 -i INFILT.MTS -b 220M -vcodec dnxhd -acodec pcm_s16be 
OUTFILE.mov

I have tried various format settings but it looks like it does not affect this 
problem.

Regards,
David Koski
dko...@sutinen.com

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


Re: [CinCV] getting started witn HD

2010-10-31 Thread David Koski
I found that if I right click on the resource, then click info, then change 
the frame rate from 59.94 to 29.97 it plays right.  I never did this the firt 
time around.  Hmmm...

David

> I am just getting started with Cinelerra CV and started to render a test
> video to 1920x1180.  It looked like the rendering hung (the CPU load went
> to almost nothing).  I tried to close Cinelerra but it warned me that
> rendering cannot be interrupted.  I killed it at the command line and
> thought I was prpared to accept the mess I made for myself.  I ended up
> deleting ~/.bcast/ and the project xml files and starting over.  But now
> when I add content to the project, the clips video play at double speed
> and the audio at normal speed and the clips art truncated at about half
> way.  I am using the same video files added to my resources folder.  Any
> ideas?
> 
> My files were converted with ffmpeg with this command:
> 
> ffmpeg -y -threads 4 -i INFILT.MTS -b 220M -vcodec dnxhd -acodec pcm_s16be
> OUTFILE.mov
> 
> I have tried various format settings but it looks like it does not affect
> this problem.
> 
> Regards,
> David Koski
> dko...@sutinen.com
> 
> ___
> Cinelerra mailing list
> Cinelerra@skolelinux.no
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

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


Re: [CinCV] getting started witn HD

2010-10-31 Thread David Koski
So I got past that problem, tried to render, and it hung again.

David

> I found that if I right click on the resource, then click info, then change
> the frame rate from 59.94 to 29.97 it plays right.  I never did this the
> firt time around.  Hmmm...
> 
> David
> 
> > I am just getting started with Cinelerra CV and started to render a test
> > video to 1920x1180.  It looked like the rendering hung (the CPU load went
> > to almost nothing).  I tried to close Cinelerra but it warned me that
> > rendering cannot be interrupted.  I killed it at the command line and
> > thought I was prpared to accept the mess I made for myself.  I ended up
> > deleting ~/.bcast/ and the project xml files and starting over.  But now
> > when I add content to the project, the clips video play at double speed
> > and the audio at normal speed and the clips art truncated at about half
> > way.  I am using the same video files added to my resources folder.  Any
> > ideas?
> > 
> > My files were converted with ffmpeg with this command:
> > 
> > ffmpeg -y -threads 4 -i INFILT.MTS -b 220M -vcodec dnxhd -acodec
> > pcm_s16be OUTFILE.mov
> > 
> > I have tried various format settings but it looks like it does not affect
> > this problem.
> > 
> > Regards,
> > David Koski
> > dko...@sutinen.com
> > 
> > ___
> > Cinelerra mailing list
> > Cinelerra@skolelinux.no
> > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
> 
> ___
> Cinelerra mailing list
> Cinelerra@skolelinux.no
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

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