My Project
List of pre-defined encoding variants

Pre-defined H264 encoding variants

#define MMAL_ENCODING_VARIANT_H264_DEFAULT   0
 
#define MMAL_ENCODING_VARIANT_H264_AVC1   MMAL_FOURCC('A','V','C','1')
 
#define MMAL_ENCODING_VARIANT_H264_RAW   MMAL_FOURCC('R','A','W',' ')
 

Pre-defined MPEG4 audio encoding variants

#define MMAL_ENCODING_VARIANT_MP4A_DEFAULT   0
 
#define MMAL_ENCODING_VARIANT_MP4A_ADTS   MMAL_FOURCC('A','D','T','S')
 

Detailed Description

This defines a list of common encoding variants. This list isn't exhaustive and is only provided as a convenience to avoid clients having to use FourCC codes directly. However components are allowed to define and use their own FourCC codes.

Macro Definition Documentation

◆ MMAL_ENCODING_VARIANT_H264_AVC1

#define MMAL_ENCODING_VARIANT_H264_AVC1   MMAL_FOURCC('A','V','C','1')

ISO 14496-15 AVC stream format

Definition at line 231 of file mmal_encodings.h.

◆ MMAL_ENCODING_VARIANT_H264_DEFAULT

#define MMAL_ENCODING_VARIANT_H264_DEFAULT   0

ISO 14496-10 Annex B byte stream format

Definition at line 229 of file mmal_encodings.h.

◆ MMAL_ENCODING_VARIANT_H264_RAW

#define MMAL_ENCODING_VARIANT_H264_RAW   MMAL_FOURCC('R','A','W',' ')

Implicitly delineated NAL units without emulation prevention

Definition at line 233 of file mmal_encodings.h.

◆ MMAL_ENCODING_VARIANT_MP4A_ADTS

#define MMAL_ENCODING_VARIANT_MP4A_ADTS   MMAL_FOURCC('A','D','T','S')

ADTS stream format

Definition at line 241 of file mmal_encodings.h.

◆ MMAL_ENCODING_VARIANT_MP4A_DEFAULT

#define MMAL_ENCODING_VARIANT_MP4A_DEFAULT   0

Raw stream format

Definition at line 239 of file mmal_encodings.h.