×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Nikon D500 / necessity for arbitrary file format capture

  • Posts: 11
  • Thank you received: 1
Hey!
Have been trying to have Ekos/INDI up and running for the longest time on my current setup (see below) using a pre-made image of Astroberry. Most of everything works great, but have not been able to capture images consistently using my Nikon D500 DSLR. Finally realized the issue - the Aliases from gphoto2 for this DSLR body are all screwed up.
From CLI command "gphoto2 --get-config imagequality" I get the following:

Label: Image Quality
Readonly: 0
Type: RADIO
Current: NEF+Fine
Choice: 0 JPEG Basic
Choice: 1 JPEG Normal
Choice: 2 JPEG Fine
Choice: 3 Unknown value 0003
Choice: 4 NEF (Raw)
Choice: 5 NEF+Basic
Choice: 6 NEF+Normal
Choice: 7 NEF+Fine
Choice: 8 Unknown value 0008
Choice: 9 Unknown value 0009
Choice: 10 Unknown value 000a
Choice: 11 Unknown value 000b
Choice: 12 Unknown value 000c
Choice: 13 Unknown value 000d
END


Now, by trial and error (ie: gphoto2 --set-config imagequality=0 && gphoto2 --capture-image-and-download && gphoto2 --set-config imagequality1 &&, all the way to imagequality 13), it appears it should be the following:

Label: Image Quality
Readonly: 0
Type: RADIO
Current: NEF+Fine
Choice: 0 JPEG Basic
Choice: 1 JPEG Basic*
Choice: 2 JPEG Normal
Choice: 3 JPEG Normal*
Choice: 4 JPEG Fine
Choice: 5 JPEG Fine*
Choice: 6 TIF
Choice: 7 NEF (Raw)
Choice: 8 NEF + JPEG Basic
Choice: 9 NEF + JPEG Basic*
Choice: 10 NEF + JPEG Normal
Choice: 11 NEF + JPEG Normal*
Choice: 12 NEF + JPEG Fine
Choice: 13 NEF + JPEG Fine*
END

Problem is, EKOS/INDI doesn't wanna see RAW/NEF+JPG as a file format. Any of the "stated" JPG/RAW are accepted as options, but I therefore get options 0-4 and 8-13, giving me JPGs (0-4) or NEF+JPEGs (8-13), with the latter randomly downloading JPG or RAW. Any one of you knows a way to do any of the following:
- Have EKOS/INDI accept arbitrary file formats in the drop down (least ideal)?
- Change aliases in the INDI Nikon driver (second best)?
- Change aliases in the gphoto library (ideally)?

Thanks!

Setup:
Celestron AVX mount, older Hand Control with RS-232-to-usb converter
Raspberry Pi 4, 4GB, pre-cooked Astroberry install fully updated
Nikon D500, Nikkor 35mm f/1.8, Nikkor 50mm f/1.4, Nikkor 100mm f/2.8 , Nikkor 28-200mm f/3.5-5.6 AF-D
Celestron Powerseeker 127EQ (I know, beginner OTA but decent enough for my 4yo son to have fun looking at the moon and bigger objects)
Tacklife Li-Ion car booster 12V power source (66wh, about the same as the Celestron Powertank LT, and I can jumpstart my car; just need to put some red nail polish on the LEDs)
3 years 9 months ago #56407

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 1
Figured a fix:
Modding the libgphoto2/camlibs/ptp2/config.c and adding a D500 alias referring to the D850 image compression (ie:image format) table, then recompiling the whole thing and installing just the ptp2 driver fixes it.

Now on to fixing bulb capture...
The following user(s) said Thank You: Jasem Mutlaq
3 years 9 months ago #56689

Please Log in or Create an account to join the conversation.

Is this something that could be submitted to libgphoto Github?
3 years 9 months ago #56703

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 1
Already done and assigned to someone. D500 is a new-ish body (2017) and less popular due to price than other crop sensor bodies, therefore likely that less time was devoted sorting through its SDK (still puzzled why Nikon wouldn’t have just one SDK for all bodies)
3 years 9 months ago #56715

Please Log in or Create an account to join the conversation.

Time to create page: 0.536 seconds