H263: error -1 on vpu_EncGetInitialInfo

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

H263: error -1 on vpu_EncGetInitialInfo

跳至解决方案
1,608 次查看
BrilliantovKiri
Senior Contributor I

Hello!

I use imx-lib-11.09.01 (VPU firmware version: 1.4.41, VPU library version: 5.3.2) on Linux-2.6.35.3.

I try configure VPU on using H263:

encop.EncStdParam.h263Param.h263_annexIEnable = 0;

encop.EncStdParam.h263Param.h263_annexJEnable = 1;

encop.EncStdParam.h263Param.h263_annexKEnable = 1;

encop.EncStdParam.h263Param.h263_annexTEnable = 1;

Unfotrunally vpu_EncGetInitialInfo exit with -1 on this configuration.

I have to encode 1280x720@25 stream, because I configure codec on H.263v2 (H.263 - Wikipedia, the free encyclopedia) I think problem not in resolution and framerate.

How can I solve this problem, unfortunally technical support not help?

Thank you and excuse my bad english.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,403 次查看
BrilliantovKiri
Senior Contributor I

Problem solved, you should use follow H263 parameters: I = 0, J = 1, K = 0 and T = 0, quantParam should be not less than 1.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,404 次查看
BrilliantovKiri
Senior Contributor I

Problem solved, you should use follow H263 parameters: I = 0, J = 1, K = 0 and T = 0, quantParam should be not less than 1.

0 项奖励
回复
1,403 次查看
karina_valencia
NXP Apps Support
NXP Apps Support
Re: H263: error -1 on vpu_EncGetInitialInfo

Peng ZhouEmployee

Hi,

    I tried H.263 with JKT enabled (I=0, J=K=T=1)on my imx53 board, it works.(FW 1.4.41, vpu lib 5.3.2)

    So I think there must be some other incorrect configuration lead to the init failure.

    Can you double check whether it works for I=0, J=1, K=T=0 ?

    Another way, you had better refer to our unit test codes to set the proper parameters.

Eagle

1,403 次查看
BrilliantovKiri
Senior Contributor I

Hello!

Unfortunally with I=0, J=1, K=T=0 I get -3 on vpu_EncStartOneFrame command.

0 项奖励
回复