libgpac
Documentation of the core library of GPAC
GF_ESInterface Struct Reference

#include <mpegts.h>

+ Collaboration diagram for GF_ESInterface:

Data Fields

u32 caps
 
u32 stream_id
 
u8 stream_type
 
u32 codecid
 
u32 lang
 
u32 timescale
 
Double duration
 
u32 bit_rate
 
u32 repeat_rate
 
u8decoder_config
 
u32 decoder_config_size
 
GF_SLConfigsl_config
 
GF_Err(* input_ctrl )(struct __elementary_stream_ifce *_self, u32 ctrl_type, void *param)
 
void * input_udta
 
GF_Err(* output_ctrl )(struct __elementary_stream_ifce *_self, u32 ctrl_type, void *param)
 
void * output_udta
 
u32 depends_on_stream
 
u8 dv_info [24]
 
u32 ra_code
 
u32 gpac_meta_dsi_size
 
u8gpac_meta_dsi
 
const char * gpac_meta_name
 

Detailed Description

elementary stream information

Field Documentation

◆ caps

u32 GF_ESInterface::caps

misc caps of the stream

◆ stream_id

u32 GF_ESInterface::stream_id

matches PID for MPEG2, ES_ID for MPEG-4

◆ stream_type

u8 GF_ESInterface::stream_type

MPEG-4 ST

◆ codecid

u32 GF_ESInterface::codecid

codec ID

◆ lang

u32 GF_ESInterface::lang

packed 3-char language code (4CC with last byte ' ')

◆ timescale

u32 GF_ESInterface::timescale

media timescale

◆ duration

Double GF_ESInterface::duration

duration in ms - 0 if unknown

◆ bit_rate

u32 GF_ESInterface::bit_rate

average bit rate in bit/sec - 0 if unknown

◆ repeat_rate

u32 GF_ESInterface::repeat_rate

repeat rate in ms for carrouseling - 0 if no repeat

◆ decoder_config

u8* GF_ESInterface::decoder_config

decoder configuration

◆ decoder_config_size

u32 GF_ESInterface::decoder_config_size

decoder configuration size

◆ sl_config

GF_SLConfig* GF_ESInterface::sl_config

MPEG-4 SL Config if any

◆ input_ctrl

GF_Err(* GF_ESInterface::input_ctrl) (struct __elementary_stream_ifce *_self, u32 ctrl_type, void *param)

input ES control from caller

◆ input_udta

void* GF_ESInterface::input_udta

input user data of interface - usually set by interface owner

◆ output_ctrl

GF_Err(* GF_ESInterface::output_ctrl) (struct __elementary_stream_ifce *_self, u32 ctrl_type, void *param)

output ES control of destination

◆ output_udta

void* GF_ESInterface::output_udta

output user data of interface - usually set during interface setup

◆ depends_on_stream

u32 GF_ESInterface::depends_on_stream

stream dependency ID

◆ dv_info

u8 GF_ESInterface::dv_info[24]

dv info, not valid if first byte not 1

◆ ra_code

u32 GF_ESInterface::ra_code

registration authority code to use, 0 if not applicable

◆ gpac_meta_dsi_size

u32 GF_ESInterface::gpac_meta_dsi_size

GPAC unmapped meta codec decoder config size

◆ gpac_meta_dsi

u8* GF_ESInterface::gpac_meta_dsi

GPAC unmapped meta codec decoder config

◆ gpac_meta_name

const char* GF_ESInterface::gpac_meta_name

GPAC unmapped meta codec name if knwon