How to start/stop video recording on Canon camera via SDK?

回眸只為那壹抹淺笑 提交于 2019-12-03 17:26:53

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_
Synxmax

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!