edsdk

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

回眸只為那壹抹淺笑 提交于 2019-12-03 17:26:53
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

Canon Digital SDK (EDSDK) EdsCreateImageRef error

China☆狼群 提交于 2019-12-02 07:44:28
I am trying to use the Canon Eos Digital SDK (EDSDK) to decode a CR2 camera image for display in a desktop GUI. I run the first few methods as follows: err = EDSDK.EdsInitializeSDK(); err = EDSDK.EdsCreateFileStream( fullpath, EDSDK.EdsFileCreateDisposition.OpenExisting, EDSDK.EdsAccess.Read, out inStream); err = EDSDK.EdsCreateImageRef(inStream, out imgRefPtr); And the err variable remains as EDS_ERR_OK until it executes the last line above, where it becomes EDS_ERR_FILE_FORMAT_UNRECOGNIZED. The camera that took the image was a EOS 5DS R, which has been supported from the 3.2.1 release (our