Hello,
I would appreciate your help in understanding VBR/CBR configurability in MPEG-4 and H.264 encoder for DM8168 platform:
- CBR:
- Is it using stuffing bits ? is the stuffing bits used only with H.264 ?
- what values are for the stuffing bits: ones or zeros ?
- Is the HRD buffer size correspond to the time used for calculation of the constant bit rate ? Is the HRD used in both codecs?
- VBR:
- There is something called HF-VBR in datasheet , while the xDM codec header file expose only 2 RC algorithms: PRC, PRC_LOW_DELAY.
- Is PRC same as VBR and low_delay same as CBR ?
- How to configure codec for HF-VBR instead of VBR ?
H.264 Datasheet:
|
IVIDEO_LOW_DELAY |
Constant Bit Rate (CBR) control for video conferencing. |
|
IVIDEO_STORAGE IVIDEO_RATE_CONTROL_PRESET_DEFAULT |
Variable Bit Rate (VBR) control for local storage (DVD) recording, Default rate control preset value. |
|
IVIDEO_TWOPASS |
Two pass rate control for non-real time applications. |
|
IVIDEO_NONE |
No configurable video rate control mechanism. |
|
IVIDEO_USER_DEFINED |
User defined configuration using extended parameters. |
H.264 xDM header file:
typedef enum
{
IH264_RATECONTROL_PRC = 0 , /**< Perceptual Rate Control,
* controls the QP @ MB level
*/
IH264_RATECONTROL_PRC_LOW_DELAY = 1, /** Low Delay Rate Control */
IH264_RATECONTROL_DEFAULT = IH264_RATECONTROL_PRC/** Default rcAlgo is PRC */
} IH264ENC_RateControlAlgo;
2. Is there a parameter for controlling of maximum and minimum values for VBR (there is something maybe for HF-VBR but I dont see how to configure codec for using HF-VBR as written in previous question) ?
3. Is There a parameter for controlling the time used for VBR bit rate calculation ? I did not find one.
Best Regards,
Ran