camera_get_video_property()
Retrieve the current output properties for video
Synopsis:
#include <camera/camera_api.h>#define camera_get_video_property(handle,
args...)Library:
libcamapiDescription:
This function retrieves the current output properties for video.
- CAMERA_IMGPROP_FRAMERATE
- CAMERA_IMGPROP_VIDEOCODEC
- CAMERA_IMGPROP_ENCODERSELECT
Note:You can specify multiple property-value pairs by delimiting them with a comma as follows:
The compiler performs no type-checking. Therefore, the value you provide for each property must match the expected data type. Mismatches can cause undefined behavior and application crashes.
camera_get_video_property( camera_handle, CAMERA_IMGPROP_VIDEOCODEC, &videoCodec, CAMERA_IMGPROP_FRAMERATE, &vid_framerate );- handle
- args
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason why the call failed.
Page updated:
