Skip to main content
PropertiesNikon PTP format property codes

22 more device properties Slate defines for Nikon cameras, beside the main Nikon list. They cover the video file type and frame size, tone mode, subject detection, image area, vibration reduction, microphone level, Hi-Res Zoom and live-view size. A device property is one numbered value on the camera, such as ISO or battery level.

Slate's settings read and write these for you: an entry's Camera API line names the setting that uses it. To read or write one directly, use protocolSession(camera).

Other properties Standard PTP · Canon · Sony · Nikon · Nikon shooting · Fujifilm

PropertyDescription
NikonCaptureAreaCrop0xd030 Photo image area.
NikonStillFocusMeteringMode0xd05d Photo AF-area mode.
NikonMovieRecordScreenSize0xd0a0 Video frame size and frame rate, packed; choices depend on the video file type.
NikonMovieMicrophoneLevel0xd0a2 Video audio input sensitivity.
NikonMovieMicrophoneLevelValue0xd0a8 Video manual audio input sensitivity, 1 to 20.
NikonMovieFileType0xd0af Video file type: codec, bit depth and container.
NikonLensTypeML0xd0e7 Attached Z-mount lens type bits.
NikonVibrationReduction0xd138 Photo vibration reduction.
NikonMovieExposureBiasCompensation0xd1ab Video exposure compensation (thousandths of a stop).
NikonLiveViewImageSize0xd1ac Live-view image size.
NikonMovieExposureMeteringMode0xd1af Video exposure metering mode.
NikonMovieFocusMeteringMode0xd1f8 Video AF-area mode.
NikonMovieVibrationReduction0xd1f9 Video vibration reduction.
NikonShutterType0xd20d Shutter type.
NikonMovieProResToneMode0x1d000 ProRes 422 HQ video tone mode.
NikonMovieH265ToneMode0x1d001 H.265 10-bit video tone mode.
NikonAFSubjectDetection0x1d005 Photo subject detection: off or the subject to detect.
NikonMovieAFSubjectDetection0x1d006 Video subject detection: off or the subject to detect.
NikonToneMode0x1d01c Photo tone mode.
NikonMovieNRawToneMode0x1d028 N-RAW 12-bit video tone mode.
NikonMovieProResRawToneMode0x1d029 ProRes RAW HQ video tone mode.
NikonHiResZoom0x1d033 Video Hi-Res Zoom.

NikonCaptureAreaCrop (0xd030)

Photo image area.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API aspectRatio setting (Aspect ratio)

Same code, other vendors Fujifilm FujiColorChromeFxBlue

Values

ValueName
0x003:2 FX (36×24), 3:2.
0x023:2 (APS-C crop) DX (24×16) crop, 3:2: an APS-C crop, as Canon's 1.6x.
0x041:1 1:1 (24×24).
0x0516:9 16:9 (36×20).

NikonStillFocusMeteringMode (0xd05d)

Photo AF-area mode.

Datatype UINT16 · Access read and write · Decoded as enumeration of uint16

Camera API focusArea setting (Focus area)

Values (11)

ValueName
0x0002Dynamic-area AF (S) Dynamic-area AF, small.
0x8010Single-point AF
0x8011Auto-area AF Auto-area AF: the camera chooses the focus point.
0x80123D-tracking
0x8013Dynamic-area AF (M) Dynamic-area AF, medium.
0x8014Dynamic-area AF (L) Dynamic-area AF, large.
0x8017Pinpoint AF
0x8018Wide-area AF (S) Wide-area AF, small.
0x8019Wide-area AF (L) Wide-area AF, large.
0x801eWide-area AF (C1) Wide-area AF, custom 1.
0x801fWide-area AF (C2) Wide-area AF, custom 2.

NikonMovieRecordScreenSize (0xd0a0)

Video frame size and frame rate, packed; choices depend on the video file type.

Datatype UINT64 · Access read and write

Also known as PTP_DPC_NIKON_MovScreenSize in libgphoto2

NikonMovieMicrophoneLevel (0xd0a2)

Video audio input sensitivity.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API audioRecording setting (Audio recording)

Also known as PTP_DPC_NIKON_MovMicrophone in libgphoto2

Values

ValueName
0x00On Auto sensitivity.
0x01On (manual level) Manual sensitivity.
0x02Off Recording off.

NikonMovieMicrophoneLevelValue (0xd0a8)

Video manual audio input sensitivity, 1 to 20.

Datatype UINT8 · Access read and write

Camera API audioLevel setting (Audio level)

Also known as PTP_DPC_NIKON_MovRecordMicrophoneLevelValue in libgphoto2

NikonMovieFileType (0xd0af)

Video file type: codec, bit depth and container.

Datatype UINT32 · Access read and write · Decoded as open enumeration of uint32

Camera API videoFormat setting (Video format)

Also known as PTP_DPC_NIKON_MovFileType in libgphoto2

Values

ValueName
0x0801H.264 8-bit (MP4) H.264/AVC, 8-bit, MP4.
0x10800H.265 8-bit (MOV) H.265/HEVC, 8-bit, MOV.
0x10a00H.265 10-bit (MOV) H.265/HEVC, 10-bit, MOV.
0x20c02N-RAW 12-bit (NEV)
0x100a00ProRes 422 HQ 10-bit (MOV)
0x110c00ProRes RAW HQ 12-bit (MOV)

NikonLensTypeML (0xd0e7)

Attached Z-mount lens type bits.

Datatype UINT64 · Access read and write

Also known as PTP_DPC_NIKON_LensTypeML in libgphoto2

