Bloodevil / sony_camera_api

sony camera remote api
http://developer.sony.com/develop/cameras/
MIT License
245 stars 60 forks source link

Improved pyLiveView's interaction with the camera #18

Closed mungewell closed 8 years ago

mungewell commented 8 years ago

I rewrote/restructed the example application 'pyLiveView' to better interact with the camera.

Not so important for QX10 which can not be controlled without the API, but the user can start/stop the HX60 recording from the camera's buttons and as a result the script was getting confused and locked up.

I also added the ability to select mode and shoot stills (with a click on the 'start' button). On the HX60 the mode is really controlled by the physical dial on the top - you can only shoot movies (by API) when this is dialed to 'movie'.

As a side point I am considering branching this example into a separate (freestanding/GPL'ed) application, as I don't think that there are any projects to control these cameras on the desktop (despite lots of mobile projects). Wrapping the python script up to a 'pre-built binary' with py2exe is ridiculously easy as I did with another pyGTK project I wrote.

mungewell commented 8 years ago

As a test I put a 'pre-built py2exe' version of 'pyLiveView' here: https://dl.dropboxusercontent.com/u/34518077/pyLiveView_prebuit.zip

You will need GTK runtime installed and on the %PATH%. You also need to start it with the '-g' option to get GUI activated. C:\test> pyLiveView.exe -g