H263: error -1 on vpu_EncGetInitialInfo

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

H263: error -1 on vpu_EncGetInitialInfo

ソリューションへジャンプ
1,611件の閲覧回数
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,406件の閲覧回数
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,407件の閲覧回数
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,406件の閲覧回数
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,406件の閲覧回数
BrilliantovKiri
Senior Contributor I

Hello!

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

0 件の賞賛
返信