You are on page 1of 7

Machine Translated by Google

Junzheng®

Zeratul T31 Video Encoding FAQ

Date: Jan.2021
Machine Translated by Google

Junzheng®

Zeratul T31 Video Encoding FAQ


Copyright © Ingenic Semiconductor Co. Ltd 2019. All rights reserved.

Release history

Date Revision Change


Jan.2021 1.0 First release

Disclaimer

This documentation is provided for use with Ingenic products. No license to


Ingenic property rights is granted. Ingenic assumes no liability, provides no warranty
either expressed or implied relating to the usage, or intellectual property right
infringement except as provided for by Ingenic Terms and Conditions of Sale.

Ingenic products are not designed for and should not be used in any medical or
life sustaining or supporting equipment.

All information in this document should be treated as preliminary. Ingenic may


make changes to this document without notice. Anyone relying on this
documentation should contact Ingenic for the current documentation and errata.

Beijing Junzheng Integrated Circuit Co., Ltd.

Address: Junzheng Building, Building 14, Yard East District, No. 10 Xibeiwang East Road, Haidian District, Beijing

Tel: (86-10)56345000
Fax: (86-10)56345001
Http: //www.ingenic.c
Machine Translated by Google

T31-USB interface configuration and use

1. Coding parameter initialization interface analysis

2. 5 ways of rate control

The differences between variable bit rate modes are as

follows: VBR variable bit rate mode,

CAPPED_VBR variable code rate mode based on target PSNR value,

CAPPED_QUALITY Based on CAPPED_VBR, a variable bit rate mode is added to solve the problem of low bit rate under intense exercise. It is recommended

to use

IMP_ENC_RC_MODE_CAPPED_QUALITY mode

T31 video encoding FAQ 1

Copyright® 2005-2019 Ingenic Semiconductor Co., Ltd. All rights reserved.


Machine Translated by Google

T31-USB interface configuration and use

3. Encoding mode switching and dynamic setting of encoding parameters

3.1. Switching between h265 and h264 encoding methods requires destroying the encoding channel and then re-creating the group.

There is no need to destroy and rebuild, you only need to unregister, destroy, create and register enc chn.

3.2. To dynamically set encoding parameters, call the following interface to set the corresponding parameters:

T31 video encoding FAQ 2

Copyright® 2005-2019 Ingenic Semiconductor Co., Ltd. All rights reserved.


Machine Translated by Google

T31-USB interface configuration and use

4. How to judge I frame, P frame sequence parameter set (SPS), image parameter set (PPS), enhancement

Information (SEI)

It can be judged by the NaL type of the code stream package. For related operations, please refer to the sample_common.c code:

T31 video encoding FAQ 3

Copyright® 2005-2019 Ingenic Semiconductor Co., Ltd. All rights reserved.


Machine Translated by Google

T31-USB interface configuration and use

T31 video encoding FAQ 4

Copyright® 2005-2019 Ingenic Semiconductor Co., Ltd. All rights reserved.


Machine Translated by Google

T31-USB interface configuration and use

5. Jpeg encoding parameter debugging:

Profile is set to IMP_ENC_PROFILE_JPEG, stream


control mode is set to IMP_ENC_RC_MODE_FIXQP, adjustable
parameter is iInitialQP , value range is 0-80, the larger the value, the better the image quality.

T31 video encoding FAQ


5
Copyright® 2005-2019 Ingenic Semiconductor Co., Ltd. All rights reserved.

You might also like