Video recording w/ KX18 | developer.brewmp.com Video recording w/ KX18 | developer.brewmp.com

Developer

Video recording w/ KX18

Forums:

I'm writing an app to record video on the KX18 using the ICAMERA interface and receiving a CAM_STATUS_ABORT callback from my record video call.

Prior to recording with ICAMERA_RecordMovie I issue these PARM settings:
ICAMERA_SetDisplaySize(pme->m_Camera, &az)
ICAMERA_SetMediaData(pme->m_Camera, &pme->m_Md, CAM_FILE_FORMAT_MPG4)
ICAMERA_SetVideoEncode(pme->m_Camera, AEECLSID_MEDIAMPEG4, 0);
ICAMERA_SetAudioEncode(pme->m_Camera, AEECLSID_MEDIAQCP, MM_QCP_FORMAT_FIXED_FULL_13K);
ICAMERA_SetSize(pme->m_Camera, &az);
ICAMERA_SetQuality(pme->m_Camera, 75)

The ICAMERA_RecordMovie function returns SUCCESS. The ICAMERA callback receives a CAM_STATUS_START followed by CAM_STATUS_ABORT instead of the expected CAM_STATUS_FRAME.

Does anyone have any ideas on what might be causing this?

By the way, I've found that ICAMERA_Preview works but requires a somewhat different sequence of PARM settings than documented. Specifically it requires the following PARM settings:
ICAMERA_SetDisplaySize(pme->m_Camera, &az)
ICAMERA_SetQuality(pme->m_Camera, 75)