如何通过SDK在佳能相机上开始/停止录像?
我有一台佳能 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最新的佳能相机sdk文档包含答案:
6.4.3开始/结束短片拍摄
您可以通过以下操作开始/结束短片拍摄。
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.
看看 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 :
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
不幸的是,我认为目前这是不可行的(通过查看给定的 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.