Best codec within Resolve environment

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

gordo019

  • Posts: 50
  • Joined: Mon Aug 19, 2019 4:56 pm
  • Location: Colorado
  • Real Name: Gordon Banks

Best codec within Resolve environment

PostSat Sep 28, 2019 9:12 pm

I am sure this has been asked many times but I am wondering about current suggested workflows. My iPhone and Osmo Action cameras both provide H.264 source 4K video. Do I need to convert my clips to ProRes 422 before importing into Divinci Resolve Studio? Or would not not converting and importing my source clips as H.264 be OK during my editing? I am wondering which codec format Divinci Resolve performs best with source 4K media. Mac Resolve platform here.
Apple M1 Max chip
64GB Unified RAM
2TB SSD
10-core CPU with 8 performance cores and 2 efficiency cores
32-core GPU
Offline
User avatar

waltervolpatto

  • Posts: 10588
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: Best codec within Resolve environment

PostSat Sep 28, 2019 10:10 pm

Best choices ate prores 422 and dnx equivalent
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline
User avatar

Cary Knoop

  • Posts: 1515
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: Best codec within Resolve environment

PostSat Sep 28, 2019 10:24 pm

In addition to ProRes and DNxHR Cineform works good as well.
Offline

Michael_Andreas

  • Posts: 1672
  • Joined: Sat Jan 05, 2019 9:40 pm
  • Real Name: Michael Andreas

Re: Best codec within Resolve environment

PostSat Sep 28, 2019 10:39 pm

Transcoding will not add any detail not in the original camera footage. But there may be other reasons driven by your system hardware.

As a quick rule of thumb, your GPU card should have 4GB of dedicated memory for HD footage and 8GB for UHD. Since your GPU has only 4GB, you may get GPU Memory errors. So you may need to transcode to lower resolution using another app.

Another issue is that h.264 and h.265 takes more processor power to decode. If you had a recent NVIDIA card with DR Studio, the decoder is hardware accelerated. DR can be set up to generate optimized media which is less tasking on your hardware so you don't have video freezing while editing.
_________________________________________________
DR Studio 17.4.1 Win10Pro 21H1/19043.1320 - i7-6700K@4GHz, 32GB RAM
RTX 2070 8GB, "Studio" driver 472.39
OS,Library: 1TB SSD - Project: 1TB SSD - Cache: 1TB NVMe
Offline

Ole Kristiansen

  • Posts: 284
  • Joined: Tue Nov 28, 2017 8:37 pm

Re: Best codec within Resolve environment

PostSun Sep 29, 2019 10:57 am

Your Iphone records variable framerates no nles likes variable framerates ! You can use handbrake to convert your recordings to constant framerates ! You can get an app filmic pro for your Iphone - so you can record with constant framerates !
Offline
User avatar

gordo019

  • Posts: 50
  • Joined: Mon Aug 19, 2019 4:56 pm
  • Location: Colorado
  • Real Name: Gordon Banks

Re: Best codec within Resolve environment

PostSun Sep 29, 2019 4:14 pm

I have had no issues with iphone frame rates or importing into DR. iPhone: XR 4K 30FPS camera setting.
Apple M1 Max chip
64GB Unified RAM
2TB SSD
10-core CPU with 8 performance cores and 2 efficiency cores
32-core GPU
Offline

Jim Simon

  • Posts: 31017
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Best codec within Resolve environment

PostSun Sep 29, 2019 4:15 pm

I recommend the Optimized Media route, using Cineform YUV 10 bit at 1/4 resolution.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Mario Kalogjera

  • Posts: 1202
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Best codec within Resolve environment

PostSun Sep 29, 2019 8:27 pm

Michael_Andreas wrote:Another issue is that h.264 and h.265 takes more processor power to decode. If you had a recent NVIDIA card with DR Studio, the decoder is hardware accelerated.


Let's this not go unsaid: his Radeon Pro should accelerate decoding and encoding of h.264 and h.265 as well.
Last edited by Mario Kalogjera on Sun Sep 29, 2019 8:39 pm, edited 1 time in total.
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Cary Knoop

  • Posts: 1515
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: Best codec within Resolve environment

PostSun Sep 29, 2019 8:34 pm

Mario Kalogjera wrote:
Michael_Andreas wrote:Another issue is that h.264 and h.265 takes more processor power to decode. If you had a recent NVIDIA card with DR Studio, the decoder is hardware accelerated.


Let this not go unsaid: his Radeon Pro should accelerate decoding and encoding of h.264 and h.265 as well.

The problem is not just the frame decoding complexity for complex CODECs like H.264 and H.265 compared to simple CODECs like Cineform, DNxHR, and ProRes.

