To convert QuickTime to H.264 on Mac running macOS Mojave, high sierra, sierra, etc., needs to change QuickTime codec like MPEG-4/Cinepak codec to H.264. Well, all you need is a professional Video Converter for Mac, that can help you convert video from QuickTime to H.264. Since this codec will compress into smaller file size while maintain the HD quality, the converting progress will take much longer than H.264 or other common codecs. 'H.264 HD Video(.mp4)' option will output your files as H.264 high profile, which will reduce the quality H.265/HEVC degradation to.
If you are experiencing poor video playback of AVC / H.264 / HEVC codecs in DaVinci Resolve, here’s what you need to know.
There is no magical way to ensure perfect real-time playback of AVC / H.264 and H.265 / HEVC encoded video natively in DaVinci Resolve, especially if you’re dealing with multiple streams. These common but complex video codecs need to be decoded before you can work with the images. Decoding AVC or HEVC in real time is dependent on your CPU performance, and if your GPU and software support hardware acceleration.
AVC / H.264 / HEVC / H.265 and DaVinci Resolve
DaVinci Resolve has a long history, with its origins dating back to the early 1980’s as da Vinci Systems, long before the technology was bought by Blackmagic Design in 2009.
DaVinci has always been a high-end color correction and finishing system. It was designed primarily for performance with uncompressed media. Of course, this has changed and the software has evolved to be far more flexible and inclusive of all kinds of common compressed media. In fact, Resolve is compatible with just about every common codec in use today.
Just because Resolve will read your AVC or HEVC encoded camera files, doesn’t mean it will play them back at full resolution in real-time. Depending on your hardware, Resolve may or may not manage to offer real-time playback when working with compressed video sources natively.
DaVinci Resolve Studio does support hardware GPU encoding and decoding if you’re using a compatible GPU. However, the free version of Resolve doesn’t, and so transcoding these files to an easier (less compressed) codec may be the best solution. For various technical reasons, transcoding your AVC / HEVC source media into an edit friendly format is a good idea even if your system does support hardware acceleration.
What is AVC / H.264 and HEVC / H.265?
Camera manufacturers have been using H.264 compression for a long time. More recently H.265 also known as HEVC (High Efficiency Video Coding) has been introduced. HEVC offers roughly twice the image quality of H.264 at the same bit rate, or the same quality at half the bit rate.
One of the most well known is Sony’s XAVC and XAVC-S. Sony XAVC is a very efficient compressed video formats, enabling high quality video encoding in low to intermediate bit-rates and small file sizes. XAVC and XAVC-S are based on the H.264 codec with uncompressed LPCM audio.
It’s not only Sony of course. All consumer video and many professional video formats employ H.264 compression. These codecs are also behind video streaming and broadcast formats.
Video Wrappers
H.264 Codec Format
A wrapper is the container for audio and video data. It is where your video file extension comes from… .mov, .avi, .mxf, .mp4 etc. XAVC uses the MXF wrapper, and XAVC-S uses MP4 wrapper, but the video inside is still H.264.
Video Codecs
The H.264 codec is a very flexible codec for efficient video encoding. It comes in a number of profiles which can accommodate different capabilities when it comes to color bit-depth, chroma sub-sampling, resolution, and intra or inter-frame compression. The H.265 / HEVC codec is even more efficient, at the cost of higher complexity.
CPU and GPU Decoding
Any discussion of performance in DaVinci Resolve is always spoken about in close connection with the GPU (Graphics Processing Unit). However, the decoding of source media is generally tasked to the CPU, not the GPU. As I mentioned previously, DaVinci Resolve Studio does support hardware decoding on supported GPU’s.
CPU or GPU, it is important to understand the internal processing pipeline involved. Resolve first must decompress and decode the source media into its uncompressed 32-bit floating point YRGB space regardless of source media color space, color bit-depth or chroma sub sampling scheme.
In the case of H.264 and H.265 this is a computationally intensive task. In order for Resolve to play back your XAVC or XAVC-S (or AVCHD for that matter) at full resolution in real-time, your system CPU (or GPU) must be capable of decoding and expanding the video data into 32-bit float YRGB space in memory in real-time. This is a vast amount of data to generate, from scratch, on the fly.
CPU Decode
Resolve has to decode H.264 and H.265 / HEVC encoded files using your system CPU before full raster video frames can be processed, and while this has been improved in Resolve, it’s still a problem for many on laptops and lower power systems to do this in real time. Working with these codecs natively can also result in audio drift and sync issues over the duration of long clips.
From the DaVinci Resolve 15 Hardware Selection and Configuration Guide on page 5:
However, for editing, VFX, and grading, the compressed data needs to be decompressed to the full RGB per pixel bit depth that can use four times or more processing power of a HD image for the same real time grading performance. The decompression process, like compression, uses the CPU, so the heavily compressed codecs need more powerful and a greater number of CPU cores. H.264 and H.265 are heavily compressed formats and while not idea for editing are often used by lower cost cameras. If you use these types of compressed codecs you will need a more powerful CPU or be prepared to use proxies or Resolves optimized media feature.
The fact is, these codecs have never been good for post production. The solution is to transcode your camera media to an easily decoded post-friendly codec. If you don’t want to do this as a separate step before you start editing, you can create Optimized Media within Resolve, and / or use Render Cache to transcode your clips on the timeline. Each of these has pros and cons.
GPU Decode
If you are running Resolve Studio on Windows, and have a compatible Nvidia or AMD GPU, you will be able to take advantage of hardware H.264 decoding. Hardware decoding on Nvidia GPU’s is more clearly documented in the Nvidia Video Encode and Decode GPU Support Matrix.
Hardware decoding is not supported in the free version of DaVinci Resolve on Windows or Linux, but is enabled on Mac. If you’re a Windows user and your GPU supports it, hardware acceleration alone is a good enough reason to buy Resolve Studio over using the free version.
How To Improve AVC / H.264 and HEVC / H.265 Performance in DaVinci Resolve
Improving playback performance of compressed media in DaVinci Resolve may require you to transcode your video files into a codec your system can more easily handle. This has the added advantage of allowing you to work with constant frame rate, edit friendly video files that will behave consistently throughout your post production workflow.
Transcoding Media
The fact of the matter is these highly compressed codecs are very efficient for encoding video data into small file sizes. It is not however easy or quick to decode for high-quality finishing and post production processing.
What you can do, is transcode your source media to a intermediate format which Resolve is able to process far more efficiently. These files then become your master media for post. Apple ProRes is a great general purpose format for this, as is Avid DNxHD or DNxHR and as long as you are transcoding at the same resolution, to a less compressed format, in the same or greater color bit-depth, you should not be losing any image quality as a result. Here’s a guide of possible transcode formats to consider.
Mac
- Apple ProRes 422 HQ – for source media of 8 or 10-bit color depth, 4:2:0 or 4:2:2
- Apple ProRes 4444 / 4444 XQ – for source media of 10-bit color depth or more, 4:4:4, suitable for HDR
Windows
HD
- Avid DNxHD 220 – for source media of 8-bit color depth, 4:2:0 or 4:2:2
- Avid DNxHD 220x – for source media of 10-bit color depth, 4:2:2
- Avid DNxHD 444 – for source media of 10-bit color depth, 4:4:4
4K
- Avid DNxHR HQX – for source media of 8 or 10-bit color depth, 4:2:2 or 4:2:0
- Avid DNxHR 444 – for source media of 10-bit color depth or more, 4:4:4, suitable for HDR
The resulting transcoded media should have the same timecode as the source media as well as the same filename. Only the file extension may have changed. Transcode into a separate folder in order to avoid overwriting your camera source files if the extension is the same. The resulting files will be larger, but since all the decoding of the source files has been done, Resolve no longer has to rely on the CPU to do it in real-time.
DaVinci Resolve Optimized Media
If you don’t want to transcode all of your source media before bringing it into Resolve, you can use Resolve’s built in Optimized Media tool. DaVinci Resolve gives you the option of generating optimized media directly from clips in the media pool and it handles all the internal linking of files between your original camera files and the optimized media, allowing you to switch between camera media and optimized media in your timeline. You can set the resolution and format for the optimized media in the General panel of the Project Settings.
There are a number of formats to choose from, but keep in mind your storage configuration when you select one. Resolve stores optimized media on the same scratch disk location it stores render cache files. You’ll need to make sure you’ve specified a location on fast enough storage to read your optimized media real-time.
Resolve lets you make optimized media in any flavor of Apple ProRes from “Proxy” up to 4444 XQ as well as Avid DNxHR LB through 444. You also have the option of making Uncompressed 10-bit or Uncompressed 16-bit float media which is stored in Resolve’s own .dvcc image format.
Conclusion
Transcoding your AVC / H.264 and HEVC / H.265 encoded media before bringing it into Resolve, or generating optimized media within Resolve is your best solution to improve performance, stability and reliability throughout your post production workflow.
Further Reading
H.264 Codec Installer Mac
- Learn more about DaVinci Resolve Minimum System Requirements
- Check my complete DaVinci Resolve GPU list with the best Nvidia and AMD GPU options for DaVinci Resolve listed and ranked by performance
- Read more about using an eGPU in my article The Best DaVinci Resolve eGPU Options
- Read more about Resolve monitoring in my article Low Budget Resolve Monitoring and Video Color Management
- Read more about storage in my article The Best Storage for Video Editing | Post Workflow Strategy & Backups
Stay in Touch
H 264 Codec For Quicktime Mac
If you’d like to be notified of new articles and tutorials you can subscribe to my very occasional email updates.
H.264 Codec For Mac
Please don’t hesitate to comment with your questions either here, on Youtube, or hit me up on twitter, I will always reply.