• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

FAQ: Details about Scaling, Quality, and the GPU in Premiere Pro

Adobe Employee ,
Jun 12, 2020 Jun 12, 2020

Copy link to clipboard

Copied

A lot of people are talking about CUDA and OpenCL on the GPU in the context of Premiere Pro. But the talk is almost always about speed, speed, and more speed. Yeah, using CUDA or OpenCL on the GPU to process a lot of effects and such does speed things up (a lot!) in many cases, but that’s not the whole story.

 

Moving a lot of processing to the GPU can also make things better, not just faster.

A good example is scaling. There are lots of different scaling algorithms, and they each have their pros and cons. Some are better for scaling things up, some are better for scaling things down; some are better for sharp graphics, and some are better for gradual changes in color across an image. The real tradeoff, though, is that the high-quality algorithms are also—in general—the slow algorithms.

 

However, these higher-quality algorithms are only really slow if you are forced to execute them serially, but they are relatively fast when you can run them in parallel. One of the huge advantages of GPU processing is that GPUs are massively parallel, with hundreds of parallel processing units. There are a lot of pixel operations that are very amenable to parallel processing, since you don’t need to know the result of the operation on one pixel to do the same operation on its neighbor in the same image. Scaling is just such an operation. When you move scaling operations to the GPU, you get to take advantage of scaling algorithms that were just plain unfeasible on the CPU.

 

So, scaling using CUDA or OpenCL can be better. And faster. In some tests done here, scaling was more than 40 times faster on the GPU than on the CPU at maximum quality.

When Premiere Pro is just using the CPU for the processing of scaling operations, it uses the following scaling methods:

 

 

The variable-radius bicubic scaling done on the CPU is very similar to the standard bicubic mode in Photoshop, though the Premiere Pro version is multi-threaded and optimized with some SSE instructions. Even with these optimizations, it is still extremely slow. For high-quality scaling at faster-than-real-time processing, you need to use the GPU.

 

When Premiere Pro is using CUDA or OpenCL on the GPU to accelerate the processing of scaling operations, it uses the following scaling methods:

 

 

For export, scaling with CUDA or OpenCL is always at maximum quality, regardless of quality settings. (This only applies to scaling done on the GPU.) Maximum Render Quality can still make a difference with GPU-accelerated exports for any parts of the render that are processed on the CPU. Over time, we are working on reducing the list of exceptions to what can be processed on the GPU. For an example of a limitation that can cause some rendering to fall back to the CPU, see this article: “Maxium dimensions in Premiere Pro CS5”.

 

When rendering is done on the CPU with Maximum Render Quality enabled, processing is done in a linear color space (i.e., gamma = 1.0) at 32 bits per channel (bpc), which results in more realistic results, finer gradations in color, and better results for midtones. GPU-accelerated processing is always performed in a 32-bpc linear color space. To have results match between CPU rendering and GPU rendering, enable Maximum Render Quality.

Note: There are two places to enable or disable Maxium Render Quality—in the sequence settings and in the export settings. The sequence setting only applies to preview renders; the export setting (which defaults to the sequence setting) overrides the sequence setting.

One final note, as long as I have your attention:

 

I’ve noticed a lot of people—the vast majority, really—using the term ‘Mercury’ or ‘Mercury playback engine’ as if it refers specifically to GPU processing. Not true. The term ‘Mercury playback engine’ refers to a whole set of performance improvements in Premiere Pro, including the port to a 64-bit application, the multi-threaded nature of the application, and the use of CUDA and OpenCL on the GPU to accelerate some things. Anyone using Premiere Pro CS5 or later is getting all but one of these advantages; people with GPUs that meet the requirements are getting one additional advantage.

 

This article was originally written as a Team Blog post by former Adobe employee, Todd Kopriva. It is reprinted here because the blog system formerly used by the Premiere Pro Team is being retired. I'd like to thank my former colleague for writing such an informative article. 

TOPICS
FAQ

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2020 Dec 16, 2020

Copy link to clipboard

Copied

Todd Kopriva's post was for Premiere Pro CS5, does this apply to modern version of Premiere Pro?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 23, 2020 Dec 23, 2020

Copy link to clipboard

Copied

Yes. It's outdated in some areas, though. Let me take that task once I get back into the office. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 23, 2020 Dec 23, 2020

Copy link to clipboard

Copied

hey Kevin, I think my head just exploded...  Can you just parse this and tell us the way to get the best results for scaling footage?  If it's different for scaling down and for scaling up, I can deal with that...  Will After Effects do a better job?   Knowing why is sometimes nice, but not always...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 23, 2020 Dec 23, 2020

Copy link to clipboard

Copied

I think that detail preserving upscale might give better results in AE, if my memory serves me correctly. I'll have to ask after the break is over. We're all going on break until after the New Year so no one is around to ask for a wee bit. 

Thanks,
Kevin

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 23, 2020 Dec 23, 2020

Copy link to clipboard

Copied

LATEST

have a great holiday...  or as great as possible in these crazy times.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines