Hello. There was such a problem. Conversion of *.RAW files with 4K NDVI CAMERA GitUp G3 . The libraw.h library using dcraw.c works with the GitUp Git2 camera format. She simply does not recognize my file and outputs:

Unsupported file format or not RAW file

I also tried the raw2dng utility, but it also happens there.

Unsupported file format.

Please help *.RAW find a way to convert this *.RAW file. I attach the file ( https://yadi.sk/d/sdHHY4jw3aj4Ga ). Thank you in advance!

  • Use libraw , change description - NewView
  • @NewView, took the latest version - I did not start (OS: macOS). - isnullxbh
  • @NewView, I used it (last build), as I wrote above. It does not recognize this file. - user9422776
  • @ user9422776, please tell me what is Git G3 and 4K NVDI CAMERA ? - isnullxbh
  • @isnullxbh, 4klens.co/products/4k-gitup-g3-duo-camera-pro-packing Reworked on a small scale from the action camera by replacing the lens and removing the IR filter - user9422776

1 answer 1

Problem solved. To do this, I added camera support to the libraw classes:

libraw_cxx.cpp

dcraw_common.cpp

dcraw.c

Here are the parameters:

 {24000000, 4000, 3000, 0, 0, 0, 0, 0, 0x94, 0, 0, "GITUP", "G3DUO 4:3"}, {18016000, 4000, 2250, 0, 0, 0, 0, 0, 0x94, 0, 0, "GITUP", "G3DUO 16:9"} 

After that, the project was compiled, and now dcraw_emu can convert raw to tiff for this camera!