camera_roll_video_fmt_t

Updated: April 19, 2023

The supported video file format extensions on the camera roll

Synopsis:

#include <camera/camera_api.h>
typedef enum {
    CAMERA_ROLL_VIDEO_FMT_DEFAULT = 0,
    CAMERA_ROLL_VIDEO_FMT_MP4,
    CAMERA_ROLL_VIDEO_FMT_MOV,
    CAMERA_ROLL_VIDEO_FMT_UCV
} camera_roll_video_fmt_t;

Data:

CAMERA_ROLL_VIDEO_FMT_DEFAULT
Use the system-specified default video file format extension.
CAMERA_ROLL_VIDEO_FMT_MP4
Compressed video files are saved to the camera roll with an .MP4 extension.
CAMERA_ROLL_VIDEO_FMT_MOV
Uncompressed video files are saved to the camera roll with an .MOV extension.
CAMERA_ROLL_VIDEO_FMT_UCV
Uncompressed proprietary video files are saved to the camera roll with a .UCV extension.

Library:

libcamapi

Description:

These extensions are used only to generate filenames. The actual formatting of the video data is the responsibility of the application writing to the file.