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

查看:17
本文介绍了如何从 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 文件,它似乎是从相机上的文件系统提供的.例如,以下 URL 似乎是从 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.

我浏览了指南"和访问控制"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 上安装智能遥控器 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天全站免登陆