NikonVibrationReduction (0xd138)

Photo vibration reduction.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API imageStabilization setting (Image stabilisation)

Same code, other vendors Canon CanonAeModeDial

Also known as PTP_DPC_NIKON_VibrationReduction in libgphoto2

Values

ValueName
0x00Off
0x01Normal Normal (On with a lens without Sports).
0x02Sports

NikonMovieExposureBiasCompensation (0xd1ab)

Video exposure compensation (thousandths of a stop).

Datatype INT16 · Access read and write

Camera API exposureCompensation setting (Exposure compensation)

Also known as PTP_DPC_NIKON_MovieExposureBiasCompensation in libgphoto2

NikonLiveViewImageSize (0xd1ac)

Live-view image size.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API liveViewQuality setting (Live-view quality)

Values

ValueName
0x01QVGA Equivalent to QVGA (up to 320×240).
0x02VGA Equivalent to VGA (up to 640×480).
0x03XGA Equivalent to XGA (up to 1024×768).

NikonMovieExposureMeteringMode (0xd1af)

Video exposure metering mode.

Datatype UINT16 · Access read and write

Camera API meteringMode setting (Metering)

Same code, other vendors Sony PreAF

Also known as PTP_DPC_NIKON_MovieExposureMeteringMode in libgphoto2

NikonMovieFocusMeteringMode (0xd1f8)

Video AF-area mode.

Datatype UINT16 · Access read and write · Decoded as enumeration of uint16

Camera API focusArea setting (Focus area)

Values

ValueName
0x8010Single-point AF
0x8011Auto-area AF Auto-area AF: the camera chooses the focus point.
0x8018Wide-area AF (S) Wide-area AF, small.
0x8019Wide-area AF (L) Wide-area AF, large.
0x801eWide-area AF (C1) Wide-area AF, custom 1.
0x801fWide-area AF (C2) Wide-area AF, custom 2.
0x8033Target tracking AF

NikonMovieVibrationReduction (0xd1f9)

Video vibration reduction.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API imageStabilization setting (Image stabilisation)

Also known as PTP_DPC_NIKON_MovieVibrationReduction in libgphoto2

Values

ValueName
0x00Off
0x01Normal Normal (On with a lens without Sports).
0x02Sports
0x64Same as photo settings Same as the photo setting.

NikonShutterType (0xd20d)

Shutter type.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API shutterType setting (Shutter type)

Same code, other vendors Sony ShutterSpeed

Also known as PTP_DPC_NIKON_ElectronicFrontCurtainShutter in libgphoto2

Values

ValueName
0x00Mechanical shutter
0x01Electronic front-curtain shutter
0x02Auto
0x03Electronic shutter

NikonMovieProResToneMode (0x1d000)

ProRes 422 HQ video tone mode.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API pictureProfile setting (Picture profile)

Also known as PTP_DPC_NIKON_MovieProResToneMode in libgphoto2

Values

ValueName
0x00SDR Standard dynamic range.
0x01N-Log Nikon log.
0x02HLG Hybrid log-gamma.

NikonMovieH265ToneMode (0x1d001)

H.265 10-bit video tone mode.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API pictureProfile setting (Picture profile)

Also known as PTP_DPC_NIKON_MovieH265ToneMode in libgphoto2

Values

ValueName
0x00SDR Standard dynamic range.
0x01N-Log Nikon log.
0x02HLG Hybrid log-gamma.

NikonAFSubjectDetection (0x1d005)

Photo subject detection: off or the subject to detect.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Also known as PTP_DPC_NIKON_AFSubjectDetection in libgphoto2

Values

ValueName
0x00Off Subject detection off.
0x01Auto Detects people, animals and vehicles.
0x02People
0x03Animal Animals.
0x04Vehicle Vehicles.
0x06Airplanes

NikonMovieAFSubjectDetection (0x1d006)

Video subject detection: off or the subject to detect.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Also known as PTP_DPC_NIKON_MovieAFSubjectDetection in libgphoto2

Values

ValueName
0x00Off Subject detection off.
0x01Auto Detects people, animals and vehicles.
0x02People
0x03Animal Animals.
0x04Vehicle Vehicles.
0x06Airplanes

NikonToneMode (0x1d01c)

Photo tone mode.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API pictureProfile setting (Picture profile)

Also known as PTP_DPC_NIKON_ToneMode in libgphoto2

Values

ValueName
0x00SDR Standard dynamic range.
0x01N-Log Nikon log.
0x02HLG Hybrid log-gamma.

NikonMovieNRawToneMode (0x1d028)

N-RAW 12-bit video tone mode.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API pictureProfile setting (Picture profile)

Also known as PTP_DPC_NIKON_MovieNRaw12bitToneMode in libgphoto2

Values

ValueName
0x00SDR Standard dynamic range.
0x01N-Log Nikon log.
0x02HLG Hybrid log-gamma.

NikonMovieProResRawToneMode (0x1d029)

ProRes RAW HQ video tone mode.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API pictureProfile setting (Picture profile)

Values

ValueName
0x00SDR Standard dynamic range.
0x01N-Log Nikon log.
0x02HLG Hybrid log-gamma.

NikonHiResZoom (0x1d033)

Video Hi-Res Zoom.

Datatype UINT8 · Access read and write · Decoded as enumeration of uint8

Camera API digitalZoom setting (Digital zoom)

Also known as PTP_DPC_NIKON_HiResZoom in libgphoto2

Values

ValueName
0x00OFF Hi-Res Zoom off.
0x01ON Hi-Res Zoom on.
⌘I