AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::avblocks::Param::Decoder::Video Namespace Reference

Parameters specific to video decoders. More...

Namespaces

 H264
 Parameters specific to H.264 decoders.
 

Variables

static const char ConcealDefects [] = "DECODER_VIDEO_CONCEAL_DEFECTS"
 Video: Specifies whether to conceal bitstream defects and errors. More...
 

Detailed Description

Parameters specific to video decoders.

Variable Documentation

const char ConcealDefects[] = "DECODER_VIDEO_CONCEAL_DEFECTS"
static

Video: Specifies whether to conceal bitstream defects and errors.

This parameter is a boolean value expressed as an integer (1|0).

The default is True (1).

  • If True (1) non-fatal bitstream errors are concealed.
  • If False (0) any bitstream error is reported.
Remarks
The ConcealDefects parameter is currently valid only for MPEG4-Visual and H.264 video decoding. When the video decoder encounters a corrupt frame, the decoder substitutes the bad macroblocks with good macroblocks from the previous frame. When a macroblock is partially valid, for example the luma coefficients are fine, but the chroma coefficients are corrupt, the error recovery is not perfect.