libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/mpegts.h>
#include <gpac/thread.h>
#include <gpac/internal/media_dev.h>
#include <gpac/internal/id3.h>
Data Structures | |
struct | GF_M2TSDmxCtx_Prog |
struct | GF_M2TS_Prop |
struct | GF_M2TS_Prop_TEMIInfo |
struct | GF_M2TSDmxCtx |
Macros | |
#define | GF_M2TS_PROP |
#define | M2TS_MAX_LOOPS 50 |
#define | OFFS(_n) #_n, offsetof(GF_M2TSDmxCtx, _n) |
Enumerations | |
enum | GF_M2TS_PropType { M2TS_TEMI_INFO , M2TS_ID3 , M2TS_SCTE35 } |
enum | { DMX_TUNE_DONE =0 , DMX_TUNE_INIT , DMX_TUNE_WAIT_PROGS , DMX_TUNE_WAIT_SEEK } |
Functions | |
static void | m2tsdmx_prop_free (GF_M2TS_Prop *prop) |
static void | m2tsdmx_estimate_duration (GF_M2TSDmxCtx *ctx, GF_M2TS_ES *stream) |
static void | m2tsdmx_on_event_duration_probe (GF_M2TS_Demuxer *ts, u32 evt_type, void *param) |
static void | m2tsdmx_update_sdt (GF_M2TS_Demuxer *ts, void *for_pid) |
static void | m2tsdmx_declare_pid (GF_M2TSDmxCtx *ctx, GF_M2TS_PES *stream, GF_ESD *esd) |
static void | m2tsdmx_setup_scte35 (GF_M2TSDmxCtx *ctx, GF_M2TS_Program *prog) |
static void | m2tsdmx_setup_program (GF_M2TSDmxCtx *ctx, GF_M2TS_Program *prog) |
static void | m2tdmx_merge_props (GF_FilterPid *pid, GF_M2TS_ES *stream, GF_FilterPacket *pck) |
static void | m2tsdmx_send_packet (GF_M2TSDmxCtx *ctx, GF_M2TS_PES_PCK *pck) |
static GF_M2TS_ES * | m2tsdmx_get_m4sys_stream (GF_M2TSDmxCtx *ctx, u32 m4sys_es_id) |
static GFINLINE void | m2tsdmx_send_sl_packet (GF_M2TSDmxCtx *ctx, GF_M2TS_SL_PCK *pck) |
static void | m2tsdmx_on_event (GF_M2TS_Demuxer *ts, u32 evt_type, void *param) |
static GF_Err | m2tsdmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static GF_M2TS_PES * | m2tsdmx_get_stream (GF_M2TSDmxCtx *ctx, GF_FilterPid *pid) |
static void | m2tsdmx_switch_quality (GF_M2TS_Program *prog, GF_M2TS_Demuxer *ts, Bool switch_up) |
static Bool | m2tsdmx_process_event (GF_Filter *filter, const GF_FilterEvent *com) |
static GF_Err | m2tsdmx_initialize (GF_Filter *filter) |
static void | m2tsdmx_finalize (GF_Filter *filter) |
static GF_Err | m2tsdmx_process (GF_Filter *filter) |
static const char * | m2tsdmx_probe_data (const u8 *data, u32 size, GF_FilterProbeScore *score) |
const GF_FilterRegister * | m2tsdmx_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | M2TSDmxCaps [] |
static const GF_FilterArgs | M2TSDmxArgs [] |
GF_FilterRegister | M2TSDmxRegister |
struct GF_M2TS_Prop |
struct GF_M2TS_Prop_TEMIInfo |
Data Fields | ||
---|---|---|
GF_M2TS_PROP u32 | timeline_id | |
Bool | is_loc |
struct GF_M2TSDmxCtx |
Data Fields | ||
---|---|---|
const char * | temi_url | |
Bool | dsmcc | |
Bool | seeksrc | |
Bool | sigfrag | |
Bool | dvbtxt | |
Double | index | |
GF_Filter * | filter | |
GF_FilterPid * | ipid | |
GF_M2TS_Demuxer * | ts | |
GF_FilterPid * | eit_pid | |
Bool | is_file | |
u64 | file_size | |
Bool | in_seek | |
Bool | initial_play_done | |
u32 | nb_playing | |
u32 | nb_stop_pending | |
GF_Fraction64 | duration | |
u64 | first_pcr_found | |
u16 | pcr_pid | |
u64 | nb_pck_at_pcr | |
u32 | map_time_on_prog_id | |
Double | media_start_range | |
u32 | mux_tune_state | |
u32 | wait_for_progs | |
Bool | is_dash | |
u32 | nb_stopped_at_init |
#define GF_M2TS_PROP |
#define M2TS_MAX_LOOPS 50 |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_M2TSDmxCtx, _n) |
enum GF_M2TS_PropType |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const GF_FilterRegister* m2tsdmx_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister M2TSDmxRegister |