This is of minor influence compared to the problem of dealing with long GOP encodings in an NLE because long GOP encodings require multiple frames to encode just one frame. This is the largest issue if your footage is H.264/265 and encoded long GOP.
Offline

MishaEngel

  • Posts: 1432
  • Joined: Wed Aug 29, 2018 12:18 am
  • Real Name: Misha Engel

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 12:17 am

Just pick the one you like https://blog.frame.io/2017/02/13/50-intermediate-codecs-compared/

We always use Cineform since it's the lowest on resources (compute and storage) at an equal quality.
Offline

Singularity

  • Posts: 254
  • Joined: Sat Jun 09, 2018 12:31 pm
  • Real Name: Ki Rin

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 8:49 am

MishaEngel wrote:Just pick the one you like https://blog.frame.io/2017/02/13/50-intermediate-codecs-compared/

We always use Cineform since it's the lowest on resources (compute and storage) at an equal quality.


I'm curious about these results. I recently tried Cineform 10 bit YUV, but was not able to achieve real time playback on my machine.
I found that the DNxHD HQX codec worked much better for me. I wonder why that would be, since from my understanding cineform should perform better shouldn't it?
Resolve 18 Studio. Windows 11 Pro. Ryzen 2700x. GTX 3060. 32GB 3200mhz DDR4 RAM. ASUS Crosshair x370.
Offline

MishaEngel

  • Posts: 1432
  • Joined: Wed Aug 29, 2018 12:18 am
  • Real Name: Misha Engel

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 12:27 pm

Singularity wrote:I'm curious about these results. I recently tried Cineform 10 bit YUV, but was not able to achieve real time playback on my machine.
I found that the DNxHD HQX codec worked much better for me. I wonder why that would be, since from my understanding cineform should perform better shouldn't it?


At the same quality level, Cineform uses less compute resources than ProRes or DNx.
Offline

Singularity

  • Posts: 254
  • Joined: Sat Jun 09, 2018 12:31 pm
  • Real Name: Ki Rin

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 2:56 pm

MishaEngel wrote:
At the same quality level, Cineform uses less compute resources than ProRes or DNx.


Yes, that's why I don't understand why I was able to achieve relatively smooth playback with DNx, but not with Cineform.
Resolve 18 Studio. Windows 11 Pro. Ryzen 2700x. GTX 3060. 32GB 3200mhz DDR4 RAM. ASUS Crosshair x370.
Offline

kinvermark

  • Posts: 569
  • Joined: Tue Apr 16, 2019 5:04 pm
  • Real Name: Mark Wilson

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 4:48 pm

Quality level the same? There are some low bitrate DNX options that do give good performance.

BTW, keep in mind the difference in use case between intermediates and proxies, and also that there are two different ways to make proxies: automatic through "optimized media" and "roll your own." In the latter case you could use almost anything as long as it is lightweight enough (e.g. low bitrate h264 from GPU acceleration ASIC.)
Windows 11 laptop. Intel i7-10750H, 32GB RAM, Nvidia 4070 ti Super eGPU, SSD disks. Resolve Studio (latest)
Offline

Jim Simon

  • Posts: 31017
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Best codec within Resolve environment

PostMon Sep 30, 2019 9:47 pm

Singularity wrote:I recently tried Cineform 10 bit YUV, but was not able to achieve real time playback on my machine.


At what resolution?

Were any effects in use?
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline
User avatar

waltervolpatto

  • Posts: 10588
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: Best codec within Resolve environment

PostTue Oct 01, 2019 12:27 am

Btw, from your source, prores 422hq is plenty, if we're talking about "best" codec, then the answer can be different: cineform, dpx or the might exr...
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline

Singularity

  • Posts: 254
  • Joined: Sat Jun 09, 2018 12:31 pm
  • Real Name: Ki Rin

Re: Best codec within Resolve environment

PostTue Oct 01, 2019 1:29 am

Jim Simon wrote:
Singularity wrote:I recently tried Cineform 10 bit YUV, but was not able to achieve real time playback on my machine.


At what resolution?

Were any effects in use?


I'll have to retest this to make sure. But I believe I tried Cineform at 1080p, and DNx HQX also at 1080p.
No effects, just dropped some clips into the timeline, but the cineform optimized media was dropping frames, so I deleted and regenerated in DNx.

I'll retest to make sure and post back.
Resolve 18 Studio. Windows 11 Pro. Ryzen 2700x. GTX 3060. 32GB 3200mhz DDR4 RAM. ASUS Crosshair x370.
Offline

Jim Simon

  • Posts: 31017
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Best codec within Resolve environment

PostTue Oct 01, 2019 3:32 pm

We don't get to pick a specific resolution for Optimized Media, only a ratio.

Choose 1/4 resolution.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], panos_mts, Richard_Reeves, Stephen Swaney and 190 guests