kylemcdonald / ofxEdsdk

Interfacing with Canon cameras from openFrameworks for OSX. An alternative to ofxCanon and CanonCameraWrapper.
Other
111 stars 51 forks source link

Movies not saved. OFX_EDSDK_MOV_FORMAT is 45317 for me #34

Open jeffcrouse opened 9 years ago

jeffcrouse commented 9 years ago

Using a 5D Mark III with SDK v2.15 - Macintosh

I had to change OFX_EDSDK_MOV_FORMAT from 45316 to 45317

Not sure why it's different, but maybe this will help someone else if your movies aren't being saved.

quietcricket commented 9 years ago

Same here. I'm using SDK 3.2 Mac and my camera is 700D

kylemcdonald commented 9 years ago

thanks. curious if @smallfly has run into this.

smallfly commented 9 years ago

I have not tried the v2.15 of the SDK yet. To be honest, I do not even remember where I did found that it was the value to use. I quickly looked at the SDK headers and the doc and there is no info about that. 'EdsDirectoryItemInfo' has a 'format' element that should be defined by an 'EdsImageType' which can have the following values:

kEdsTargetImageType _Unknown: Folder, or unknown image type
kEdsTargetImageType _Jpeg: JPEG
kEdsImageType_CRW: CRW
kEdsImageType_CR2: CR2

There is no mention of movie format here.

How did you ended up using 45317?

Thanks

quietcricket commented 9 years ago

I logged the value from dirItemInfo.format

smallfly commented 9 years ago

This must be what I did too. This is strange though that I can not find any reference of this type/format in the documentation. I googled it too, and I did not find anything useful either.