4K NVidia Encoder Large PNG Artifacts and/or Locked Renders

ccscotty wrote on 10/5/2020, 11:56 PM

I've noticed this issue in VP15 and it still exists in VP18 (build 334) after one test render now that I have that version. The render will have visual artifacts when showing the PNG images, or the render will get stuck in the process so that I have to force the application to close. I haven't tried recently, but I'm pretty sure it happened with large JPEGs as well.

This doesn't happen with the MainConcept based encoder. I'm glad because it allows me to actually do 4K with this style of video, but it takes significantly longer to render with this one compared to the Nvidia based encoder.

This doesn't happen at 1080p with the NV renderer from what I recall of past projects.

I tried rendering the portion of the video that failed. I had two images that should display for ~3 seconds on a pair of tracks, resized with the picture-in-picture FX plugin so that they fit on the screen side-by-side at 4K. They are 6000x4000 PNG images (~35MB each). I noticed in the preview window as it was processing frames, one of the images was completely not showing. After the render finished it was garbled from the point it tried to switch from a video clip to displaying the PNGs and then stayed garbled while trying to show the PNGs.

Often I include sample images in videos. Resizing them with the crop tool to fit in the screen, fit in a portion of the screen, or fit and be sized to a portion of the screen (crop tool plus picture-in-picture FX so I can show a portion of the image). It's easier to simply use the full sized images so I can show viewers what it looks like fit to the screen or what it looks like at 100% (photography tech videos...)

Computer:

  • Windows 10 Pro (19041.508)
  • Intel i7-6700
  • 32GB RAM
  • MSI GTX 1060 6GB graphic card
  • Latest Nvidia Studio drivers (456.38)
  • I edit on a pair of 500GB in RAID 0, this issue existed on a single SSD drive as well.

Custom encoder settings used:
Magix AVC/ACC MP4
Audio: 384 Kbps, 48,000 Hz, 16 Bit, Stereo, AAC
Video: 29.970 fps, 3840x2160 Progressive, YUV, 44 Mbps
Pixel Aspect Ratio: 1.000

  • UHD 3840x2160
  • Profile: High (single pass)
  • Frame rate: 29.970
  • Encoder mode: NV Encoder
  • Field order: progressive scan
  • Variable bit rate: maximum of 70,000,000 and average of 44,000,000
  • Preset: high quality
  • RC mode VBR
  • Project: rendering quality Best, Color space Rec.709, color range Limited (default)

 

 

Comments

JN- wrote on 10/6/2020, 3:09 AM

@ccscotty I previously found that corruption, or zero byte files occurs with certain Nvidia encoder settings.

The cutoff was ~ 70 Mbps, below which you might not have an issue. I always use a preset of HQ and a RC mode of Vbr HQ to avoid those issues, and I can then render up to very much higher Mbps values.

 

Last changed by JN- on 10/6/2020, 3:13 AM, changed a total of 1 times.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

ccscotty wrote on 10/6/2020, 10:44 AM

@ccscotty I previously found that corruption, or zero byte files occurs with certain Nvidia encoder settings.

The cutoff was ~ 70 Mbps, below which you might not have an issue. I always use a preset of HQ and a RC mode of Vbr HQ to avoid those issues, and I can then render up to very much higher Mbps values.

 

Much appreciated. I'll have to try that out!

j-v wrote on 10/6/2020, 11:19 AM

@ccscotty
Do you use default settings for the Options/Preferences or did you change settings, if yess which ones?
And are you able to show here the settings at Options/Preferences/File I/O?

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)

 

ccscotty wrote on 10/7/2020, 5:25 PM

@ccscotty
Do you use default settings for the Options/Preferences or did you change settings, if yess which ones?
And are you able to show here the settings at Options/Preferences/File I/O?

I haven't changed anything in Options/Preferences/File I/O. I'm using none of the legacy options. GPU settings are all default.

The one thing I do have is the video preview RAM buffer set at 1024 instead of 200. I'd think that's unrelated to exporting videos.

From my experience, this appears to be a long standing issue with the NV encoder at higher bitrates and large images. I haven't experimented with JN's settings yet, but it sounds like he got around the issue partly.

 

j-v wrote on 10/8/2020, 4:12 AM

video preview RAM buffer set at 1024 instead of 200. I'd think that's unrelated to exporting video

Do you use that RAM preview from the Tools (Shift+B) very often?
If not try to set in Video Acceleration the amount to o and try again.

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)