upipe-ts/upipe_ts_mux.h header reference

Upipe higher-level module muxing elementary streams in a TS More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe higher-level module muxing elementary streams in a TS

Members detail  

#define UPIPE_TS_MUX_INNER_SINK_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 35.

#define UPIPE_TS_MUX_INPUT_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 37.

#define UPIPE_TS_MUX_MGR_GET_SET_MGR(name, NAME)  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 737.

#define UPIPE_TS_MUX_MGR_GET_SET_MGR2(name, NAME)  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 754.

#define UPIPE_TS_MUX_PROGRAM_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 36.

#define UPIPE_TS_MUX_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 34.

#define _UPIPE_TS_UPIPE_TS_MUX_H_  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 26.

enum upipe_ts_mux_command  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 75.

This enum extends upipe_command with specific commands for ts mux.

IdentifierValueDescription
UPIPE_TS_MUX_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_TS_MUX_GET_CONFORMANCEunknownreturns the current conformance (int *)
UPIPE_TS_MUX_SET_CONFORMANCEunknownsets the conformance (int)
UPIPE_TS_MUX_GET_CCunknownreturns the current continuity counter (unsigned int *)
UPIPE_TS_MUX_SET_CCunknownsets the continuity counter (unsigned int)
UPIPE_TS_MUX_SET_CR_PROGunknownsets the initial cr_prog of the next access unit (uint64_t)
UPIPE_TS_MUX_GET_PAT_INTERVALunknownreturns the current PAT interval (uint64_t *)
UPIPE_TS_MUX_SET_PAT_INTERVALunknownsets the PAT interval (uint64_t)
UPIPE_TS_MUX_GET_PMT_INTERVALunknownreturns the current PMT interval (uint64_t *)
UPIPE_TS_MUX_SET_PMT_INTERVALunknownsets the PMT interval (uint64_t)
UPIPE_TS_MUX_GET_NIT_INTERVALunknownreturns the current NIT interval (uint64_t *)
UPIPE_TS_MUX_SET_NIT_INTERVALunknownsets the NIT interval (uint64_t)
UPIPE_TS_MUX_GET_SDT_INTERVALunknownreturns the current SDT interval (uint64_t *)
UPIPE_TS_MUX_SET_SDT_INTERVALunknownsets the SDT interval (uint64_t)
UPIPE_TS_MUX_GET_EIT_INTERVALunknownreturns the current EIT interval (uint64_t *)
UPIPE_TS_MUX_SET_EIT_INTERVALunknownsets the EIT interval (uint64_t)
UPIPE_TS_MUX_GET_TDT_INTERVALunknownreturns the current TDT interval (uint64_t *)
UPIPE_TS_MUX_SET_TDT_INTERVALunknownsets the TDT interval (uint64_t)
UPIPE_TS_MUX_GET_PCR_INTERVALunknownreturns the current PCR interval (uint64_t *)
UPIPE_TS_MUX_SET_PCR_INTERVALunknownsets the PCR interval (uint64_t)
UPIPE_TS_MUX_GET_SCTE35_INTERVALunknownreturns the current SCTE35 interval (uint64_t *)
UPIPE_TS_MUX_SET_SCTE35_INTERVALunknownsets the SCTE35 interval (uint64_t)
UPIPE_TS_MUX_GET_MAX_DELAYunknownreturns the current maximum retention delay (uint64_t *)
UPIPE_TS_MUX_SET_MAX_DELAYunknownsets the maximum retention delay (uint64_t)
UPIPE_TS_MUX_GET_MUX_DELAYunknownreturns the current muxing delay (uint64_t *)
UPIPE_TS_MUX_SET_MUX_DELAYunknownsets the muxing delay (uint64_t)
UPIPE_TS_MUX_GET_OCTETRATEunknownreturns the current mux octetrate (uint64_t *)
UPIPE_TS_MUX_SET_OCTETRATEunknownsets the mux octetrate (uint64_t)
UPIPE_TS_MUX_GET_PADDING_OCTETRATEunknownreturns the current padding octetrate (uint64_t *)
UPIPE_TS_MUX_SET_PADDING_OCTETRATEunknownsets the padding octetrate (uint64_t)
UPIPE_TS_MUX_GET_EITS_OCTETRATEunknownreturns the current octetrate for EIT schedule (uint64_t *)
UPIPE_TS_MUX_SET_EITS_OCTETRATEunknownsets the octetrate for EIT schedule (uint64_t)
UPIPE_TS_MUX_GET_MODEunknownreturns the current mode (int *)
UPIPE_TS_MUX_SET_MODEunknownsets the mode (int)
UPIPE_TS_MUX_GET_VERSIONunknownreturns the current version number of the table (unsigned int *)
UPIPE_TS_MUX_SET_VERSIONunknownsets the version number of the table (unsigned int)
UPIPE_TS_MUX_GET_AAC_ENCAPSunknownreturns the current encapsulation for AAC streams (int *)
UPIPE_TS_MUX_SET_AAC_ENCAPSunknownsets the encapsulation for AAC streams (int)
UPIPE_TS_MUX_GET_ENCODINGunknownreturns the current encoding for strings (const char **)
UPIPE_TS_MUX_SET_ENCODINGunknownsets the encoding for strings (const char *)
UPIPE_TS_MUX_FREEZE_PSIunknownstops updating a PSI table upon sub removal
UPIPE_TS_MUX_PREPAREunknownprepares the next access unit/section for the given date (uint64_t, uint64_t)
UPIPE_TS_MUX_ENCAPSUPIPE_CONTROL_LOCAL+0x1000ts_encaps commands begin here
UPIPE_TS_MUX_PSIGUPIPE_CONTROL_LOCAL+0x2000ts_psig commands begin here
UPIPE_TS_MUX_PSIG_PROGRAMUPIPE_CONTROL_LOCAL+0x3000ts_psig_program commands begin here
UPIPE_TS_MUX_SIGUPIPE_CONTROL_LOCAL+0x4000ts_sig commands begin here

