문제

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.

도움이 되었습니까?

해결책

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_

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top