fjhdavid
21st April 2009, 17:57
Dear all,
I would like to multiply the U channel by 1.1 in an YV12 clip.
My first attempt was to use colorYUV and write:
colorYUV(gain_u=1.1)
but in fact, U values, which may be positive or negative is summed with 128 to make it always positive.
I then tested: colorYUV(gain_u=1.1*(gain_u-128)+128 but it doesn't work!
What kind of script do I have to write to do the task?
Thanks for your help
Francois
I would like to multiply the U channel by 1.1 in an YV12 clip.
My first attempt was to use colorYUV and write:
colorYUV(gain_u=1.1)
but in fact, U values, which may be positive or negative is summed with 128 to make it always positive.
I then tested: colorYUV(gain_u=1.1*(gain_u-128)+128 but it doesn't work!
What kind of script do I have to write to do the task?
Thanks for your help
Francois