const char * upipe_ts_mux_command_str(int cmd)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 720.

This function returns a description string for local commands.

Parameter list:

  • cmd: control command

The return value is description string

const char * upipe_ts_mux_event_str(int event)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 727.

This function returns a description string for local events.

Parameter list:

  • event: event

The return value is description string

int upipe_ts_mux_freeze_psi(struct upipe *upipe)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 696.

This function stops updating a PSI table upon sub removal.

Parameter list:

  • upipe: description structure of the pipe

The return value is an error code

int upipe_ts_mux_get_aac_encaps(struct upipe *upipe, int *encaps_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 647.

This function returns the current encapsulation for AAC streams (see enum uref_mpga_encaps).

Parameter list:

  • upipe: description structure of the pipe
  • encaps_p: filled in with the encapsulation

The return value is an error code

int upipe_ts_mux_get_cc(struct upipe *upipe, unsigned int *cc_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 208.

This function returns the current continuity counter.

Parameter list:

  • upipe: description structure of the pipe
  • cc_p: filled in with the countinuity counter

The return value is an error code

int upipe_ts_mux_get_conformance(struct upipe *upipe, enum upipe_ts_conformance *conformance_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 182.

This function returns the current conformance mode. It cannot return UPIPE_TS_CONFORMANCE_AUTO.

Parameter list:

  • upipe: description structure of the pipe
  • conformance_p: filled in with the conformance

The return value is an error code

int upipe_ts_mux_get_eit_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 354.

This function returns the current EIT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_eits_octetrate(struct upipe *upipe, uint64_t *octetrate_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 566.

This function returns the current EITs octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate_p: filled in with the octetrate

The return value is an error code

int upipe_ts_mux_get_encoding(struct upipe *upipe, const char **encoding_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 672.

This function returns the current encoding for strings.

Parameter list:

  • upipe: description structure of the pipe
  • encoding_p: filled in with the encoding

The return value is an error code

int upipe_ts_mux_get_max_delay(struct upipe *upipe, uint64_t *delay_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 460.

This function returns the current maximum retention delay.

Parameter list:

  • upipe: description structure of the pipe
  • delay_p: filled in with the delay

The return value is an error code

int upipe_ts_mux_get_mode(struct upipe *upipe, enum upipe_ts_mux_mode *mode_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 592.

This function returns the current mode.

Parameter list:

  • upipe: description structure of the pipe
  • mode_p: filled in with the mode

The return value is an error code

int upipe_ts_mux_get_mux_delay(struct upipe *upipe, uint64_t *delay_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 487.

This function returns the current mux delay (live mode).

Parameter list:

  • upipe: description structure of the pipe
  • delay_p: filled in with the delay

The return value is an error code

int upipe_ts_mux_get_nit_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 300.

This function returns the current NIT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_octetrate(struct upipe *upipe, uint64_t *octetrate_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 513.

This function returns the current mux octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate_p: filled in with the octetrate

The return value is an error code

int upipe_ts_mux_get_padding_octetrate(struct upipe *upipe, uint64_t *octetrate_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 540.

This function returns the current padding octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate_p: filled in with the octetrate

The return value is an error code

int upipe_ts_mux_get_pat_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 246.

This function returns the current PAT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_pcr_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 408.

This function returns the current PCR interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_pmt_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 273.

This function returns the current PMT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_scte35_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 434.

This function returns the current SCTE35 interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_sdt_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 327.

This function returns the current SDT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_tdt_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 381.

This function returns the current TDT interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_version(struct upipe *upipe, unsigned int *version_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 619.

This function returns the current version of the PSI table. It may also be called on upipe_ts_psi_generator.

Parameter list:

  • upipe: description structure of the pipe
  • version_p: filled in with the version

The return value is an error code

struct upipe_mgr * upipe_ts_mux_mgr_alloc(void )  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 733.

This function returns the management structure for all ts_mux pipes.

The return value is pointer to manager

enum upipe_ts_mux_mgr_command  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 736.

This enum is a list of specific commands for ts mux managers.

IdentifierValueDescription
UPIPE_TS_MUX_MGR_GET_TS_ENCAPS_MGR0returns the current manager for ts_encaps subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_ENCAPS_MGR1sets the manager for ts_encaps subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_TSTD_MGR2returns the current manager for ts_tstd subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_TSTD_MGR3sets the manager for ts_tstd subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_PSI_JOIN_MGR4returns the current manager for ts_psi_join subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_PSI_JOIN_MGR5sets the manager for ts_psi_join subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_PSIG_MGR6returns the current manager for ts_psig subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_PSIG_MGR7sets the manager for ts_psig subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_SIG_MGR8returns the current manager for ts_sig subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_SIG_MGR9sets the manager for ts_sig subpipes (struct upipe_mgr *)

int upipe_ts_mux_mgr_get_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 783.

This function returns the current manager for ts_encaps subpipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the ts_encaps manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_psi_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 785.

This function returns the current manager for ts_psi_join subpipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the ts_psi_join manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 786.

This function returns the current manager for ts_psig subpipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the ts_psig manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_sig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 787.

This function returns the current manager for ts_sig subpipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the ts_sig manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_tstd_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 784.

This function returns the current manager for ts_tstd subpipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the ts_tstd manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 783.

This function sets the manager for ts_encaps subpipes.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to ts_encaps manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_psi_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 785.

This function sets the manager for ts_psi_join subpipes.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to ts_psi_join manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 786.

This function sets the manager for ts_psig subpipes.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to ts_psig manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_sig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 787.

This function sets the manager for ts_sig subpipes.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to ts_sig manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_tstd_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 784.

This function sets the manager for ts_tstd subpipes.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to ts_tstd manager

The return value is an error code

enum upipe_ts_mux_mode  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 52.

This enum defines the modes of multiplexing.

IdentifierValueDescription
UPIPE_TS_MUX_MODE_CBR0constant octetrate
UPIPE_TS_MUX_MODE_CAPPED1capped octetrate

const char * upipe_ts_mux_mode_print(enum upipe_ts_mux_mode mode)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 66.

This function returns a string describing the mode.

Parameter list:

  • mode: coded mode

The return value is a constant string describing the mode

int upipe_ts_mux_prepare(struct upipe *upipe, uint64_t cr_sys, uint64_t latency)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 710.

This function prepares the access unit/section for the given date.

Parameter list:

  • upipe: description structure of the pipe
  • cr_sys: current muxing date
  • latency: latency before the packet is output

The return value is an error code

int upipe_ts_mux_set_aac_encaps(struct upipe *upipe, int encaps)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 659.

This function sets the encapsulation for AAC streams (see enum uref_mpga_encaps).

Parameter list:

  • upipe: description structure of the pipe
  • encaps: encapsulation

The return value is an error code

int upipe_ts_mux_set_cc(struct upipe *upipe, unsigned int cc)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 220.

This function sets the continuity counter.

Parameter list:

  • upipe: description structure of the pipe
  • cc: new continuity counter

The return value is an error code

int upipe_ts_mux_set_conformance(struct upipe *upipe, enum upipe_ts_conformance conformance)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 196.

This function sets the conformance mode.

Parameter list:

  • upipe: description structure of the pipe
  • conformance: conformance mode

The return value is an error code

int upipe_ts_mux_set_cr_prog(struct upipe *upipe, uint64_t cr_prog)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 233.

This function sets the cr_prog of the next access unit.

Parameter list:

  • upipe: description structure of the pipe
  • cr_prog: cr_prog of the next access unit

The return value is an error code

int upipe_ts_mux_set_eit_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 368.

This function sets the EIT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_eits_octetrate(struct upipe *upipe, uint64_t octetrate)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 579.

This function sets the EITs octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate: new octetrate

The return value is an error code

int upipe_ts_mux_set_encoding(struct upipe *upipe, const char *encoding)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 685.

This function sets the encoding for strings.

Parameter list:

  • upipe: description structure of the pipe
  • encoding: encoding (default: UTF-8)

The return value is an error code

int upipe_ts_mux_set_max_delay(struct upipe *upipe, uint64_t delay)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 474.

This function sets the maximum retention delay. It may also be called on an input subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • delay: new delay

The return value is an error code

int upipe_ts_mux_set_mode(struct upipe *upipe, enum upipe_ts_mux_mode mode)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 605.

This function sets the mode.

Parameter list:

  • upipe: description structure of the pipe
  • mode: new mode

The return value is an error code

int upipe_ts_mux_set_mux_delay(struct upipe *upipe, uint64_t delay)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 500.

This function sets the mux delay (live mode).

Parameter list:

  • upipe: description structure of the pipe
  • delay: new delay

The return value is an error code

int upipe_ts_mux_set_nit_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 314.

This function sets the NIT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_octetrate(struct upipe *upipe, uint64_t octetrate)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 526.

This function sets the mux octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate: new octetrate

The return value is an error code

int upipe_ts_mux_set_padding_octetrate(struct upipe *upipe, uint64_t octetrate)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 553.

This function sets the padding octetrate.

Parameter list:

  • upipe: description structure of the pipe
  • octetrate: new octetrate

The return value is an error code

int upipe_ts_mux_set_pat_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 260.

This function sets the PAT interval. It takes effect at the end of the current period.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_pcr_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 421.

This function sets the PCR interval. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_pmt_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 287.

This function sets the PMT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_scte35_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 447.

This function sets the SCTE35 interval.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_sdt_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 341.

This function sets the SDT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_tdt_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 395.

This function sets the TDT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_version(struct upipe *upipe, unsigned int version)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 633.

This function sets the version of the PSI table. It may also be called on upipe_ts_psi_generator.

Parameter list:

  • upipe: description structure of the pipe
  • version: new version

The return value is an error code

enum uprobe_ts_mux_event  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 41.

This enum extends uprobe_event with specific events for ts mux.

IdentifierValueDescription
UPROBE_TS_MUX_SENTINELUPROBE_LOCAL
UPROBE_TS_MUX_LAST_CCunknownlast continuity counter for an input (unsigned int)
UPROBE_TS_MUX_ENCAPSUPROBE_LOCAL+0x1000ts_encaps events begin here

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:19 2018 using MkDoc