libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
scte35.h File Reference
#include <gpac/tools.h>
+ Include dependency graph for scte35.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define GF_SCTE35_SCHEME_URI_INBAND   "urn:scte:scte35:2013:bin"
 
#define GF_SCTE35_SCHEME_URI_OUTBAND   "urn:scte:scte35:2014:xml+bin"
 
#define SCTE35_ARG
 

Typedefs

typedef u32 Scte35Mode
 

Enumerations

enum  Scte35Mode_t { SCTE35_DASH_XML_BIN , SCTE35_INBAND , SCTE35_ALL , SCTE35_NONE }
 

Functions

Bool scte35dec_get_timing (const u8 *data, u32 size, u64 *pts, u64 *dur, u32 *splice_event_id, Bool *needs_idr)
 

Macro Definition Documentation

◆ GF_SCTE35_SCHEME_URI_INBAND

#define GF_SCTE35_SCHEME_URI_INBAND   "urn:scte:scte35:2013:bin"

SCTE-35 DASH-IF binary scheme URI for emsg / InbandEventStream signaling

◆ GF_SCTE35_SCHEME_URI_OUTBAND

#define GF_SCTE35_SCHEME_URI_OUTBAND   "urn:scte:scte35:2014:xml+bin"

SCTE-35 DASH-IF scheme URI for out-of-band (in the manifest) signaling

◆ SCTE35_ARG

#define SCTE35_ARG
Value:
{ OFFS(scte35), "SCTE-35 signalling\n" \
"- xml+bin: out-of-band (MPD) EventStream with xml+bin (recommended default)\n" \
"- inband: in-band `emsg` boxes\n" \
"- all: signal everywhere detected\n" \
"- none: no EventStream", GF_PROP_UINT, "xml+bin", "xml+bin|inband|all|none", GF_FS_ARG_HINT_EXPERT }
#define OFFS(_n)
Definition avin_web.c:509
@ GF_FS_ARG_HINT_EXPERT
Definition filters.h:2176
@ GF_PROP_UINT
Definition filters.h:882

Typedef Documentation

◆ Scte35Mode

typedef u32 Scte35Mode

Enumeration Type Documentation

◆ Scte35Mode_t

Enumerator
SCTE35_DASH_XML_BIN 
SCTE35_INBAND 
SCTE35_ALL 
SCTE35_NONE 

Function Documentation

◆ scte35dec_get_timing()

Bool scte35dec_get_timing ( const u8 data,
u32  size,
u64 pts,
u64 dur,
u32 splice_event_id,
Bool needs_idr 
)

SCTE-35 parsing of the MPEG2-TS splice_info_section to extract timing and event information

Parameters
datathe entire SCTE 35 splice_info_section
sizesize of the section
pts[out] effective splice PTS in 90kHz timescale (if function returns true)
dur[out] break_duration in 90kHz timescale (if function returns true)
splice_event_id[out] splice event id (if function returns true)
needs_idr[out] set to true when the splice point requires an IDR
Returns
GF_TRUE if timing was successfully extracted, GF_FALSE otherwise
+ Here is the call graph for this function:
+ Here is the caller graph for this function: