DJI D-Log-M Color Grading, Mini 4 Pro
DJI has been offering a flat color profile in their drones and action cameras for years. The intent of these flat profiles is to provide the user a file that captures the most dynamic range possible and can then be better color graded later. This practice is very common in consumer cameras from Sony, Canon and others.
These files do require color grading and will not look very good straight out of camera (SOOC). For files from a Canon camera encoded with Clog, Canon has provided documentation on the math behind this color space and how to convert it to others. With this documentation Black Magic was able to build a Color Space Transform (CST) inside Davinchi Resolve to allow basically 1 click conversion to the Rec 709 color space we commonly want to export to.
DJI has refused to provide any documentation for D-Log-M (https://forum.dji.com/forum.php?mod=viewthread&tid=297669&extra=&page=1), so it is basically black box. They have provided Log to Rec709 LUTs, but as will be demonstrated later, these are damaging to the image and do not provide a good starting place for color grading.
**I made my best attempt to reverse engineer out an accurate and neutral conversion profile and detailed (probably excessively) here**
[https://www.zebgardner.com/photo-and-video-editing/dji-d-log-m-colorgrading](https://www.zebgardner.com/photo-and-video-editing/dji-d-log-m-colorgrading)
You can try the Resolve Power Grade
[https://www.zebgardner.com/s/D\_LOG\_M\_to\_Rec\_709\_Power\_Grade\_ZG\_Rev1.zip](https://www.zebgardner.com/s/D_LOG_M_to_Rec_709_Power_Grade_ZG_Rev1.zip)
Or the LUT
[https://www.zebgardner.com/s/D\_LOG\_M\_to\_Rec\_709\_LUT\_ZG\_Rev1.cube](https://www.zebgardner.com/s/D_LOG_M_to_Rec_709_LUT_ZG_Rev1.cube)
Comparisons

[https://youtu.be/SC5l1-z2JRQ?si=e2MKoeEe2XDC2prN](https://youtu.be/SC5l1-z2JRQ?si=e2MKoeEe2XDC2prN)