Render whit 32 bits (video levels), while using 8 bit video files.

oscarleethr25 wrote on 6/5/2018, 10:50 AM

Hello friends. The Page 54 of the official Magix Vegas 15 manual talks about the pixel format. After a series of explanations, a list of tips appears, among which I would like to highlight the following:

 

"When using 8-bit input/output, the 32-bit floating point (video levels) setting can prevent banding from compositing that contains fades, feathered edges, or gradients".

 

To be honest I have no idea what that tip is about. Is it saying that it's good or bad to work 8-bit videos with a 32-bit (video levels) project configuration? I do not understand if the tip is encouraging me to do it or to avoid it.

 

Finally, I would also like to highlight the following tip, because i think both tips are relationed:

"If you're creating a 32-bit project, you can increase performance during editing and playback by using the 8-bit setting during editing and switching to 32-bit floating point (video levels) before rendering".
 

Comments

Red Prince wrote on 6/5/2018, 11:41 AM

Is it saying that it's good or bad to work 8-bit videos with a 32-bit (video levels) project configuration?

It is saying it’s good.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

oscarleethr25 wrote on 6/5/2018, 11:45 AM

So, Should I edit (color grading etc.) and work my project in 8 bits, and then, just before make my final render, change it to 32-bit (video levels)? Right?

fr0sty wrote on 6/5/2018, 12:01 PM

Do your cutting in 8 bit, color grading and FX in 32 bit. Even though the video info is only 8 bit, any color info being processed by the video fx is being done in 32 bit floating point, so you get more precision there. It won't remove color banding from your 8 bit video (you'll have to shoot 10 bit or higher for that, and then render to a 10 bit format from there, but Vegas currently lacks the ability to properly color grade 10 bit or higher video, so what you see while editing won't be what you get when you render), but you won't have to worry about it introducing new banding artifacts into your video in the process of applying its FX and color correction.

Last changed by fr0sty on 6/5/2018, 12:03 PM, changed a total of 2 times.

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)

fifonik wrote on 6/5/2018, 5:24 PM

I'm creating my projects in 32-bits pixel format (video levels) to prevent levels clipping between filters in chain (not to prevent banding).

If one of your filter moves colour outside of 0-255 level, it might be possible to return that colour back to allowed range using another filter in chain.

You can follow these steps to see it in action.

 

Some caveats:

- Working with projects in 32-bits pixel format is noticeable slower

- If you already applied come levels/colour corrections you would better not to change project's pixel format as you can get wrong results. Check all your corrections if you switched project's pixel format for some reason.

- Some filters does not work with 32-bits format

- Some filters (Color Curves for example) by its nature produce the same effect as clipping and this cannot be reversed because they are NOT moving colour outside of valid range

- It was a bug in VP15 when 32-bits pixel format projects were rendered incorrectly using SonyAVC or XDCAM-EX encoders (fixed in build 361). Magix AVC you mentioned in other thread is fine, however it has another issues and not acceptable for me :)

Last changed by fifonik on 6/5/2018, 5:25 PM, changed a total of 1 times.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 16 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), Samsung 870 Evo, HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19

Musicvid wrote on 6/5/2018, 7:47 PM

Grading in 32 bit has no effect at all on banding in 8 bit source, where the damage has already been done.

I did a round of tests and Vegas' pattern dither negates the already negligible effects of grading at higher bit depth. IOW, I was unable to determine any difference to delivering 8 bit door to door.

Musicvid wrote on 6/6/2018, 6:36 AM

but Vegas currently lacks the ability to properly color grade 10 bit or higher video, so what you see while editing won't be what you get when you render)

Which is precisely the reason not to load 8 bit source in a float project. It's always been that way, frosty, at least since 2.0. And it can't be fixed with intervention before rendering, not completely.

I understand it is on the "fix" list, maybe already been implemented?

Rory Cooper wrote on 6/7/2018, 4:44 AM

keep in mind the human eye can't see 16.8 million colors so when placed side by side, an 8-bit version and a 16-bit version of an identical image will look = identical to us. Also if the original is 8 bit you can't pump out a 16 bit render and get better than the 8 bit. so where is the benefit then? Flexibility or Elasticity in the tonal values of your edit so since you have 8 bit bicycle adding another wheel will mean you have to carry it while trying to steer. just go with the 8 bit and enjoy the ride.

fifonik wrote on 6/7/2018, 7:14 AM

This is all not about seeing all these colours.

This is mostly about preventing unnecessary degradation during video processing.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 16 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), Samsung 870 Evo, HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19

Musicvid wrote on 6/7/2018, 8:41 AM

... that can't be seen in tests.

Rory Cooper wrote on 6/7/2018, 9:07 AM

its connected = linked like a marriage if you only understand or focus on the one side you fail to see other side then you fail overall. the post is about banding caused by an 8-bit image pushed out of its range. an 8-bit image, which gives us 16.8 million possible colours . so do you need more?  Working in 32 bit with an 8 bit image won’t give you more of what you don’t need.  AND CAN’T GET. is the point

