Skip to main content
SettingsVideo settings

What a recording is: the photo or video mode, the format, quality and frame rate, and sound. This is one of the 7 pages of the settings reference, which names every setting. Video shows each at work in Studio, MCP, the CLI and Slate.

Read and write one with its typed getter and setter, or with setControl by id. A camera offers only some values of each: getCapabilities().controls lists them now. A setter refuses a value the camera does not offer with CameraRefusedError before sending anything; a getter throws CameraUnsupportedError when the setting is absent or does not apply in the current mode.

Photo / video

Whether the camera is set up for photos or for video. Taking a photo or starting a recording switches it for you and switches it back.

Whether the camera is set up to take photos or record video. One view of each vendor's own switch: Canon's movie select switch, Nikon's LiveViewSelector, and on Sony the photo and movie halves of the exposure program (Manual and Movie Manual).

IdphotoVideoMode, for setControl and getCapabilities().controls.photoVideoMode
Value typePhotoVideoMode
How to use itVideo: Photo / video
Search wordsphoto video, photo/video, still/movie, Still/Movie/S&Q, S&Q, movie mode, video mode, stills, motion

Values 2 named values. A camera offers only some of them: getCapabilities().controls.photoVideoMode.allowedValues lists which, right now.

photo video

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
NikonLiveViewSelector (0xd1a6)

getPhotoVideoMode

getPhotoVideoMode(): Promise<PhotoVideoMode> · MCP camera_get_photo_video_mode · CLI darkgrade camera get-photo-video-mode

setPhotoVideoMode

MCP camera_set_photo_video_mode · CLI darkgrade camera set-photo-video-mode

setPhotoVideoMode(value: PhotoVideoMode): Promise<PhotoVideoMode>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Audio level

How loud sound is recorded, on the camera's own scale (Canon 0 to 63, Nikon 1 to 20, Sony the range it reports). Whether sound is recorded at all is Audio recording.

The movie sound recording level, on the camera's own scale (Canon 0 to 63, Nikon 1 to 20, Sony its advertised range): allowedValues or range say what this body takes. Whether sound is recorded at all is audioRecording.

IdaudioLevel, for setControl and getCapabilities().controls.audioLevel
Value typeAudioLevel
How to use itVideo: Audio level
setControl also takesA number, or its whole-number text.
Search wordsaudio level, audio input level, recording level, record level, mic level, microphone level, audio input sensitivity

Values A number on the camera's own scale. getCapabilities().controls.audioLevel gives its range or allowedValues now.

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonMovieRecVolumeIntMic (0xd25e)
NikonNikonMovieMicrophoneLevelValue (0xd0a8)
SonyAudioInputMasterLevel (0xe050)

getAudioLevel

getAudioLevel(): Promise<AudioLevel> · MCP camera_get_audio_level · CLI darkgrade camera get-audio-level

setAudioLevel

MCP camera_set_audio_level · CLI darkgrade camera set-audio-level

setAudioLevel(value: AudioLevel): Promise<AudioLevel>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Video format

The codec and file type a recording is saved in.

A video format: Sony's codec names (XAVC S 4K), Nikon's file type (H.265 10-bit (MOV)) or Canon's complete movie record. A raw number a body reports without a name is not a value to write.

IdvideoFormat, for setControl and getCapabilities().controls.videoFormat
Value typeVideoFormat
How to use itVideo: Video format
Search wordscodec, movie format, movieFormat, recording format, video file type, movie file type

Values Pattern <text> fps · <MOV / MP4 / unknown> · <unknown / ALL-I / IPB (Standard) / IPB (Light)>, and 15 named values. A camera offers only some of them: getCapabilities().controls.videoFormat.allowedValues lists which, right now.

Every named value (15)

AVCHD XAVC S 4K XAVC S HD XAVC HS 8K XAVC HS 4K XAVC S 4K (modern) XAVC S HD (modern) XAVC S-I 4K XAVC S-I HD H.264 8-bit (MP4) H.265 8-bit (MOV) H.265 10-bit (MOV) N-RAW 12-bit (NEV) ProRes 422 HQ 10-bit (MOV) ProRes RAW HQ 12-bit (MOV)

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonMovieFormat (0xd1cd), CanonMovieRecord (0xd29e)
NikonNikonMovieFileType (0xd0af)
SonyMovieFileFormat (0xd241)

getVideoFormat

getVideoFormat(): Promise<VideoFormat> · MCP camera_get_video_format · CLI darkgrade camera get-video-format

setVideoFormat

MCP camera_set_video_format · CLI darkgrade camera set-video-format

setVideoFormat(value: VideoFormat): Promise<VideoFormat>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Video quality

The frame size of a recording (Canon, Nikon) or its bit rate and colour sampling (Sony). On Sony, 4K or HD is part of the video format.

A video quality (bit rate, sampling and depth), as the vendor codecs name it: 150M 4:2:0 10-bit.

IdvideoQuality, for setControl and getCapabilities().controls.videoQuality
Value typeVideoQuality
How to use itVideo: Video quality
Search wordsresolution, bit rate, bitrate, record setting, movie setting, movieSetting, movie quality, movie rec size, frame size, video size, movie size

Values 94 named values. A camera offers only some of them: getCapabilities().controls.videoQuality.allowedValues lists which, right now.

Every named value (94)

