Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Background

This page documents the attributes for codecs that are to be supported within Asterisk. This includes negotiation of the attributes, SDP parsing, and SDP generation.

H.263

For further details on each of these attributes see RFC 4629 here.

Name

Description

Type

Range

Supported Values

SQCIF

Minimum picture interval for SQCIF resolution

int

1 to 32

See range

QCIF

Minimum picture interval for QCIF resolution

int

1 to 32

See range

CIF

Minimum picture interval for CIF resolution

int

1 to 32

See range

CIF4

Minimum picture interval for 4CIF resolution

int

1 to 32

See range

CIF16

Minimum picture interval for 16CIF resolution

int

1 to 32

See range

CUSTOM

Minimum picture interval for a custom resolution

string - Xmax,Ymax,MPI

Specific to resolution

Specific to resolution

F

F annex support

bool

0 or not present if unsupported, 1 if supported

See range

I

I annex support

bool

0 or not present if unsupported, 1 if supported

See range

J

J annex support

bool

0 or not present if unsupported, 1 if supported

See range

T

T annex support

bool

0 or not present if unsupported, 1 if supported

See range

K

K annex support

int

1 to 4

1 (Slices in order, non-rectangular), 2 (Slices in order, rectangular), 3 (Slices not ordered, non-rectangular), 4 (Slices not ordered, rectangular)

N

N annex support

int

1 to 4

1 (Neither), 2 (Ack), 3 (Nack), 4 (Ack+Nack)

P

Reference picture resampling

string - comma separated support submodes

1 to 4

1 (dynamicPictureResizingByFour), 2 (dynamicPictureResizingBySixteenthPel), 3 (dynamicWarpingHalfPel), 4 (dynamicWarpingSixteenthPel)

PAR

Pixel aspect ratio

string - width:height

0 to 255 for both width and height

See range

BPP

Bits per picture maximum

int

0 to 65536

See range

HRD

Hypothetical reference decoder

bool

0 or not present if unsupported, 1 if supported

See range

H.264

For further details on each of these attributes see RFC 3984 here. Due to the complex nature of H.264 the details for each attribute is not fully expressed here.

Name

Description

Type

profile-level-id

Profile level details

base16 hex representation

max-mbps

Maximum macroblock processing rate

int

max-fs

Maximum frame size in units of macroblocks

int

max-cpb

Maximum coded picture buffer size

int

max-dpb

Maximum decoded picture buffer size

int

max-br

Maximum video bit rate

int

redundant-pic-cap

Redundant coded pictures support

bool

sprop-parameter-sets

Sequence and picture parameter set NAL units

int

parameter-add

Whether receiver is allowed to add parameter sets in response

bool

packetization-mode

The packetization mode

int

sprop-interleaving-depth

Maximum number of VCL NAL units that precede any VCL NAL unit

int

sprop-deint-buf-req

Required deinterleaving buffer size for the NAL unit stream

int

deint-buf-cap

Available deinterleaving buffer space receiver has

int

sprop-init-buf-time

Initial buffering time receiver MUST buffer before starting decode

int

sprop-max-don-diff

See RFC

int

max-rcmd-nalu-size

Largest NALU size in bytes that the receiver can handle

int