Degraded video rendering

JH26 wrote on 7/30/2023, 10:34 AM

Hello everyone

 

I make videos for Youtube.
I film with a GH5.

When I export my project after finishing my editing on Vegas Pro 20, the video quality is always lower than the original file.

On the elements with a solid color, on the walls, I have a lot of digital noise whereas on the original file I have very little.

Even without applying any effects, the quality is greatly degraded.
If I put the original file on the timeline and export without touching anything, there is also a lot of digital noise that appears, on the walls in particular.

I put an example here (I zoomed into the video on the blue wall):
Normally in the original video file there is much less digital noise


My export settings are:
_ include the video: yes
_ enable progressive download: yes
_ allow source to adjust image size: no
_ image size: UHD (3840*2160)
_ profile: high
_ frame rate: 25,000 PAL
_ allow source to adjust frame rate: no
_ field order: none (progressive analysis)
_ pixel aspect ratio: 1.0000
_ number of reference images: 2
_ use the unblocking filter: no
_ variable bit rate (bits/s) max 52,000,000; average: 40,000,000
_ Mainconcept AVC encoding mode
_ RC mode: H264_VBR
_ Chroma downsampling: 4:2:0
_ bits per pixel: 8 bits

My original video file is an AVC video stream (high@L5.1) in .mp4 with a bit rate of 94.4Mb/s in 3840*2160 (16/9) at 25 fps. Format: MPEG-4; Format profile: Base Media / Version 2; Codec ID: mp42 (mp42/avc1)

What should I do?

Comments

j-v wrote on 7/30/2023, 10:51 AM

Show us here screenshots of your
- project settings
- ( customized ) rendertemplate
by using this button above your message

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

RogerS wrote on 7/30/2023, 11:00 AM

Is the original media 10-bit? Is it v-log?

JH26 wrote on 7/30/2023, 11:12 AM

Is the original media 10-bit? Is it v-log?

No, 8 bits - CineLike D

JH26 wrote on 7/30/2023, 11:15 AM

Montrez-nous ici des captures d'écran de votre
- paramètres de projet
- ( personnalisé ) modèle de rendu
en utilisant ce bouton au-dessus de votre message

Here are the screenshots


j-v wrote on 7/30/2023, 11:54 AM

Thanks for the screenshots on which I cannot see strange things.
If you have possibilities in export for QSV or NVENC you could try a small part that gave you the digital noise.
Or try Voukoder to export

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

pierre-k wrote on 7/30/2023, 12:22 PM

I have the same problems if I use luts and color correction in the project and render the video in 8 bits. I always have to switch the project to 32bit floating point (video levels) before rendering. And rendering at Best quality. Default is Good.

Try it and let me know.

mark-y wrote on 7/30/2023, 12:22 PM

Youtube delivery is much lower quality than what you are giving it. You are seeing compression artifacts on the walls, and there is really nothing you can do for Youtube. Your upload bitrate does not affect the processed bitrate, which has dropped from 40Mbps to 18Mbps or less on Youtube's servers. You can "try" the deblocking filter, but it has no effect on Youtube's reprocessing.

You can try uploading to Vimeo and see if it is better, it often is.

john_dennis wrote on 7/30/2023, 12:56 PM

@JH26

We're in a double-bind here since the example video that you posted here on the forum got re-encoded yet again to meet Magix expectation for the trade-off between file size and cost of their storage.

Here is the Mediainfo report for the video downloaded from this forum.

