i.MX Hardware accelaration for AVC encoder- Aspect Ratio

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX Hardware accelaration for AVC encoder- Aspect Ratio

1,441 次查看
duraiselvakumar
Contributor II

Hi all,

     I got one issue regarding AVC H/W encoder(Aspect Ratio field is not filled) android - 5.0.2 lollipop in sabresd-imx6q board.

I need to change the SAR for the encoding stream, since by default H/W encoding don't have the VUI information. Hence most of the decoder calculate their aspect ratio based on the resolution. So that decoded video contains black bar on left and right side.

So i tried to find the SPS configuration regarding VUI parameters for aspect ratio info present flag but i can't able to find the configuration for hardware encoder.

Whether is there any provision to set the sample aspect ratio for h/w based encoding ?

Also i got the below error(unsupported index) as when i started AVC H/W based encoding

"E/OMXNodeInstance(  155): OMX_SetParameter() failed for StoreMetaDataInBuffers: 0x8000101a"

Thanks in advance.

标签 (5)
2 回复数

1,085 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Durai

for aspect ratio please check sect.3.2.2.21 DecInitialInfo

attached VPU Programming Manual.

Regarding error - had you installed Freescale Enhanced Codecs,

OMXPlayer package, they are also described in attached documents.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

1,085 次查看
duraiselvakumar
Contributor II

Hi igor,

Thanks for your support.

I will check it and let you know if any clarification.

Thanks and Best Regards,

Durai Selvakumar D

0 项奖励
回复