A FAST PreRender Template?

Comments

Grazie wrote on 8/27/2019, 10:49 PM

@Musicvid - Enlightening Numbers! Thanks for doing the testing and your conclusions, made me think of the following.

O....K..... Wild idea here. Instead of going to using a standard or recipe Template for PreRendering, how about using Frameserver to produce a PreRender? Yes I realise there’s the minor issue of FS being ephemeral or whatever, could FS be enlisted to be part of this PreRender/Previewing?

Last changed by Grazie on 8/27/2019, 10:53 PM, changed a total of 1 times.

Grazie

PC 10 64-bit 64gb * Intel Core i9 10900X s2066 * EVGA RTX 3080 XC3 Ultra 10GB - Studio Driver 551.23 * 4x16G CorsVengLPX DDR4 2666C16 * Asus TUF X299 MK 2


Cameras: Canon XF300 + PowerShot SX60HS Bridge

wwaag wrote on 8/27/2019, 10:53 PM

@Grazie

HappyOtterScripts already does this and supports both CPU and NVENC renders to x264.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Grazie wrote on 8/27/2019, 10:56 PM

@wwaag - Yes, of course. What would be the workflow, to outrun a PreRender? Or is this then an actual finished file! Also would it be faster than PreRender?

wwaag wrote on 8/28/2019, 1:05 AM

@Grazie

Guess I'm a bit confused by "PreRender". Do you mean a draft, perhaps low resolution render that can be done very quickly? If so, staying within Vegas is probably your best bet. Using the XDCAM format suggested by MusicVid is probably as fast as you can achieve.

This is a bit simplistic, but I think of rendering as a two-stage pipeline process. During the first stage, Vegas takes a frame from your source, applies whatever compositing and FX you might have and outputs a modified frame. The modified frame is then handed off to the Rendering stage using whatever format you choose to produce a final frame that can be viewed.

Of the two stages, the first is usually the most demanding for complex projects such as yours and take the most time and resources. As such, choosing a low resolution fast rendering GPU-supported codec is unlikely to save a great deal of time since most resources are being used during the first stage. In other words, the bottleneck is really in the processing that takes place during the first stage.

Last changed by wwaag on 8/28/2019, 1:10 AM, changed a total of 1 times.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

matthias-krutz wrote on 8/28/2019, 2:07 AM

Nested projects do not shorten render time, at least for now. The purpose is to better structure and parallelize complex projects. If a fast render time is needed, they are not a good choice. That could change if pre-rendered subprojects are managed. Video proxies for the preview would make working much easier.
Especially for compositions with stills and generated media, rendering time noticeable increases. Then GPU and CPU are not effectively used. Unfortunately, a better hardware does not help here.
In a current FHD 50p project, I can see the drop in rendering speed from 55 (Video AVC) to 6-8 fps (simply stills) in those regions. If I render the subproject directly, then the rendering speed in these regions only drops to 30 fps. That is 4 times the speed.

Desktop: Ryzen R7 2700, RAM 32 GB, X470 Aorus Ultra Gaming, Radeon RX 5700 8GB, Win10 2004

Laptop: T420, W10, i5-2520M 4GB, SSD, HD Graphics 3000

VEGAS Pro 14-18, Movie Studio 12 Platinum, Vegasaur, HOS, HitfilmPro

Grazie wrote on 8/28/2019, 2:46 AM

@wwaag & @matthias-krutz - You both give me the Science behind this Nesting business. And I've inadvertedly "proved" this on my new MONSTA! Hmmm... but sadly understood. So, would it be fair of me to say that although Nested Projects are an excellent advantage to the ASSEMBLING of complex Sources from other Veggies, the PREVIEWING is always always going to be Hobbled by the processing streams created by the NESTING. Nesting will have its limitations, it woud appear I've unearthed this for myself sooner rather than later.

