LogoSolid State Code Blog

Editing h265 videos in DaVinci Resolve

19 March, 2021

Linux edition of DaVinci Resolve is not able to edit h265 videos, probably some license issues. The best way to edit it, is to convert it to another format firstly and then use in DaVinci. My solution is to use ProRes coded. FFmpeg will be used to perform conversion.

Command

ffmpeg -i vacation.mp4 -c:v prores_ks -profile:v 3 -qscale:v 9 -c:a pcm_s16le vacation.mov

where -i INPUT_FILE_NAME.mp4 is input and at the end OUTPUT_FILE_NAME.mov is output. After converting DaVinci accepts video without any hassle.

Automate

Bash script for converting all *.mp4 files to ProRes in .mov container.

#!/bin/bash
for file in *.mp4; do
    filename="${file%.*}"
    ffmpeg -i $file -c:v prores_ks -profile:v 3 -qscale:v 9 -c:a pcm_s16le $filename.mov;
done

Resources

Having problems with stuff above? Create issue on Github for this page or contact me!

Solid State Code - Bartosz Walicki 2021 | This site is not storing any data nor cookies