General
Complete name                            : C:\Users\John\Downloads\9663D749ECDB4AC397653D2CB638FF21.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 21.7 MiB
Duration                                 : 19 s 970 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 9 110 kb/s
Frame rate                               : 25.000 FPS
Writing application                      : Lavf57.25.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 19 s 960 ms
Bit rate                                 : 9 104 kb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.044
Stream size                              : 21.7 MiB (100%)
Writing library                          : x264 core 148 r2748 97eaef2
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 
/me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 
/ trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 
/ threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 
/ bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 
/ direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 
/ intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 
/ qpmax=69 / qpstep=4 / vbv_maxrate=10000 / vbv_bufsize=5000 / crf_max=0.0 / nal_hrd=none 
/ filler=0 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 19 s 970 ms
Duration_LastFrame                       : -22 ms
Bit rate mode                            : Variable
Bit rate                                 : 3 111 b/s
Maximum bit rate                         : 128 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 7.58 KiB (0%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1

Hint: Lavf57.25.100 is not from the Magix AVC/AAC render template.

Former user wrote on 7/30/2023, 9:00 PM

I did a comparison with Resolve with a gradient image. Could not see much difference so turned up the contrast to the point of breaking the image then turned it back a little. This is the result. This problem doesn't seem related to the encoder. Why does the 32bit FP image look so bad, did I make a mistake?, I don't believe so but I would agree it's unexpected to see, and yes that is dropped frames in the Vegas encode.

Music: Sora by Roa (Creative Commons — Attribution 3.0 Unported — CC BY 3.0)

Yelandkeil wrote on 7/30/2023, 9:56 PM

GH5 has excellent lowlight quality. Maybe:

  1. not shooting with ISO higher than 400, extra light blending if needed;
  2. shooting in 10bit422, better in V-Log/HLG when available.

Nothing to do with VEGAS (rendering).

4k8bit production can't avoid some color banding due to size and depth.

Last changed by Yelandkeil on 7/30/2023, 10:09 PM, changed a total of 1 times.

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

RogerS wrote on 7/30/2023, 10:24 PM

Is the original media 10-bit? Is it v-log?

No, 8 bits - CineLike D

I've worked with these files from a similar Panasonic camera and didn't have particular issues in VEGAS. Did you do further editing in VEGAS (color, etc.) before rendering or is this test just a straight transcode of the original file?

Your original files do have higher bitrates than VEGAS- you could try increasing the maximum somewhat and see if it maters.

Beyond that you can try x264 through Voukoder for very pristine looking renders. Not sure if it will make any difference for noise, though.

Former user wrote on 7/31/2023, 12:19 AM

@RogerS I see noise in the waveform for 8bit Vegas processing, but not the 32bit Vegas and Resolve processing of the gradient picture I tested abolve. Is that expected do you think, and also is that cause of OP's noise?

Like @pierre-k suggested, he should try 32bit floating point to rule out it's an 8bit processing mode problem.

Music: Sora by Roa (Creative Commons — Attribution 3.0 Unported — CC BY 3.0)

EDIT:

Why does the 32bit FP image look so bad, did I make a mistake?

I sure did, I started out with encoding 10bit versions and the Resolve version didn't get replaced with the 8bit version. Resolve 8bit and Vegas 32bit float processed version is close to identical.

RogerS wrote on 7/31/2023, 1:52 AM

Very interesting test! I think synthetic gradients may not work the same way as real-world footage but sure, you can try to render in 32-bit mode and it may change the nature of the noise, though I doubt it will be much different. I'd be happy to do a few test renders here if source footage can be made available. Does a ProRes render look any better?

I haven't noticed noise getting worse in my own renders. I also generally go from 4K to HD on render which may make it less apparent, though.

JH26 wrote on 7/31/2023, 5:50 AM

Youtube delivery is much lower quality than what you are giving it. You are seeing compression artifacts on the walls, and there is really nothing you can do for Youtube. Your upload bitrate does not affect the processed bitrate, which has dropped from 40Mbps to 18Mbps or less on Youtube's servers. You can "try" the deblocking filter, but it has no effect on Youtube's reprocessing.

You can try uploading to Vimeo and see if it is better, it often is.

In fact, it's the video file output from vegas pro that is degraded, before I upload it to Youtube.

I tested the deblocking filter, but it has no effect.

JH26 wrote on 7/31/2023, 6:02 AM

I have the same problems if I use luts and color correction in the project and render the video in 8 bits. I always have to switch the project to 32bit floating point (video levels) before rendering. And rendering at Best quality. Default is Good.

Try it and let me know.

Thanks, this is the best solution I've tried so far.

This does not completely eliminate the problem, but it corrects it significantly.

Usually I use video noise reduction, but it affects the rest of the video

 

@Former user Could this be a problem with Vegas Pro? And not only a concern of adjustment on my part?

@RogerS Regarding Voukoder, I install it on Windows, then the option appears in Vegas Pro?

 

So far I haven't filmed in 10 bits, because my card has a maximum write speed of 90 mb/s, shouldn't I buy a faster card (a model to be recommended?) and film in 10 bits, to have better quality and no longer have this kind of problem? Even if I export in the end in 8 bits?

pierre-k wrote on 7/31/2023, 6:50 AM

I think something is wrong in Vegas. 8-bit rendering degrades the video and adds more noise and pixels to it. 32-bit mode preserves the original video quality. This topic was once addressed here. I'll try to find it.

I also don't use Magix Avc at all. Sony Avc or Voukoder x264 is much better for me.

Former user wrote on 7/31/2023, 7:07 AM

@Todd-A0 Could this be a problem with Vegas Pro? And not only a concern of adjustment on my part?

Most likely, due to a lack of precision/accuracy. Most or all modern NLE's work in 32bit float by default but if Vegas did that there would be so many more complaints about how slow it is. Vegas's decision to not upgrade the render engine years ago will continue to haunt them.

RogerS wrote on 7/31/2023, 7:28 AM

I have the same problems if I use luts and color correction in the project and render the video in 8 bits. I always have to switch the project to 32bit floating point (video levels) before rendering. And rendering at Best quality. Default is Good.

Try it and let me know.

Thanks, this is the best solution I've tried so far.

This does not completely eliminate the problem, but it corrects it significantly.

Usually I use video noise reduction, but it affects the rest of the video

 

 Could this be a problem with Vegas Pro? And not only a concern of adjustment on my part?

 Regarding Voukoder, I install it on Windows, then the option appears in Vegas Pro?

 

So far I haven't filmed in 10 bits, because my card has a maximum write speed of 90 mb/s, shouldn't I buy a faster card (a model to be recommended?) and film in 10 bits, to have better quality and no longer have this kind of problem? Even if I export in the end in 8 bits?

For LUTs and color correction, the more you stretch an image the more it will break, especially if it's 8-bit to start with. I would encourage all of you to work with 10-bit source footage if it's an option.

Then you can render in high-bit mode (32-bit full, view transform off), produce an 8-bit file and avoid banding and similar artifacts. Any degradation at that point will be due to compression.

Definitely render in best quality, no reason not to.

For Voukoder if you install it in Windows AND install the connector that matches your version of VEGAS it will show up in the render options.

Personally I use 8-bit Sony footage (100mbps 4K X-AVC S) that is carefully shot, color correct it, process it in 8-bit full and render with Voukoder using x264 and am satisfied with the visual quality. [I'm mainly a photographer so don't want my work marred with artifacts] I was also satisfied with 8-bit Cinelike D on a G85 if I turned the in-camera dynamic range expansion feature (something like that) off, otherwise shadows got far too noisy and low-light shots were unusable.

JH26 wrote on 8/1/2023, 6:35 PM

Thanks for your advice

HyperionZ wrote on 8/1/2023, 6:48 PM

Make your videos render in 1440p, that will get rid of a lot of compression on YouTube. White noise is always a problem with YouTube's compression tool so giving it a higher bitrate and uploading at a higher resolution while taking more space is the best way to get rid of it.

🇪🇺 🇵🇹

🇬🇧 🇺🇸 🇧🇷 🇪🇸 🇳🇴 🇯🇵

Happy to chat or try to help

Not great at Language Arts (Writing/Speaking)

Excels at certain areas in this Universe.

 

PC Specifications:

- CPU: I9-13900K [5.8 GHz] {Overclocked to 6GHz}

- CPU Cooler: ASUS ROG Strix LC II 360 ARGB AIO

- RAM: 128GB {4x32} 5600MHz DDR5 [Team T-Force Delta]

- SSD: Western Digital 256GB [1,7GB/S Read Speed | 400MB/S Write Speed] {WDC PC SN520 SDAPNUW 256G 1006}

- NVMe:

  1. Inland Performance 1TB [5GB/S Read Speed | 4,3GB/S Write Speed] {1800TBW | 3D TLC NAND Flash | PCIe Gen 4 x 4}
  2. WD_BLACK SN850X 4TB [7,3GB/S Read Speed | 6,6GB/S Write Speed] {2400TBW | BiCS5 TLC | PCIe Gen 4 x 4}

- HDD:

  1. Western Digital 1TB [150MB/S R/W Speed] {WDC WD10EZEX-08WN4A0}
  2. Seagate Expansion+ 1TB [80MB/S R/W Speed] {SCSI}
  3. Western Digital 8TB [200MB/S R/W Speed] {25FB}
  4. Western Digital 14TB [200MB/S R/W Speed] {264D}

- GPU: Gigabyte RTX 4060 Ti 8GB Eagle {Overclocked}

- Motherboard: ASUS ROG Strix Z790-E LGA 1700 ATX

- PSU: EVGA SuperNOVA 1300 GT

mark-y wrote on 8/1/2023, 10:20 PM

Personally I use 8-bit Sony footage (100mbps 4K X-AVC S) that is carefully shot, color correct it, process it in 8-bit full and render with Voukoder using x264 and am satisfied with the visual quality. [I'm mainly a photographer so don't want my work marred with artifacts] I was also satisfied with 8-bit Cinelike D on a G85 if I turned the in-camera dynamic range expansion feature (something like that) off, otherwise shadows got far too noisy and low-light shots were unusable.

Good response. Since the sample @HyperionZ gave us shows compression / ME artifacts and not shadow noise per se, I'm not sure how 32 bit processing would affect that situation. I still think it's Youtube's shortcoming, and not something we can change.

In fact, some tests from the GH5 posted years ago edited in an earlier version of Vegas indicated more low-light noise with 10 bit processing, not less. Maybe a little temporal noise is enough to hide a bit of artifacting, if so, it's kind of a coincidental solution.