Preliminary support for Canon 5D Mark IV

Updated camconst.json including RAW constants for the new Canon 5D mark IV. Please replase your existing camconst.json with
https://drive.google.com/file/d/0B0NqktTgc54sTG1XeE5CTE45eDQ/view?usp=sharing and test the new beast :wink:
(no support for dual pixel data yet)

2 Likes

Where does camconst.json go on Linux?

Two options: you can overwrite the previous camconst.json, or you can leave the previous one alone and put the new one into ~/.config/RawTherapee/

If you want to overwrite the previous camconst.json, you will find it in one of two places, depending on whether you compile RawTherapee yourself, or install it from a repo.
If you compile RT yourself, drop the new camconst.json into the build dir replacing the previous one.
If you install RT from a repo, which means RT gets installed system-wide, it looks like camconst.json goes into the “datadir” which is /usr/share/rawtherapee
https://github.com/Beep6581/RawTherapee/blob/master/rtengine/CMakeLists.txt#L45
https://github.com/Beep6581/RawTherapee/blob/master/CMakeLists.txt#L126

Hi,

Thanks a lot for making this. I’m still experiencing a problem with opening the 5D4 files though. After adding the camconst.json to .config/RawTherapee my 5D Mark IV RAW files look like this when opening:


And no, I don’t have the Dual Pixel functionality enabled. Also sometimes when I open a 5D4 RAW file RT just closes with an segmentation fault. The files themselves are fine and open like expected in DPP.

Running Gentoo on libraw 0.17.2, dcraw 9.27.0 and RT 4.2.
Any ideas why my files are messed up in RT? :slight_smile:

No problems with this files in newer RT versions. 4.2 simply is too old.

Ok, first I’m incredibly sorry. Didn’t know the 4.2 offered by Gentoo was two years old! I made an ebuild using the latest git checkout, including the latest commit adding support for the 5D Mark IV.

However for some reason the checkout did not include the new camconst.json? Have to check what I did wrong there. Anyway, after adding it manually to my config dir it works. Thanks for your help. :slight_smile:

1 Like

Hi I tried using RawTherapee with the camconst file that was updated and it keeps crashing anytime I try to open a 5d mark IV file. Any ideas anyone?

Thanks!

Which version of RT are you using? You need a fairly recent version.

Hi Mica… I downloaded the latest version for MAC 4.2.1025 and I’m on El Capitan.

I’d clean the cache or have a look at the page about crashing at start up.