ffmpeg + h264 + Resolve

Hello. I cannot find a valid h264 format that Resolve (15 Beta, Windows) is able to load. I have tried invoking ffmpeg with
where FLAGS is among
Each of these files yields a Media Missing error when loading in Resolve.
I have successfully used ffmpeg's prores and dnxhd encoders, but for some applications like screen recording or live feeds, these files are several GB, while an h264 file is tens of MB.
Has someone successfully encoded an h264 file that has loaded in Resolve before? What format or ffmpeg flags did you use? The only information I could find about Resolve's codec support is the DaVinci Resolve Supported Formats and Codecs document, which simply says "H.264 YES".
- Code: Select all
ffmpeg -i input.mkv $FLAGS output.mp4
where FLAGS is among
- Code: Select all
-c:v libx264 -crf 18 -pix_fmt yuv420p
-framerate 29.97 -c:v libx264 -crf 18 -pix_fmt yuv420p
-c:v libx264 -crf 18 -pix_fmt yuv420p -vf scale=1920:1080
-c:v libx264 -crf 18 -pix_fmt yuv422p
-c:v libx264 -crf 18 -pix_fmt yuv444p
-c:v libx264 -crf 18 -pix_fmt yuvj444p
-c:v libx264 -crf 0-pix_fmt yuv420p
-c:v libx264 -crf 26 -pix_fmt yuv420p
-c:v libx264 -crf 18 -pix_fmt yuv420p
-c:v libx264 -crf 18 -pix_fmt yuv420p -profile:v baseline -level 3.0
-c:v libx264 -crf 18 -pix_fmt yuv420p -an
Each of these files yields a Media Missing error when loading in Resolve.
I have successfully used ffmpeg's prores and dnxhd encoders, but for some applications like screen recording or live feeds, these files are several GB, while an h264 file is tens of MB.
Has someone successfully encoded an h264 file that has loaded in Resolve before? What format or ffmpeg flags did you use? The only information I could find about Resolve's codec support is the DaVinci Resolve Supported Formats and Codecs document, which simply says "H.264 YES".