如何通过SDK在佳能相机上开始/停止录像?

发布于 2024-09-29 20:05:36 字数 138 浏览 9 评论 0原文

我有一台佳能 7D 数码相机,我希望能够从 PC 控制视频录制。 我已经下载了 Canon SDK 2.8,阅读了它包含的所有文档,但仍然不知道如何开始或停止相机上的视频录制。

是否可以通过Canon SDK控制视频录制?

谢谢。

I have a Canon 7D digital camera and I'd like to have an ability to control video recording from PC.
I've downloaded Canon SDK 2.8, read all the document it contains but still cant figure out how to start or stop video recording on the camera.

Is there any possibility to control video recording via Canon SDK?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

乱了心跳 2024-10-06 20:05:36

最新的佳能相机sdk文档包含答案:

6.4.3开始/结束短片拍摄
您可以通过以下操作开始/结束短片拍摄。

EdsUInt32 record_start = 4; // Begin movie shooting 
err = EdsSetPropertyData(cameraRef, kEdsPropID_Record, 0, sizeof(record_start), &record_start); 
EdsUInt32 record_stop = 0; // End movie shooting 
err = EdsSetPropertyData(cameraRef, kEdsPropID_Record, 0, sizeof(record_stop), &record_

the latest canon camera sdk document contains an answer:

6.4.3 Begin/End movie shooting
You can begin/end movie shooting with the following operations.

EdsUInt32 record_start = 4; // Begin movie shooting 
err = EdsSetPropertyData(cameraRef, kEdsPropID_Record, 0, sizeof(record_start), &record_start); 
EdsUInt32 record_stop = 0; // End movie shooting 
err = EdsSetPropertyData(cameraRef, kEdsPropID_Record, 0, sizeof(record_stop), &record_
云巢 2024-10-06 20:05:36

看看 gphoto 我不确定(它适用于类 UNIX 系统)

http://www .gphoto.org/doc/remote/

我知道唯一有效的破解方法是使用 USB-IR 发射器发送佳能遥控器使用的信号,您可以通过 USB-IR 检查信号(开始、停止)发射器,从佳能遥控器接收信号,然后在程序中随时发送

编辑

似乎其他人首先弄清楚

需要使用 SDK 通过 DSLR 录制视频

编辑 2

Breezesys找到了一个解决方案,似乎有一个未记录的命令,但是 克里斯微风不会透露信息,正如你在这里看到的

http://www.breezesys.com/DSLRRemotePro/help/index.html?video_capture.htm

一些十六进制或逆向工程师应该研究一下:/

编辑 3< /strong>

只要这里的人说:

这是您自己对函数的未记录的了解

这里是命令和函数的列表,您也可以使用 dll 导出查看器

DPPLibCom

DPPDLL

EDSDK

EdsImage

MLib

Ucs32P

也出这里有一些 n@sty 工具用 dll 做 n@sty 的事情我希望你知道这些,因为在这里命名它们是非法的

Take a look at gphoto i'm not sure ( and it's for unix like systems )

http://www.gphoto.org/doc/remote/

And only hack around which i know works is using usb-ir transmitter which send the signal used by a Canon Remote , u can check signals ( start , stop ) by usb-ir transmitters , receiving signal from Canon Remote then , send it whenever u want with-in your program

Edit

Seems someone else figure it out first

Need to record video with a DSLR using an SDK

Edit 2

Breezesys found a solution it's seems there is an undocumented command , but Chris breeze won't give the info up as u can see here

http://www.breezesys.com/DSLRRemotePro/help/index.html?video_capture.htm

some hex or reverse engineer guy should look into it :/

Edit 3

As long as out here people saying :

it's undocumented look into functions for yourself

Here is list Of Commands and Functions , also u can extract them for yout self with dll export viewer ,

DPPLibCom

DPPDLL

EDSDK

EdsImage

MLib

Ucs32P

Also out here some n@sty tools do n@sty things with dlls i hope u know those , cause naming them here is illegal

_畞蕅 2024-10-06 20:05:36

不幸的是,我认为目前这是不可行的(通过查看给定的 API)。虽然我确实相信佳能有该 API,但由于某种原因没有发布它。

顺便说一句,我见过人们抓取实时取景帧并将其制作为视频的情况。

Unfortunately, I don't think it is feasible at this moment (by looking at the given API). Although I do believe that Canon has the API, but is not releasing it for one reason or another.

On a side note, I have seen cases where people grab live view frames and make those a video.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文