Forums - AVC quantization parameter(QP) is too high on Snapdragon 800 platform

1 post / 0 new
AVC quantization parameter(QP) is too high on Snapdragon 800 platform
repco
Join Date: 13 Feb 14
Posts: 1
Posted: Wed, 2014-09-24 19:10

I am using Android MediaCodec class to encode video on Snapdragon 800 platform. I have set properly the parameters, like resolution, bitrate, bitrate-mode and framerate, but always get blur AVC frames whose video QP is too high(51). I think it is a Snapdragon 800 platform issue, because my same code works fine both on Samsung platform and Snapdragon S4 platform. 

Here is some code of mine:

mMF = MediaFormat.createVideoFormat(MIME_TYPE, width, height);

mMF.setInteger(MediaFormat.KEY_BIT_RATE, bitrate);  

mMF.setInteger("bitrate-mode", VIDEO_ControlRateConstant);

mMF.setInteger(MediaFormat.KEY_FRAME_RATE, framerate);  

mMF.setInteger(MediaFormat.KEY_COLOR_FORMAT, mPrimeColorFormat);  

mMF.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, mIDRInterval); 

mMF.setInteger("stride", width);

mMF.setInteger("slice-height", height);

mMC.configure(mMF, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.