Type


Structure


Description

 

typedef struct _CLIP_ENCODING_INFO {
    U32   uStreamFormat;       /* Encoding (compression) scheme used for the stream */
    U32   uDecimationFactor;   /* Used to reduce the number of frames used while encoding the stream */
    F32   playbackFrameRate;   /* Frame rate to be used for decoding */
    U32   playbackBitRate;     /* Provides guidance to the compression algorithms for encoding; 
                                higher bitrate == less compression */
} CLIP_ENCODING_INFO, *PCLIP_ENCODING_INFO;

 

Notes

  • uStreamFormat - currently, the only encoding stream supported is H264, so this field should be set to CLIP_STREAM_H264. 
  • uDecimationFactor - only every ‘clipDecimationFactor’th frame streamed from the camera will be encoded into the video clip. 
  • playbackFrameRate - the frame rate to be used by the video player.
  • playbackBitRate - provides guidance to compression engine on how much compression is required to accommodate the video player.

 

Usage

 

PxLGetEncodedClip