O...K... If the bottle neck is the serving of frames from the Child to Parent then that is the point that MAGIX should focus their attention. I've alreaady found and posted them a Nesting Bug, which they've recognised (where IS Nick?) maybe they could also deconstruct their QA to accomodate for better Previewing for the Parent? @VEGAS_EricD & @VEGASDerek!! 😉

Musicvid wrote on 8/28/2019, 10:48 AM

I think Render Events might be a useful tool to explore.

wwaag wrote on 8/28/2019, 11:58 AM

@Grazie

You wrote: "the PREVIEWING is always always going to be Hobbled by the processing streams created by the NESTING".

It's more than that--it's previewing in general. Here's an example (perhaps extreme). This is the 4 sec intro that I use for some of my video projects.

The project consists of a still with a couple of glint Fx and a HitFilm Light Flare Fx. With my i8750 and Nvidia 1050ti card, I get the following render performance.

For CPU only during rendering: 2.38 fps.

For Nvenc rendering: 2.34 fps

In other words, there really isn't any appreciable difference since the Fx processing is so demanding. With Fx bypassed, the renders are 80 fps.

I learned something very interesting regarding preview performance. Here's a short clip of that project being previewed in V15. You'll note that when Best:Full is selected, the preview fps remains pretty constant at 2.5 fps. However, when Preview Auto is selected it begins at roughly 25 fps and gradually improves after a few iterations until it remains constant at full 59 fps. It's as if it somehow "learns". I have no idea what this means other than it's interesting and offers another vehicle for speculation.

 

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Marco. wrote on 8/28/2019, 1:13 PM

"It's as if it somehow "learns"."

This might be because of a RAM buffering when frames are repeatedly displayed and this is one reason why I use high RAM preview settings most of the time (even if I don't use the RAM preview which is a different thing of course).

If your RAM preview value was not set to 0 (zero), do this and try if the playback still improves with each playback cicle.

wwaag wrote on 8/28/2019, 2:16 PM

@Marco.

You're absolutely right. When set to 0, there is no improvement. I also tried setting it to 1000 and found no difference between that value and the 200 default.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Marco. wrote on 8/28/2019, 2:20 PM

I think with RAM set to higher values the length which could be buffered will encrease.

matthias-krutz wrote on 8/28/2019, 2:39 PM

For this "learning" a sufficiently large RAM is needed. You can test it with Shift-B. I use this function for the preview at the cursor position, which can be called up with the Num 0 key. After a few passes the automatically selected area is appearing fluid. The time I set with Cursor preview duration on 2 or max. 4 seconds.
This function seems to be hardly used. The comma problem when entering the value, would have bothered many. It must be 2,000, not 2.000 as suggested.

Last changed by matthias-krutz on 8/28/2019, 3:24 PM, changed a total of 1 times.

Desktop: Ryzen R7 2700, RAM 32 GB, X470 Aorus Ultra Gaming, Radeon RX 5700 8GB, Win10 2004

Laptop: T420, W10, i5-2520M 4GB, SSD, HD Graphics 3000

VEGAS Pro 14-18, Movie Studio 12 Platinum, Vegasaur, HOS, HitfilmPro

Kinvermark wrote on 8/28/2019, 4:30 PM

Do any of you notice stutters or delays when playing back SHFT-B ram previews of transitions, text composites, etc?

matthias-krutz wrote on 8/29/2019, 6:59 AM

My experiences with the Shift-B RAM preview are positive. It shows the right thing at the right time.
If there are still problems, such as on my laptop with Win 7, I have seen the cause in too little of free RAM. Prerequisite is sufficient free RAM, so Windows does not have to swap.
More critical is that sometimes wrong frames from the RAM preview (GPU??) are displayed, probably from previously "learned". These disappear only by deleting the preview with RAM 0.

Desktop: Ryzen R7 2700, RAM 32 GB, X470 Aorus Ultra Gaming, Radeon RX 5700 8GB, Win10 2004

Laptop: T420, W10, i5-2520M 4GB, SSD, HD Graphics 3000

VEGAS Pro 14-18, Movie Studio 12 Platinum, Vegasaur, HOS, HitfilmPro