H263: error -1 on vpu_EncGetInitialInfo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

H263: error -1 on vpu_EncGetInitialInfo

Jump to solution
1,065 Views
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.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
860 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
861 Views
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 Kudos
Reply
860 Views
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

860 Views
BrilliantovKiri
Senior Contributor I

Hello!

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

0 Kudos
Reply