https://www.photoshopessentials.com/essentials/16-bit/

So for example here is a 8 bit clip normal from my camera then I pushed the levels in 8 bit SO if I work in 32 bit video levels and output = same.   

fifonik wrote on 6/7/2018, 5:01 PM

... that can't be seen in tests.

Really? Cannot you see that one colour (from 3) is disappeared in demo I suggested?

the post is about banding caused by an 8-bit image pushed out of its range.

Not only. The post about reasons to process 8-bits footage in 32-bits projects. Not only banding happens here.

https://blogs.adobe.com/VideoRoad/2010/06/understanding_color_processing.html

 

Anyway, it is up to you to decide what options would you like to use. I do not use 8-bits project as it might cause quality lose, I do not use GPU encoders ad they produce worse results with the same bitrate etc. Trade of is speed. I'm aware of this.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 16 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), Samsung 870 Evo, HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19

Kinvermark wrote on 6/7/2018, 7:14 PM

@fifonik

Yes, your "demo" works as expected. And I do applaud your effort in providing a better example than the typical "1+1=2, therefore do as I say" kind of logic we usually get around here.

However, I don't see the REAL WORLD application of this demo. Why would you need to blow your highlights into outer space and then bring them back?

So again I ask: PLEASE provide an image sample from real 8 bit camera footage that shows obvious image improvement due to 8 to 32 back to 8 processing, versus 8 to 8 to 8 processing. I have an open mind, but cannot find a situation where this applies.

 

fifonik wrote on 6/7/2018, 8:37 PM

I might have add Color Correction filter to track and increase saturation (1.2). In this case some bright colours will be "moved out of valid 8-bit range". Mathematically it is something like c2 = c1 * 1.2. c can only hold 1 byte (0-255). So if c1 == 220 it would become 264 and truncated to 255.

Then I might add Levels filter to fragment so everything are in 16-235. However, with 8-bits format I will not be able to do this. Everything that was more that 212 already truncated to 255 so 212, 213, ... 255 would look the same after that levels adjustments. With 32-bts project I can.

 

So again I ask: PLEASE provide an image sample from real 8 bit camera footage that shows obvious image improvement due to 8 to 32 back to 8 processing, versus 8 to 8 to 8 processing. I have an open mind, but cannot find a situation where this applies

This is not possible. You cannot improve your 8-bit original image. It is only possible to make the image processing less destructive.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 16 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), Samsung 870 Evo, HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19

Musicvid wrote on 6/7/2018, 8:50 PM

... or more destructive, neither of which you seem able to quantify. Good story, though.

Kinvermark wrote on 6/7/2018, 8:54 PM

Well, generally I like to think I am improving my clips by colour grading / correction, so "less destructive" is not the goal. But I get your point - 32 bit is a "safety net" of sorts.

By the way, are you sure the track fx would be applied before the event fx? (I think you mean event when you refer to "fragment"). This does raise the point that order of operations is important and not all of these mistakes are corrected by using 32 bit. For example, applying sharpening fx to film grain fx.

 

fifonik wrote on 6/7/2018, 9:45 PM

> Well, generally I like to think I am improving my clips by colour grading / correction

Sure! This is why people doing this! It definitely looks better after correction.

I meant that 32-bits processing cannot magically convert 8-bit footage to something better.

 

> By the way, are you sure the track fx would be applied before the event fx?

Sure track fx applied after event fx. Sorry.

Sure, effects must not be applied in random order and 32 bits is not a silver bullet. Main idea was -- 32 bits never worse than 8-bits and preventing truncating/clipping while data transferred from one filter in chain to another.

 

> But I get your point - 32 bit is a "safety net" of sorts

Yup. That's it.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 16 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), Samsung 870 Evo, HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19

Musicvid wrote on 6/7/2018, 10:55 PM

Main idea was -- 32 bits never worse than 8-bits

Never? Sometimes? Always?

In the presence of identifiable gamma mismatch, subsequent downsampling degradation, and complete lack of visual evidence? Don't be ridiculous, you are tossing confetti.

"The use of absolutes never engenders credibility in the absence of supporting, verifiable data." By who? Beginning to catch on now?

But not to worry. I catch myself doing it too.

pierre-k wrote on 6/8/2018, 7:10 AM

Difference between 8bit and 32bit-floating point (full Range)

First is 8bit (no plugin)

Two is 32bit (full range) (no plugin)

- Compositing Gama: 1.0

- ACES version: 1.0

- ACES color space: Default

- View transform: sRGB (ACES)

 

If the video is dark I use it Vegas Level plugin.

 

 

Kinvermark wrote on 6/8/2018, 8:02 AM

The side by side images need to have same levels for comparison. Changing to full range obviously changes the levels. Please try 32 bit video levels.

Musicvid wrote on 6/9/2018, 1:43 PM

https://www.vegascreativesoftware.info/us/forum/10-bit-vs-8-bit-grading-the-musical--111748/