- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Version IPP 5.3
I am encoding YUV420 image into H264. I would like to use quant parameter values for rate control method instead of constant bitrate. I used the following with MPEG encoder and it worked flawlessly with good compression. I just want to replicate the same for H264 encoder.
....m_pMPEGParams->m_Param.quantIVOP = m_pMPEGParams->m_Param.quantPVOP = 5;
Following is what I did for H264, and whatever QP values I use I seem to get the same level of compression which is 3rd of YUV420 data length. Whereas, MPEG4 with same qp values yielded much much better compression (about 1/30 of YUV420 length).
.... m_pH264Params->rate_controls.method = UMC::H264_RCM_QUANT;
.... m_pH264Params->rate_controls.quantI = m_pH264Params->rate_controls.quantP = 5;
Any suggestions or pointers are much appreciated. Thank you very much.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For H.264, it needs to use H264_RCM_DEBUG to take the QP parameters. See how the following works:
.... m_pH264Params->rate_controls.method = H264_RCM_DEBUG;
.... m_pH264Params->rate_controls.quantI = m_pH264Params->rate_controls.quantP = 5;
Thanks,
Chao

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page