upipe-ts/upipe_ts_mux.h header reference

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

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe higher-level module muxing elementary streams in a TS

Members detail [link] 

#define UPIPE_TS_MUX_INNER_SINK_SIGNATURE [link] 

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

#define UPIPE_TS_MUX_INPUT_SIGNATURE [link] 

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

#define UPIPE_TS_MUX_MGR_GET_SET_MGR(name, NAME) [link] 

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

#define UPIPE_TS_MUX_MGR_GET_SET_MGR2(name, NAME) [link] 

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

#define UPIPE_TS_MUX_PROGRAM_SIGNATURE [link] 

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

#define UPIPE_TS_MUX_SIGNATURE [link] 

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

#define _UPIPE_TS_UPIPE_TS_MUX_H_ [link] 

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

enum upipe_ts_mux_command [link] 

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

This enum extends upipe_command with specific commands for ts mux.

IdentifierValueDescription
UPIPE_TS_MUX_SENTINEL0x8000
UPIPE_TS_MUX_GET_CONFORMANCE1returns the current conformance (int *)
UPIPE_TS_MUX_SET_CONFORMANCE2sets the conformance (int)
UPIPE_TS_MUX_GET_CC3returns the current continuity counter (unsigned int *)
UPIPE_TS_MUX_SET_CC4sets the continuity counter (unsigned int)
UPIPE_TS_MUX_SET_CR_PROG5sets the initial cr_prog of the next access unit (uint64_t)
UPIPE_TS_MUX_GET_PAT_INTERVAL6returns the current PAT interval (uint64_t *)
UPIPE_TS_MUX_SET_PAT_INTERVAL7sets the PAT interval (uint64_t)
UPIPE_TS_MUX_GET_PMT_INTERVAL8returns the current PMT interval (uint64_t *)
UPIPE_TS_MUX_SET_PMT_INTERVAL9sets the PMT interval (uint64_t)
UPIPE_TS_MUX_GET_NIT_INTERVAL10returns the current NIT interval (uint64_t *)
UPIPE_TS_MUX_SET_NIT_INTERVAL11sets the NIT interval (uint64_t)
UPIPE_TS_MUX_GET_SDT_INTERVAL12returns the current SDT interval (uint64_t *)
UPIPE_TS_MUX_SET_SDT_INTERVAL13sets the SDT interval (uint64_t)
UPIPE_TS_MUX_GET_EIT_INTERVAL14returns the current EIT interval (uint64_t *)
UPIPE_TS_MUX_SET_EIT_INTERVAL15sets the EIT interval (uint64_t)
UPIPE_TS_MUX_GET_TDT_INTERVAL16returns the current TDT interval (uint64_t *)
UPIPE_TS_MUX_SET_TDT_INTERVAL17sets the TDT interval (uint64_t)
UPIPE_TS_MUX_GET_PCR_INTERVAL18returns the current PCR interval (uint64_t *)
UPIPE_TS_MUX_SET_PCR_INTERVAL19sets the PCR interval (uint64_t)
UPIPE_TS_MUX_GET_SCTE35_INTERVAL20returns the current SCTE35 interval (uint64_t *)
UPIPE_TS_MUX_SET_SCTE35_INTERVAL21sets the SCTE35 interval (uint64_t)
UPIPE_TS_MUX_GET_MD_INTERVAL22returns the current metadata interval (uint64_t *)
UPIPE_TS_MUX_SET_MD_INTERVAL23sets the metadata interval (uint64_t)
UPIPE_TS_MUX_GET_MAX_DELAY24returns the current maximum retention delay (uint64_t *)
UPIPE_TS_MUX_SET_MAX_DELAY25sets the maximum retention delay (uint64_t)
UPIPE_TS_MUX_GET_MUX_DELAY26returns the current muxing delay (uint64_t *)
UPIPE_TS_MUX_SET_MUX_DELAY27sets the muxing delay (uint64_t)
UPIPE_TS_MUX_GET_OCTETRATE28returns the current mux octetrate (uint64_t *)
UPIPE_TS_MUX_SET_OCTETRATE29sets the mux octetrate (uint64_t)
UPIPE_TS_MUX_GET_PADDING_OCTETRATE30returns the current padding octetrate (uint64_t *)
UPIPE_TS_MUX_SET_PADDING_OCTETRATE31sets the padding octetrate (uint64_t)
UPIPE_TS_MUX_GET_EITS_OCTETRATE32returns the current octetrate for EIT schedule (uint64_t *)
UPIPE_TS_MUX_SET_EITS_OCTETRATE33sets the octetrate for EIT schedule (uint64_t)
UPIPE_TS_MUX_GET_MODE34returns the current mode (int *)
UPIPE_TS_MUX_SET_MODE35sets the mode (int)
UPIPE_TS_MUX_GET_VERSION36returns the current version number of the table (unsigned int *)
UPIPE_TS_MUX_SET_VERSION37sets the version number of the table (unsigned int)
UPIPE_TS_MUX_GET_AAC_ENCAPS38returns the current encapsulation for AAC streams (int *)
UPIPE_TS_MUX_SET_AAC_ENCAPS39sets the encapsulation for AAC streams (int)
UPIPE_TS_MUX_GET_AAC_SIGNALING40returns the current signaling mode for AAC streams (int *)
UPIPE_TS_MUX_SET_AAC_SIGNALING41sets the signaling mode for AAC streams (int)
UPIPE_TS_MUX_GET_ENCODING42returns the current encoding for strings (const char **)
UPIPE_TS_MUX_SET_ENCODING43sets the encoding for strings (const char *)
UPIPE_TS_MUX_FREEZE_PSI44stops updating a PSI table upon sub removal
UPIPE_TS_MUX_PREPARE45prepares the next access unit/section for the given date (uint64_t, uint64_t)
UPIPE_TS_MUX_SET_MAX_OCTETRATE46sets the mux maximum octetrate (uint64_t)
UPIPE_TS_MUX_SET_PES_MIN_DURATION47sets the default minimum PES duration (uint64_t)
UPIPE_TS_MUX_GET_PES_MIN_DURATION48returns the default minimum PES duration (uint64_t *)
UPIPE_TS_MUX_FORCE_PES_ALIGNMENT49forces PES alignment (int)
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) [link] 

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

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) [link] 

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

