Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.22 KB

File metadata and controls

37 lines (29 loc) · 1.22 KB

sonycrapi

Sony Camera Remote API

Based off of documentaiton proived by Sony and using the Sony Camera Reomote API.

More information about the API from Sony can be found here.

This has only been tested on my Sony NEX-6, and I cannot make any guarantees about other devices.

Disclaimer: This was developed for so I could build a photbooth to use at my wedding (see examples/photobooth). It worked well, didn't crash, and I got married (yay!), however it does not implment the complete Sony Camera Remote API. I'll hopefully find time to complete the API implementation one day.

Install

go get -u github.com/JamesMcMinn/sonycrapi

Usage

See /examples/ folder for API useage examples.

Features

  • Device Discovery using uPnP
  • Ability to control:
    • Shoot mode (Still, Movie, Audio, InvervalStill, Loop Recording)
    • Still quality (RAW+JPEG, Fine, Standard)
    • PostView size (2MP or Original)
  • Still picture shooting
  • Continious shooting
  • Liveview via websocket (see examples folder for client) or raw JPEG bytestream
  • Event polling

Todo

  • Movie & Audio Recording
  • Loop recording
  • Set camera exposue/WB/Zoom/AF/Timer/Flsh/Program/Scene