TscH264

Parameters for the Tencent TSC SDK H.264 encoder (ten264, x264-compatible)

Field

Type

Repeated

Description

bitrateMode

oneOf

⮑abr

uint32

⮑cqp

uint32

⮑crf

float

preset

TscPreset

tune

TscTune

profile

TscH264.TscH264Profile

level

OptionalInt

Level flag in the output, 10x the value (e.g. 51 for level 5.1)

threads

OptionalInt

key_frame_interval_min

OptionalInt

key_frame_interval_max

OptionalInt

bframes

OptionalInt

vbv_max_rate

OptionalInt

Maximum rate the VBV buffer should be assumed to refill at (kbit/s)

vbv_buffer_size

OptionalInt

Size of the VBV buffer in kilobits

calculate_psnr

OptionalBool

calculate_ssim

OptionalBool

extra_opts

OptionalString

Additional TSC SDK options in the format "--key value --key2 value2" (passed through to tenXXX_param_parse)

sdk_config

oneOf

⮑sdk_config_path

string

⮑sdk_config_contents

string

intra_refresh

OptionalBool

Gradual decoder refresh (intra-refresh): replace periodic IDR keyframes with a moving column of intra blocks over the keyint period, avoiding the IDR bitrate spike. The refresh period follows key_frame_interval_max.

Member of

Message

Description

VideoEncodeStream