This function returns a description string for local events.

Parameter list:

  • event: event

The return value is description string

int upipe_ts_mux_force_pes_alignment(struct upipe *upipe, bool force) [link] 

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

@This forces the PES alignment on all outputs.

Parameter list:

  • upipe: description structure of the pipe
  • force: true if all the output PES must be align

The return value is an error code

int upipe_ts_mux_freeze_psi(struct upipe *upipe) [link] 

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

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) [link] 

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

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_aac_signaling(struct upipe *upipe, int *signaling_p) [link] 

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

This function returns the current signaling mode for AAC streams (see enum uref_mpga_signaling).

Parameter list:

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

The return value is an error code

int upipe_ts_mux_get_cc(struct upipe *upipe, unsigned int *cc_p) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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_md_interval(struct upipe *upipe, uint64_t *interval_p) [link] 

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

This function returns the current metadata 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_mode(struct upipe *upipe, enum upipe_ts_mux_mode *mode_p) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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_pes_min_duration(struct upipe *upipe, uint64_t *duration) [link] 

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

This function returns the current PES minimum duration.

Parameter list:

  • upipe: description structure of the pipe
  • duration: filled in with the PES minimum duration

The return value is an error code

int upipe_ts_mux_get_pmt_interval(struct upipe *upipe, uint64_t *interval_p) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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 ) [link] 

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

This function returns the management structure for all ts_mux pipes.

The return value is pointer to manager

enum upipe_ts_mux_mgr_command [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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 [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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_aac_signaling(struct upipe *upipe, int signaling) [link] 

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

This function sets the signaling mode for AAC streams (see enum uref_mpga_signaling).

Parameter list:

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

The return value is an error code

int upipe_ts_mux_set_cc(struct upipe *upipe, unsigned int cc) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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_max_octetrate(struct upipe *upipe, uint64_t max_octetrate) [link] 

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

This function sets the maximum mux octetrate.

Parameter list:

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

The return value is an error code

int upipe_ts_mux_set_md_interval(struct upipe *upipe, uint64_t interval) [link] 

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

This function sets the metadata interval.

Parameter list:

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

The return value is an error code

int upipe_ts_mux_set_mode(struct upipe *upipe, enum upipe_ts_mux_mode mode) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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_pes_min_duration(struct upipe *upipe, uint64_t duration) [link] 

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

This function sets the default PES minimum duration.

Parameter list:

  • upipe: description structure of the pipe
  • duration: default PES minimum duration to use

The return value is an error code

int upipe_ts_mux_set_pmt_interval(struct upipe *upipe, uint64_t interval) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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) [link] 

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

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 [link] 

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

This enum extends uprobe_event with specific events for ts mux.

IdentifierValueDescription
UPROBE_TS_MUX_SENTINEL0x8000
UPROBE_TS_MUX_LAST_CC1last 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 Sun Dec 14 18:31:17 2025 using MkDoc