How may I improve render time?

d4n schrieb am 08.01.2023 um 13:05 Uhr

Hey everyone,

I'm coming from Adobe Premiere where I found some render settings (I can't share, not sure about them anymore) to render my video in ~1h. However, Vegas needs 1,5-2 times as much (usually, Vegas is at 20-22 rendered fps). I would love to decrease the render time to 1h or even less. I am no expert, but in a first try I was aiming to recreate settings from Premiere and I ended up with this:

Basics:

  • Using Vegas Pro 20
  • Windows 10
  • It's ingame footage, screen captured
  • Destination is YouTube
  • Overall video output length: 30 Min.
  • Hardware:
    • i9-9900 K
    • RTX 2070 S
  • System load while rendering, no component seems to reach full load at any time (temperatures are okay, CPU is around 50°C):

Source material, consists of 10-20 files like this:

General
Complete name                            : D:\DayZ_x64 2023-01-03 20-43-49-660.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Format profile                           : OpenDML
File size                                : 16.1 GiB
Duration                                 : 3 min 48 s
Overall bit rate                         : 605 Mb/s
Original source form/Distributed by      : Video:Lagarith Lossless Codec Audio0:Lautsprecher (High Definition Audio Device) Audio1:Mikrofon (3- SC450USB                 )
Writing application                      : DxtoryCore ver2.0.0.142

Video
ID                                       : 0
Format                                   : Lagarith
Codec ID                                 : LAGS
Duration                                 : 3 min 48 s
Bit rate                                 : 602 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 60.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 4.835
Stream size                              : 16.0 GiB (99%)

Audio #1
ID                                       : 1
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 3 min 48 s
Bit rate mode                            : Constant
Bit rate                                 : 2 822 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Bit depth                                : 32 bits
Stream size                              : 76.7 MiB (0%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 100  ms (6.00 video frames)

Audio #2
ID                                       : 2
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 3 min 48 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 20.9 MiB (0%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 100  ms (6.00 video frames)

Must-haves, what I don't want to change:

  • 4K (yes, it's upscaled)
  • 60fps

So, my question is:

  • Do you see any potential to improve render time? While keeping a similar level of quality in the output.

The Preset and RC Mode is what I am least familiar with as well as the method of upscaling. But these are just my initial thoughts on where to start.

Some ideas I could test are much appreciated!

Thanks!

Kommentare

Musicvid schrieb am 08.01.2023 um 13:18 Uhr

Yes.

  • Render your video at its native resolution, not 4K. Upscaling, unless you use the AI plugin, "improves" nothing.
  • Don't use timeline effects, Pan/Crop, or media generators.
  • Use an 8 bit project.
  • Record your audio #1 track at 48Khz, not 44.1

That will speed up rendering considerably.

For further peer advice, post all of the information requested here.

https://www.vegascreativesoftware.info/us/forum/important-information-required-to-help-you--110457/

d4n schrieb am 08.01.2023 um 13:35 Uhr

Hey,

I already updated my initial posting.

  • I would agree 4K "improves" nothing in itself, but it looks noticeable more crisp on YouTube, which is much appreciated considering how middling the encode on their can be.
  • "Don't use timeline effects, Pan/Crop," - I don't use it extensively. Sometimes I do and can't identifiy a difference in render time.

What I will try in the next days:

  • 8 bit project
  • Record audio #1 track at 48Khz, not 44.1

Thanks!

j-v schrieb am 08.01.2023 um 13:52 Uhr

@d4n
Your system has also the Intel GPU 630.
When it is not showing up you have to activate it in the BIOS.
After that you must reset Vegas to its default settings, choose the same rendertemplate , but now with QSV ( the Intel GPU),that will go faster than the Nvidia (with me).
Look for the customized rendertemplate

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 schrieb am 08.01.2023 um 14:14 Uhr

Great question and nice to see detailed information as well. I also have Intel iGPU/NVIDIA GPU systems. Vegas loads the NVIDIA one unevenly so you'd get about a 10% time savings using QSV or NVENC through Voukoder.

For preset, lossless is inappropriate for NVENC. Try default instead. Here are some decent starting points and a sample project you can experiment with to see how different settings affect render times.

The AI upscaling Fx in Vegas is extremely slow (at least the last time I tested it). Just rendering to a higher resolution is much faster and with a touch of sharpening added to it can look similar to what the AI does.

3POINT schrieb am 08.01.2023 um 17:34 Uhr

I'm always wondering that renderspeed seems to be more important than renderquality.

The AI upscaling Fx in Vegas is extremely slow (at least the last time I tested it). Just rendering to a higher resolution is much faster and with a touch of sharpening added to it can look similar to what the AI does.

 

Also my experience.

Howard-Vigorita schrieb am 08.01.2023 um 18:09 Uhr

@d4n I didn't know Vegas could read Lagarith. Did you have to do anything special?

EDIT: found and installed the codec here... Vegas 20 now opens Lagariths I made with Vdub2. Don't think anything will speed up reading them except maybe faster media like m.2 or raid. Suggest you transcode them all to something that can be decoded in hardware like avc. You might also try out hevc to see if its hardware decoding is fast enough for your hardware. In the alternative, consider Magic YUV if you want to stick with avi or perhaps Prores which processes pretty quickly if you can stand the 4:2:2 conversion.

Btw, if you're only doing the upscale to get vp9 quality on YouTube, 1440p at 1/2 the bitrate of 4k will more than do it. With hevc, you can drop it another 20% or so. Will give you smaller and probably quicker renders with quality that you started with.

fr0sty schrieb am 08.01.2023 um 19:33 Uhr

AVC and HEVC can be hardware decoded, so that helps to start with that as your source media.

Make sure you have resample disabled in project settings, and your project settings frame rate must EXACTLY match your media frame rate (IE, 24fps vs. 23.976fps).

Do not use 32 bit projects, you're using 8 bit media anyway.

Make sure you encode using a hardware encoder as well (in your case, NVENC).

Use as few effects as possible, even color grading slows things down slightly.

 

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)

OrangeShark schrieb am 09.01.2023 um 02:48 Uhr

d4n I asked about about uploading at 1440p this is answer don't need 4k

Yes, uploading videos to YouTube at 1440p resolution can improve the quality of the 1080p encodes due to the use of the VP9 video codec. VP9 is a high-quality, open-source video codec that is designed to deliver improved compression and visual quality compared to other codecs. When you upload a video to YouTube at a higher resolution, such as 1440p, YouTube will use VP9 to create a 1080p version of the video that is of higher quality than what you would get if you had uploaded a 1080p video directly. This is because VP9 is able to take advantage of the additional information in the higher-resolution video to create a more detailed and clearer 1080p version.