Compositing Gamma not in the API

richardbushell wrote on 12/20/2016, 8:04 AM

Hi

Anyone know if "Compositing Gamma" property is included in the API?

Cannot see it in the API HTML, but I'm sure that it's just an omission/mistake.

I have found:

ProjectVideoProperties (Class) > .PixelFormat (Enumeration) >    PixelFormat.Int8Bit   OR   PixelFormat.Float32Bit

But there is no Property for Compositing Gamma?

Anyone know?

Comments

Quitter wrote on 12/20/2016, 8:50 AM

You can change the gamma to 1.000 if you choose 32 Bit Full
Standard is: 2.222

Camcorder: Sony CX 520 VE
Hardware:   Acer NG-A717-72G-71YD, Win 11 , i7-8750 H, 16GB, GTX 1060 6GB, 250GB SSD, 1TB HDD
NLE:  Sony Vegas Pro 13.0 Build 453
            Vegas Pro 14.0 Build 270
            Vegas Pro 21.0 Build 300

 

richardbushell wrote on 12/20/2016, 9:11 AM

We use 32-bit (full range) and want Compositing Gamma 2.222

Cannot see an option to SET or GET (check) this value for Projects through the API. Even though can change it in the Project Properties Window Video Tab.

Basically Linear Gamma breaks everything!

Cannot use built-in tools like Vegas Levels cRGB to sRGB as this get the levels all wrong. Don't think the filters correctly support or implement Linear Gamma.

Plus, our Third Party plug-ins (e.g Magic Bullet's Looks, and Neat Video's Reduce Noise) both have options for Linear Gamma, but there is still a significant gamma shift when opening these plug-ins through Vegas when Linear Gamma is set.

Video Gamma (2.222) means all FX and Plugins work correctly.

But, back to original post topic, there seems no property to get or set for the Compositing Gamma through the API? Not sure if Sony/Magix missed this in error? Or it's there but not documented?

altarvic wrote on 12/20/2016, 10:16 AM

Unfortunately, many Vegas features are not accessible through API 😭, including this property.

richardbushell wrote on 12/20/2016, 10:30 AM

Thanks @altarvic, that's a shame.