如何从A7 API下载RAW文件? [英] How to download RAW files from A7 API?

查看:126
本文介绍了如何从A7 API下载RAW文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用基于Wi Fi的JSON API为A7开发一个简单的桌面网络共享应用.

I am working on a simple desktop tethering app for my A7 using the Wi Fi based JSON API.

https://developer.sony.com/develop/cameras/

除我无法下载RAW文件外,其他所有方法均正常运行.我可以进行调整以获取完整大小的JPG文件,该文件似乎是由相机上的文件系统提供的.例如,以下网址似乎可以处理SD卡中的JPG.

All works well except I cannot download the RAW files. I can tweak things to get full size JPG file which seems to be served from the file system on the camera. for example the following URL seems to address the JPG from SD card.

http://myA7camera.info:8080/postview/内存/1000/DCIM/100MSDCF/DSC01353.JPG

此URL从actTakePciture调用返回(我必须给摄像机一个真实的URL,以满足stackoverflow发布要求.实际上,它是那里的摄像机IP地址).但是,尽管将相机设置为传送RAW+JPEG并且RAW文件确实已写入卡中,但无法下载该文件.我尝试更改扩展名.

This URL is coming back from actTakePciture call (I had to give the camera real like URL to satisfy stackoverflow posting requirements. In reality it is the camera IP addresss there). However although the camera is set to deliver RAW+JPEG and RAW file indeed is written to the card, the file is not accessible to download. I tried changing the extension.

我还尝试通过API将相机插入USB,以便能够通过文件系统监视来检测新文件,并在通过Wifi控制相机时下载它们-不走运-USB连接终止了远程相机控制应用程序.

I tried also plugging the camera into USB while working through API to be able to detect new files via filesystem monitoring and download them while controlling the camera via Wifi - no luck - USB connection terminates the Remote Camera Control App.

同样,在远程控制应用程序中,我无法将相机设置为仅RAW模式.

As well I cannot set the camera into RAW only mode while in the Remote Control App.

我浏览了指南"和"accessControl" API方面,但这些似乎无法产生文件下载位置....

I browsed the "guide" and "accessControl" API facets but these do not seem to yield file download locations....

关于如何获取RAW文件的任何线索或想法?通过Wifi和Lightroom进行系留拍摄会很棒,不是吗?

Any clues or ideas how to get my hands on the RAW files? Would be great to have tethered shooting via Wifi and Lightroom, no?

推荐答案

在A7ii上安装了Smart Remote Control v4之后,我现在可以列出SD卡的内容并下载RAW文件和图像预览.顺序大概是

After installing v4 of Smart Remote Control on A7ii I can now list the contents of SD Card and download RAW files and image previews. The sequence is roughly

1将相机移至录制模式(在此之前API无效)

1 move camera to recording mode (API does not work before this)

POST http://192.168.122.1:8080/sony/camera
{ "method": "startRecMode",
"params": [],
"id" : 1,
"version" : "1.0"}

2将相机移至内容传输

2 move camera to contents transfer

POST http://192.168.122.1:8080/sony/camera
{ "method": "setCameraFunction",
"params": ["Contents Transfer"],
"id" : 1,
"version" : "1.0"}

3列出图像

http://192.168.122.1:8080/sony/avContent
{"method": "getContentList",
"params": [{
"uri": "storage:memoryCard1",
"stIdx": 0,
"cnt": 500,
"view": "flat",
"sort": ""}],
"id": 1,
"version": "1.3"}

有一个新的Camera Remote SDK v2.20

There is new Camera Remote SDK v2.20

这篇关于如何从A7 API下载RAW文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