Use when asked to take a photo, start video recording, stop video recording, inspect camera devices, or save media into session subfolders on this macOS machine. This skill works with OsmoPocket3 and ordinary macOS cameras such as USB or UVC webcams, using a native AVFoundation helper under skills/dji-camera-capture/workspace/captures.
Use this skill to capture photos and videos from cameras that macOS can open normally, including:
OsmoPocket3LRCP G-720PThis skill saves media on the Mac. It does not press a hardware shutter on the device itself and does not save onto the camera's SD card.
xcrun swiftc must be available so the helper can compile on first use.ffmpeg should be installed so recorded .mov files can be remuxed to .mp4 when recording stops.All media is stored under:
skills/dji-camera-capture/workspace/captures/<session>/
├── photos/
│ └── IMG_YYYYMMDD_HHMMSS.jpg
└── videos/
├── VID_YYYYMMDD_HHMMSS.mp4
└── VID_YYYYMMDD_HHMMSS.native.log
python3 skills/dji-camera-capture/scripts/dji_camera_capture.py list
Pick the camera you want to use by default for later photo and start-video commands.
python3 skills/dji-camera-capture/scripts/dji_camera_capture.py select-camera --camera-name "LRCP G-720P"
python3 skills/dji-camera-capture/scripts/dji_camera_capture.py photo --session demo-shot
python3 skills/dji-camera-capture/scripts/dji_camera_capture.py start-video --session demo-video
.mp4.python3 skills/dji-camera-capture/scripts/dji_camera_capture.py stop-video
--camera-name or --video-index is provided, use that camera.OsmoPocket3 when it is available.list and select-camera first.python3 skills/dji-camera-capture/scripts/dji_camera_capture.py start-video --session demo-video --with-audio
python3 skills/dji-camera-capture/scripts/dji_camera_capture.py photo --camera-name "OsmoPocket3" --session demo-shot
workspace/runtime/.python3 -m py_compile skills/dji-camera-capture/scripts/dji_camera_capture.py only checks Python syntax. It is expected to print nothing when successful.list command.