4k project and render settings - rendering errors

mysticaleditor wrote on 9/23/2019, 1:21 PM

Hello all and thanks in advance for the responses. I have scoured the forum for a couple days but just can't seem to pin down an answer.

I have had a ticket with Magix for 5 days with no response and past due project deadline (9/17). Magix Ticket#2019091917006001 if you are monitoring.

I have ran in to an issue with rendering 4k projects. Have latest v16 & v17 updates installed (today's 321 update). Have uninstalled completely and reinstalled both 16 & 17 to no avail and same result. Neat video 5.1 and Vegasaur 3.9 - both latest updates.

Working on final render of a massive project 4k project with mixed media - 2.5 hour timeline 12 tracks deep with image processing, neat video, etc. All 4k 23.976. Panasonic cx-350 (150mps long gop), canon EOS-R, Omso, Osmo pocket, Hero 6 - everything 4k.

I have completed similar projects without issue.

I have a threadripper 2950, 32GB ram, ASUS dual RTX 2070 with 8GB - Nvidia with latest studio drivers (431.86), SSD running program files and data on external 3.5 sata drive via sled as I always do. Win 10 Pro. Latest software and driver updates on everything.

Project settings: (can't get image to upload)
4k - WFHD 24p

frame rate: 23.976 Best, Gaussian, Blend, Smart resample.
Adjust source media... checkbox NOT checked.


Rendering to Magix 4k HEVC /AAC MP4 (Intel QSV) codec.
Frame size 2160 - 3840x2160
Allow source to adjust... checkbox NOT checked.
Field: None - progressive scan

Variable: bit rate max 48,000,000 Average 24,000,000

Encode Mode: Intel QSV
Preset: Balanced
RC: N/A (greyed out)

Project obviously takes forever (over a day) to render.

Problem I am encountering is I get a file which renders all audio, but partial video - like 5 minutes out of 2.5 hours. The final file when loaded up renders the first few minutes of the project, then random frames throughout making it appear to be in fast motion. Will play back flawed file in Media players but no ff or rewind capabilities. When watching the program monitor during rendering, it definitely advances 5 frames before seeing a change of frames on the screen and that change is 1 frame.

I have toyed with the settings and combinations so many times now, I am not sure what baseline is.

Project was started in 16, then migrated to 17. I've tried an older version of the project created in 16, and rendered on 16 - same results. 17 project now giving me headaches of "low memory error" and black frames while rendering.

Any ideas? thanks, Paul

 

Comments

Former user wrote on 9/23/2019, 1:51 PM

@mysticaleditor

“17 project now giving me headaches of "low memory error" and black frames while rendering.”

Ive checked out the new VP17 update today and it still exhibits memory issues, so not fixed, no mention in bug fixes either. https://www.vegascreativesoftware.info/us/forum/vegas-pro-17-update-1-build-321-general-discussion--117239/#ca730488

You should try finishing it in VP16, if thats possible, maybe copy and paste.

I found that setting dynamic ram preview to zero allowed me to complete render on laptop for the 4K test project, using VP17, unnecessary in VP16.

j-v wrote on 9/23/2019, 2:08 PM

What are your settings for Preferences/Video/ Dyn Ram max and GPU accelleration?
Did you try the other two renderoptions of that template? With me OSV is the slowest (very slow) and the NV is far the fastest without errrors for the same type of project.

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)

 

mysticaleditor wrote on 9/23/2019, 2:28 PM

Hi there. Thanks for the reply.

Video: have tried from default 200 to 8000, and also 0

Threads: have tried 16 & 32

GPU: Yes - Nvidia

 

j-v wrote on 9/23/2019, 3:26 PM

On the desktop from signature with this settings

and this 3 rendersettings choosen

1 minute of that 4 K project with 4K Hevc GOPro 7 files, Media Generators and T&T
renders with QSV in 635 sec, with MC in 256 sec and with Nvenc in 148 sec., all without further problem,

Taskmonitor shows with QSV 100% CPU and 2 % Nvidia GPU, with Mainconcept 100% CPU and 10 % GPU and with Nvenc 30-40% CPU and 30-35% GPU all average.

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)

 

john_dennis wrote on 9/23/2019, 4:54 PM

Have you considered rendering your project to a lossless intermediate and using the intermediate to render to your final format? Doing so would separate the decode, resample, color grading complexity from the final encoding complexity. Consider Magic YUV RGB or Magix Intermediate. If you choose uncompressed AVI, bring lots of disk space.

mysticaleditor wrote on 9/23/2019, 6:17 PM

Have you considered rendering your project to a lossless intermediate and using the intermediate to render to your final format? Doing so would separate the decode, resample, color grading complexity from the final encoding complexity. Consider Magic YUV RGB or Magix Intermediate. If you choose uncompressed AVI, bring lots of disk space.


I have considered it but the estimate of rendered file size was in excess of 2TB. It is currently using 1.2TB of a 2TB drive.

A little Vegas trick I've picked up on over the years with this workflow is: In this first-pass render of the 2.5 hour project, I've already created a second project with the final edits (from previously successful 1080 .mp4 render). So if I need to make a change in the first project (like processing color on track), I can re-render, overwriting the original filename and as long as it is the same exact length (markers in and out), then it will load-up in the 2nd project.

SuperG wrote on 9/24/2019, 12:46 AM

I’m also seeing 4K HEVC strangeness as well. I’m working with a 4K 03:32;00 action-cam sequence. In my case – I believe the error has something to do with software-based QSV HEVC encoding. Read on to see why I think this may be so.

I can render it to 1080p fine, but rendering it to 4K generates a messed up file. The file will play partially in either the Windows 10 media player (I have the optional HEVC decoder from the Windows Store) or PowerDVD.  Loading the rendered file in Vegas’ trimer and hover scrubbing shows black after approximate about 13;00 seconds in.

Both 1080 and 4K were rendered using Vegas’ standard HEVC encoding profiles with no changes.

Now here’s the rub – I can render this out to Prores and can successfully encode to 4K HEVC from that using Adobe media encoder, which renders about HEVC about 4X faster. That simply shouldn’t be possible unless Vegas is defaulting to a software HEVC encode.

Here’s some system info to chew on

I have a skylake 6700K with 48GB of ram.

On the video side I have a GeForce 745 GTX with two monitors, and the onboard Intel (530) graphics, which is enabled in bios but has no monitor connected.

According to Nvidia – the 745 GTX is only good for accelerating X264. No NVEnc HEVC,

However, the intel 530 is useable for HW HEVC encoding by Adobe Media Encoder and works well there. I’ve tested both HW and software 4K encodes and no problem, However the 4X slower encode by Vegas seems to indicate that it’s not using Quick Sync acceleration and must be defaulting to software encoding.

Bonus: I just now tested an encode by using Vegas UHD template, but modifying the encoder to MainConcept HEVC instead of Intel Quick Sync. Bingo – successful encode, and about the same time as the accelerated Adobe encoder.

The issue seems to be the Intel Quick Sync encoder when in 4K, at least on my setup, which notable runs very slowly. Interestingly, the MainConcept HEVC encoder appears to be HW accelerated. Go figure?