max-mapper / sony-a7

scripts for interacting with my sony a7
5 stars 0 forks source link

Camera Discovery / Control #1

Open thibauts opened 8 years ago

thibauts commented 8 years ago

The URL you pasted in your stackoverflow question has UPnP/DLNA semantics http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_CI=1. Have you tried discovering the device with SSDP ?

Looks like this is may be the way to go : https://developer.sony.com/2013/11/29/how-to-develop-an-app-using-the-camera-remote-api-2/

They probably reused their UPnP engine, though it seems they use a JSON-RPC protocol on top.

I don't have a Sony A7 so I can't test it but this may be useful : upnp-device-client

max-mapper commented 8 years ago

@thibauts oh yea good point, thanks. I looked into it further and they have two different "apps" on the camera that you can run to provide two different servers. The one they recommend using in the sony.com page you linked "Smart Remote Control" actually doesn't support any wireless photo transfer on my camera. The one built-in to the camera "Send to Smartphone" supports full resolution JPG but not RAW :(

thibauts commented 8 years ago

Isn't this related ? http://briansmith.com/sony-smart-remote-embbedded-app/. Scroll to "How to Save Raws with Sony Smart Remote". But this looks more like tethering, so not in the direction you want.

On another line of thought, you may be able to get a list of the supported mime types with something like this : https://github.com/thibauts/node-upnp-mediarenderer-client/blob/master/index.js#L78-L99 and get to know the correct identifier for ARW.

max-mapper commented 8 years ago

@thibauts oh interesting, yea it appears from that post that the Smart Remote Control app can transfer RAW if you trigger the shutter through the app. I'll try sniffing the packets there and see if I can isolate what API call it's using :D

max-mapper commented 8 years ago

Ah nevermind, I read that post incorrectly. The RAW setting is just to set what gets stored on the camera SD card. It still only sends resized JPEGs to the phone

thibauts commented 8 years ago

It looks like lightroom and capture one can tether... But not sure it's over wifi. Le 24 déc. 2015 01:49, "maxogden" notifications@github.com a écrit :

Ah nevermind, I read that post incorrectly. The RAW setting is just to set what gets stored on the camera SD card. It still only sends resized JPEGs to the phone

— Reply to this email directly or view it on GitHub https://github.com/maxogden/sony-a7/issues/1#issuecomment-167015199.