HEVC/TIFF 10-bit CC/Levels Fx Woes Build 315

ALO wrote on 6/2/2024, 9:21 AM

I'm seeing a repeat of the brightness flickering when I use certain combinations of levels and color curves fx's (and possibly the lut fx) at the clip level on 10-bit TIFFs in a 32-bit video levels project. I originally reported these issues here:

https://www.vegascreativesoftware.info/us/forum/32-bit-video-renders-brightness-flickering--138356/

This was affecting GoPro HEVC 10-bit files, and seemed to go away in at least one of the prior builds. It's back, and now affecting 10-bit TIFFs in a project where there are no HEVC files

Comments

fr0sty wrote on 6/2/2024, 8:57 PM

Are you using the color grading panel curves, or the standalone curves? IIRC, many of the standalone filters don't work on 10+ bit media, but the CGP does.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

ALO wrote on 6/3/2024, 11:20 AM

standalone fx chain. Many of these are vital to my workflow because I can control the order in which they are processed (as in Resolve's node-based system).

standard levels fx is also not processing math correctly in 32-bit FR. You should be able to easily repro that by comparing the effect of the "input end" slider on the levels fx (standalone) at a clip level to the color grading --> utilities --> levels input (right end) slider.

These should have the same effect, but they don't. Levels fx input slider in 32FR is acting more like a gamma adjustment, rather than an endpoint adjustment.

I remain astonished the Magix team doesn't see supporting their app's basic fx functionality as more of a priority. The thread I linked to is from 2022!

 

mark-y wrote on 6/3/2024, 11:28 AM

Are you using the color grading panel curves, or the standalone curves? IIRC, many of the standalone filters don't work on 10+ bit media, but the CGP does.

Most, if not all, of the Legacy Fx in Vegas were written for 8 bpc Integer Math. Yes, those will respond differently than the CG panel with 10 bit source in a 32 bit Float Point project.

Regardless of your source, choose an 8 bit project to maintain linearity when using legacy Fx.

RogerS wrote on 6/3/2024, 6:45 PM

Do you have Graide Color Curves? May work better for this.

ALO wrote on 6/4/2024, 11:08 AM

Are you using the color grading panel curves, or the standalone curves? IIRC, many of the standalone filters don't work on 10+ bit media, but the CGP does.

Most, if not all, of the Legacy Fx in Vegas were written for 8 bpc Integer Math. Yes, those will respond differently than the CG panel with 10 bit source in a 32 bit Float Point project.

Regardless of your source, choose an 8 bit project to maintain linearity when using legacy Fx.

I strongly argue the fx plugin chain offers basic and essential functionality necessary for a modern 2024 workflow (which overwhelmingly is going to involve 10-bit video codecs).

If Magix developers intend to deprecate the fx chain in favor of the GC panel I think that is a huge mistake*

*(even if, as seems unlikely, some kind of node-based replacement is in the works which will simultaneously allow keyframing and complete control over the order of the various fx's applied at the clip-level).

 

Roger thanks for the suggestion!

mark-y wrote on 6/4/2024, 3:57 PM

You may wish to start a new thread with the words [Feature Request] in your title.

I do know that most of the original coders who wrote the legacy plugins are not working for Magix, and given the development burden of unraveling decades-old code and patching it with updated math domains is probably impractical, at least at the present time.

Perhaps a better short term solution will be to relabel the effects in question as "Legacy 8 bit," and then rewrite all new FX plugins compatible in either integer or float math project environments, with dual indexing of the output graphs, as necessary. There is certainly lots of room for improvement in the plugins that came from the two previous brand owners.

ALO wrote on 6/4/2024, 10:41 PM

I believe the legacy plugins worked fine in 32-FR in the Sony versions, but not sure that's relevant here.

Also, looks like the math for the gain control is broken in the Color Grading panel as well. @VEGASDerek

feature request: working plugins :)

ALO wrote on 6/4/2024, 11:07 PM

Sorry -- I couldn't resist!

ALO wrote on 6/5/2024, 3:17 PM

for the developers: both the Levels FX and Gain control in the CG panel work as expected in 32-bit Full Range mode when view transform is set to off. That suggests something unwanted is going on with the ACES interpretation.

(if you want to test that, it's better to create a jpeg gradient rather than using generated media so you can set the jpeg's color space appropriately)

Wolfgang S. wrote on 6/5/2024, 4:24 PM

Try ACEScc instead of ACES default.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

ALO wrote on 6/6/2024, 2:15 PM

Try ACEScc instead of ACES default.

looks like that's a log-based color grading space. I wouldn't know how to assess whether the GC and Levels fx are operating as desired in that environment.

RogerS wrote on 6/6/2024, 7:19 PM

Why are you working with ACES? ACES default and cc are similar though the default space is much wider:

ACES2065-1 can also seen by the name AP0. It has the widest gamut of all the ACES colorspaces fully encompassing the entire visible spectrum. You will almost never work in this colorspace it is meant primarily to be a transfer and archival format. Typically, this is the colorspace you would use to transfer images/animations between production studios.

Default with VP 21-300+ seems to have a number of bugs though.

ALO wrote on 6/7/2024, 1:34 PM

Roger I don't normally because historically 32FR just creates too many headaches, but for SLog3/SGamut3 Vegas's ACES mode seems to give a better transform than using a LUT in 32-bit video mode.

Until Vegas gives us a color-space transform like Resolve, the ACES system seems like the best option for those who work with that format ¯\_(ツ)_/¯

RogerS wrote on 6/7/2024, 11:51 PM

Why not use a LUT in 32-bit full range mode with view transform set to off? I get better results doing that with Slog 3 than I do with ACES. Do note that VEGAS isn't reading the color range correctly in VP 21.300 and newer so you have to set the media to full range manually (it defaults to undefined which is video).

I keep running into odd bugs with ACES like unexpectedly dark previews with the default color space vs cc and if you toggle between settings (32-bit back to 8-bit) it looks completely wrong and I have to restart the program.

ALO wrote on 6/8/2024, 12:26 PM

I agree--the whole 32FR/ACES system in Vegas has been unreliable for a long time. I wonder if the dark previews you're seeing involve levels or color curves plugins in the fx chain (or do you use the GC panel)? I don't think I've seen the CG panel alone trigger the brightness issues I've experienced.

In any case, when you set the color space of a media clip's properties (like SLOG3/SGamut3) in 32FR and then the appropriate view transform, I believe Vegas is performing a true IDT versus a LUT conversion, which is an actual mathematical transformation (or so says ChatGPT) across the entire color space versus the much more limited conversion a LUT performs.

You can play around with that if you're curious: compare the conversion quality (and especially, how much you can grade it afterward). So it's a desirable way to work with Log footage--or it would be if the system worked.

Anyhow, I often feel like I'm shouting into the wind here. If Magix doesn't see supporting basic fx chain plugins like levels or color curves in 32/Video as a priority, I doubt they care that much about the ACES system.

RogerS wrote on 6/9/2024, 2:20 AM

No, the preview issues are without any Fx applied. If I just keep switching between ACES settings I can eventually break it here.

I understand how IDTs work though in practice a good LUT processed at a high bit depth won't have any visual artifacts. The main difference is a LUT is basically a baked cake and an IDT is not. So if you use the transform and then the CGP with curves, etc. you can extract more out of the file's detail. However that assumes the CGP is working properly.

For what I do the Leeming LUT gets me close enough to the finished product with Cine2 and 8-bit footage for me to not want to deal with Slog and 32-bit modes in VEGAS. It's slightly flat so I can adjust contrast to taste and skin tones look good.