Log in

View Full Version : 2.5: BlankClip, channels


WarpEnterprises
19th January 2003, 23:49
two questions:

1) BlankClip(pixel_type="YUY2") or YV12 seems to be broken (crash)?

2) When using GetChannel, you select one or more channels out of the source. But how gets the NEW channel number defined? Or how can e.g. two mono clips be combined to a stereo?

sh0dan
20th January 2003, 10:03
Getchannels gets mapped, so that the first channel you select is new channel 1, the next is channel 2, etc.

For instance GetChannels(2,4,4) will become new channel 1,2,3.

I'll have a look at blankclip.

WarpEnterprises
20th January 2003, 11:17
Ok, but how to ADD one more channel?

sh0dan
20th January 2003, 11:48
You add new channels using MergeChannels(clip1,clip2.... clipn) this will add all channels together. You can use mergechannels from a blankclip.

WarpEnterprises
20th January 2003, 15:10
Ok, I see.
I see too that I have accidently deleted some doc files...
(will restore them ASAP)

WarpEnterprises
21st January 2003, 21:55
Ok, I didn't remove anything, it was an artefact of "struct_mod".

Is it correct that "attic" in the CVS means something like "don't know which version is the most recent" ?

Question about Amplify:

If there are fewer arguments than channels the left-over channels are not affected? In 2.0 one argument meant amplifying both channels equally!

sh0dan
21st January 2003, 22:10
Sorry - I must get into documenting again (you, and the other folks) are doing a really great job - very much appriciated!

If there are more volumens than there are channels, they are ignored.

If there are fewer volumes than before, the _last_ volume is applied to the rest. Seemed the most reasonable way to do it.

Attic means: Not in the MAIN branch, but in other branches.

WarpEnterprises
21st January 2003, 22:15
As you are here: Normalize is not ready yet for 2.5?

{ "Normalize", "c[left]f", Normalize::Create )

[edit]: just write some changelog and keep on programming - or do you want to make us unemployed? :)

sh0dan
21st January 2003, 22:22
I decided not to do separate volumes for 2.5 - it seems silly - it isn't easy predicting the result. Doing:

Normalize(1.0)
Amplify(0.5,1.0,0.3)

Makes much more sense to me.

The "left" parameter is just a left-over (no pun intended), and chould probably read volume. I'll change it to that.

edit: I also found a problem in resampleaudio() - it thinks it's capable of processing floats - while it isn't ;)

Wilbert
22nd January 2003, 10:44
Could you also add the boolean "show" in v2.5? A question about TemporalSoften if you don't mind :) The "scenechange" parameter, is it optional, has it a default value ?

sh0dan
22nd January 2003, 13:25
I'll add the "show" to 2.5. Scenechange is default "0" - meaning disabled.