60p 50M · XAVC S 30p 50M · XAVC S 24p 50M · XAVC S 50p 50M · XAVC S 25p 50M · XAVC S 60i 24M (FX) · AVCHD 50i 24M (FX) · AVCHD 60i 17M (FH) · AVCHD 50i 17M (FH) · AVCHD 60p 28M (PS) · AVCHD 50p 28M (PS) · AVCHD 24p 24M (FX) · AVCHD 25p 24M (FX) · AVCHD 24p 17M (FH) · AVCHD 25p 17M (FH) · AVCHD 720 120p 50M · XAVC S 720 100p 50M · XAVC S 1080 30p 16M · MP4 1080 25p 16M · MP4 720 30p 6M · MP4 720 25p 6M · MP4 1080 60p 28M · MP4 1080 50p 28M · MP4 60p 25M · XAVC S HD 50p 25M · XAVC S HD 30p 16M · XAVC S HD 25p 16M · XAVC S HD 1080 120p 100M · XAVC S HD 1080 100p 100M · XAVC S HD 1080 120p 60M · XAVC S HD 1080 100p 60M · XAVC S HD 30p 100M · XAVC S 4K 25p 100M · XAVC S 4K 24p 100M · XAVC S 4K 30p 60M · XAVC S 4K 25p 60M · XAVC S 4K 24p 60M · XAVC S 4K 600M 4:2:2 10-bit 500M 4:2:2 10-bit 400M 4:2:0 10-bit 300M 4:2:2 10-bit 280M 4:2:2 10-bit 250M 4:2:2 10-bit 240M 4:2:2 10-bit 222M 4:2:2 10-bit 200M 4:2:2 10-bit 200M 4:2:0 10-bit 200M 4:2:0 8-bit 185M 4:2:2 10-bit 150M 4:2:0 10-bit 150M 4:2:0 8-bit 140M 4:2:2 10-bit 111M 4:2:2 10-bit 100M 4:2:2 10-bit 100M 4:2:0 10-bit 100M 4:2:0 8-bit 93M 4:2:2 10-bit 89M 4:2:2 10-bit 75M 4:2:0 10-bit 60M 4:2:0 8-bit 50M 4:2:2 10-bit 50M 4:2:0 10-bit 50M 4:2:0 8-bit 45M 4:2:0 10-bit 30M 4:2:0 10-bit 25M 4:2:0 8-bit 16M 4:2:0 8-bit 520M 4:2:2 10-bit 260M 4:2:2 10-bit 1920x1080 1280x720 640x480 4096x2160 3840x2160 2048x1080 8192x4320 7680x4320 1920x1080 (option 16) 1280x720 (option 16) 640x480 (option 16) 4096x2160 (option 16) 3840x2160 (option 16) 2048x1080 (option 16) 8192x4320 (option 16) 7680x4320 (option 16) 3984x2240 4032x2268 4128x2322 5376x3024 5392x3032 6048x3402 8256x4644 1920x1080 4x slow motion 1920x1080 5x slow motion

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonMovieFrameSize
NikonNikonMovieFrameSize
SonyMovieRecordingSetting (0xd242)

getVideoQuality

getVideoQuality(): Promise<VideoQuality> · MCP camera_get_video_quality · CLI darkgrade camera get-video-quality

setVideoQuality

MCP camera_set_video_quality · CLI darkgrade camera set-video-quality

setVideoQuality(value: VideoQuality): Promise<VideoQuality>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Frame rate

Frames per second. Names follow the camera: Nikon lists real frequencies (29.97p, 23.98p), while Sony lists both 24p and 23.98p.

A frame rate: 24p, 23.98p, 60p, 50i.

IdframeRate, for setControl and getCapabilities().controls.frameRate
Value typeFrameRate
How to use itVideo: Frame rate
Search wordsfps, movie frame rate, movieFrameRate, recording frame rate

Values 33 named values. A camera offers only some of them: getCapabilities().controls.frameRate.allowedValues lists which, right now.

Every named value (33)

120p 100p 60p 50p 30p 25p 24p 23.98p 29.97p 59.94p 19.98p 14.99p 12.50p 12.00p 11.99p 10.00p 9.99p 6.00p 5.99p 5.00p 4.995p 24.00p 119.88p 120i 100i 60i 50i 30i 25i 150p 179.82p 200p 239.76p

How the names are chosen

One name per exact frequency, so a rate never has two names:

RateName
23.9823.98p
24.0024.00p
25.0025p
29.9729.97p
30.0030p
50.0050p
59.9459.94p
60.0060p
100.00100p
119.88119.88p
120.00120p
150.00150p
179.82179.82p
200.00200p
239.76239.76p

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonMovieFrameRate
NikonNikonMovieFrameRate
SonyMovieRecordingFrameRate (0xd286)

getFrameRate

getFrameRate(): Promise<FrameRate> · MCP camera_get_frame_rate · CLI darkgrade camera get-frame-rate

setFrameRate

MCP camera_set_frame_rate · CLI darkgrade camera set-frame-rate

setFrameRate(value: FrameRate): Promise<FrameRate>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Audio recording

Whether a recording has sound.

Movie sound, Canon only for now: On, Off or On (manual level).

IdaudioRecording, for setControl and getCapabilities().controls.audioRecording
Value typeAudioRecording
How to use itVideo: Audio recording
Search wordssound, movie audio, movie sound, sound recording

Values 3 named values. A camera offers only some of them: getCapabilities().controls.audioRecording.allowedValues lists which, right now.

Off On On (manual level)

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonMovieSoundRecording (0xd195)
NikonNikonMovieMicrophoneLevel (0xd0a2)
SonyAudioRecording (0xd0d2)

getAudioRecording

getAudioRecording(): Promise<AudioRecording> · MCP camera_get_audio_recording · CLI darkgrade camera get-audio-recording

setAudioRecording

MCP camera_set_audio_recording · CLI darkgrade camera set-audio-recording

setAudioRecording(value: AudioRecording): Promise<AudioRecording>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Other settings

⌘I