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]
- enum upipe_ts_mux_command
- enum upipe_ts_mux_mgr_command
- enum upipe_ts_mux_mode
- enum uprobe_ts_mux_event
Functions [link]
- const char * upipe_ts_mux_command_str(int cmd)
- const char * upipe_ts_mux_event_str(int event)
- int upipe_ts_mux_force_pes_alignment(struct upipe *upipe, bool force)
- int upipe_ts_mux_freeze_psi(struct upipe *upipe)
- int upipe_ts_mux_get_aac_encaps(struct upipe *upipe, int *encaps_p)
- int upipe_ts_mux_get_aac_signaling(struct upipe *upipe, int *signaling_p)
- int upipe_ts_mux_get_cc(struct upipe *upipe, unsigned int *cc_p)
- int upipe_ts_mux_get_conformance(struct upipe *upipe, enum upipe_ts_conformance *conformance_p)
- int upipe_ts_mux_get_eit_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_eits_octetrate(struct upipe *upipe, uint64_t *octetrate_p)
- int upipe_ts_mux_get_encoding(struct upipe *upipe, const char **encoding_p)
- int upipe_ts_mux_get_max_delay(struct upipe *upipe, uint64_t *delay_p)
- int upipe_ts_mux_get_md_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_mode(struct upipe *upipe, enum upipe_ts_mux_mode *mode_p)
- int upipe_ts_mux_get_mux_delay(struct upipe *upipe, uint64_t *delay_p)
- int upipe_ts_mux_get_nit_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_octetrate(struct upipe *upipe, uint64_t *octetrate_p)
- int upipe_ts_mux_get_padding_octetrate(struct upipe *upipe, uint64_t *octetrate_p)
- int upipe_ts_mux_get_pat_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_pcr_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_pes_min_duration(struct upipe *upipe, uint64_t *duration)
- int upipe_ts_mux_get_pmt_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_scte35_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_sdt_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_tdt_interval(struct upipe *upipe, uint64_t *interval_p)
- int upipe_ts_mux_get_version(struct upipe *upipe, unsigned int *version_p)
- struct upipe_mgr * upipe_ts_mux_mgr_alloc(void )
- int upipe_ts_mux_mgr_get_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_ts_mux_mgr_get_ts_psi_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_ts_mux_mgr_get_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_ts_mux_mgr_get_ts_sig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_ts_mux_mgr_get_ts_tstd_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_ts_mux_mgr_set_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- int upipe_ts_mux_mgr_set_ts_psi_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- int upipe_ts_mux_mgr_set_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- int upipe_ts_mux_mgr_set_ts_sig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- int upipe_ts_mux_mgr_set_ts_tstd_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- const char * upipe_ts_mux_mode_print(enum upipe_ts_mux_mode mode)
- int upipe_ts_mux_prepare(struct upipe *upipe, uint64_t cr_sys, uint64_t latency)
- int upipe_ts_mux_set_aac_encaps(struct upipe *upipe, int encaps)
- int upipe_ts_mux_set_aac_signaling(struct upipe *upipe, int signaling)
- int upipe_ts_mux_set_cc(struct upipe *upipe, unsigned int cc)
- int upipe_ts_mux_set_conformance(struct upipe *upipe, enum upipe_ts_conformance conformance)
- int upipe_ts_mux_set_cr_prog(struct upipe *upipe, uint64_t cr_prog)
- int upipe_ts_mux_set_eit_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_eits_octetrate(struct upipe *upipe, uint64_t octetrate)
- int upipe_ts_mux_set_encoding(struct upipe *upipe, const char *encoding)
- int upipe_ts_mux_set_max_delay(struct upipe *upipe, uint64_t delay)
- int upipe_ts_mux_set_max_octetrate(struct upipe *upipe, uint64_t max_octetrate)
- int upipe_ts_mux_set_md_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_mode(struct upipe *upipe, enum upipe_ts_mux_mode mode)
- int upipe_ts_mux_set_mux_delay(struct upipe *upipe, uint64_t delay)
- int upipe_ts_mux_set_nit_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_octetrate(struct upipe *upipe, uint64_t octetrate)
- int upipe_ts_mux_set_padding_octetrate(struct upipe *upipe, uint64_t octetrate)
- int upipe_ts_mux_set_pat_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_pcr_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_pes_min_duration(struct upipe *upipe, uint64_t duration)
- int upipe_ts_mux_set_pmt_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_scte35_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_sdt_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_tdt_interval(struct upipe *upipe, uint64_t interval)
- int upipe_ts_mux_set_version(struct upipe *upipe, unsigned int version)
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.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_TS_MUX_SENTINEL | 0x8000 | |
| UPIPE_TS_MUX_GET_CONFORMANCE | 1 | returns the current conformance (int *) |
| UPIPE_TS_MUX_SET_CONFORMANCE | 2 | sets the conformance (int) |
| UPIPE_TS_MUX_GET_CC | 3 | returns the current continuity counter (unsigned int *) |
| UPIPE_TS_MUX_SET_CC | 4 | sets the continuity counter (unsigned int) |
| UPIPE_TS_MUX_SET_CR_PROG | 5 | sets the initial cr_prog of the next access unit (uint64_t) |
| UPIPE_TS_MUX_GET_PAT_INTERVAL | 6 | returns the current PAT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_PAT_INTERVAL | 7 | sets the PAT interval (uint64_t) |
| UPIPE_TS_MUX_GET_PMT_INTERVAL | 8 | returns the current PMT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_PMT_INTERVAL | 9 | sets the PMT interval (uint64_t) |
| UPIPE_TS_MUX_GET_NIT_INTERVAL | 10 | returns the current NIT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_NIT_INTERVAL | 11 | sets the NIT interval (uint64_t) |
| UPIPE_TS_MUX_GET_SDT_INTERVAL | 12 | returns the current SDT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_SDT_INTERVAL | 13 | sets the SDT interval (uint64_t) |
| UPIPE_TS_MUX_GET_EIT_INTERVAL | 14 | returns the current EIT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_EIT_INTERVAL | 15 | sets the EIT interval (uint64_t) |
| UPIPE_TS_MUX_GET_TDT_INTERVAL | 16 | returns the current TDT interval (uint64_t *) |
| UPIPE_TS_MUX_SET_TDT_INTERVAL | 17 | sets the TDT interval (uint64_t) |
| UPIPE_TS_MUX_GET_PCR_INTERVAL | 18 | returns the current PCR interval (uint64_t *) |
| UPIPE_TS_MUX_SET_PCR_INTERVAL | 19 | sets the PCR interval (uint64_t) |
| UPIPE_TS_MUX_GET_SCTE35_INTERVAL | 20 | returns the current SCTE35 interval (uint64_t *) |
| UPIPE_TS_MUX_SET_SCTE35_INTERVAL | 21 | sets the SCTE35 interval (uint64_t) |
| UPIPE_TS_MUX_GET_MD_INTERVAL | 22 | returns the current metadata interval (uint64_t *) |
| UPIPE_TS_MUX_SET_MD_INTERVAL | 23 | sets the metadata interval (uint64_t) |
| UPIPE_TS_MUX_GET_MAX_DELAY | 24 | returns the current maximum retention delay (uint64_t *) |
| UPIPE_TS_MUX_SET_MAX_DELAY | 25 | sets the maximum retention delay (uint64_t) |
| UPIPE_TS_MUX_GET_MUX_DELAY | 26 | returns the current muxing delay (uint64_t *) |
| UPIPE_TS_MUX_SET_MUX_DELAY | 27 | sets the muxing delay (uint64_t) |
| UPIPE_TS_MUX_GET_OCTETRATE | 28 | returns the current mux octetrate (uint64_t *) |
| UPIPE_TS_MUX_SET_OCTETRATE | 29 | sets the mux octetrate (uint64_t) |
| UPIPE_TS_MUX_GET_PADDING_OCTETRATE | 30 | returns the current padding octetrate (uint64_t *) |
| UPIPE_TS_MUX_SET_PADDING_OCTETRATE | 31 | sets the padding octetrate (uint64_t) |
| UPIPE_TS_MUX_GET_EITS_OCTETRATE | 32 | returns the current octetrate for EIT schedule (uint64_t *) |
| UPIPE_TS_MUX_SET_EITS_OCTETRATE | 33 | sets the octetrate for EIT schedule (uint64_t) |
| UPIPE_TS_MUX_GET_MODE | 34 | returns the current mode (int *) |
| UPIPE_TS_MUX_SET_MODE | 35 | sets the mode (int) |
| UPIPE_TS_MUX_GET_VERSION | 36 | returns the current version number of the table (unsigned int *) |
| UPIPE_TS_MUX_SET_VERSION | 37 | sets the version number of the table (unsigned int) |
| UPIPE_TS_MUX_GET_AAC_ENCAPS | 38 | returns the current encapsulation for AAC streams (int *) |
| UPIPE_TS_MUX_SET_AAC_ENCAPS | 39 | sets the encapsulation for AAC streams (int) |
| UPIPE_TS_MUX_GET_AAC_SIGNALING | 40 | returns the current signaling mode for AAC streams (int *) |
| UPIPE_TS_MUX_SET_AAC_SIGNALING | 41 | sets the signaling mode for AAC streams (int) |
| UPIPE_TS_MUX_GET_ENCODING | 42 | returns the current encoding for strings (const char **) |
| UPIPE_TS_MUX_SET_ENCODING | 43 | sets the encoding for strings (const char *) |
| UPIPE_TS_MUX_FREEZE_PSI | 44 | stops updating a PSI table upon sub removal |
| UPIPE_TS_MUX_PREPARE | 45 | prepares the next access unit/section for the given date (uint64_t, uint64_t) |
| UPIPE_TS_MUX_SET_MAX_OCTETRATE | 46 | sets the mux maximum octetrate (uint64_t) |
| UPIPE_TS_MUX_SET_PES_MIN_DURATION | 47 | sets the default minimum PES duration (uint64_t) |
| UPIPE_TS_MUX_GET_PES_MIN_DURATION | 48 | returns the default minimum PES duration (uint64_t *) |
| UPIPE_TS_MUX_FORCE_PES_ALIGNMENT | 49 | forces PES alignment (int) |
| UPIPE_TS_MUX_ENCAPS | UPIPE_CONTROL_LOCAL+0x1000 | ts_encaps commands begin here |
| UPIPE_TS_MUX_PSIG | UPIPE_CONTROL_LOCAL+0x2000 | ts_psig commands begin here |
| UPIPE_TS_MUX_PSIG_PROGRAM | UPIPE_CONTROL_LOCAL+0x3000 | ts_psig_program commands begin here |
| UPIPE_TS_MUX_SIG | UPIPE_CONTROL_LOCAL+0x4000 | ts_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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_TS_MUX_MGR_GET_TS_ENCAPS_MGR | 0 | returns the current manager for ts_encaps subpipes (struct upipe_mgr **) |
| UPIPE_TS_MUX_MGR_SET_TS_ENCAPS_MGR | 1 | sets the manager for ts_encaps subpipes (struct upipe_mgr *) |
| UPIPE_TS_MUX_MGR_GET_TS_TSTD_MGR | 2 | returns the current manager for ts_tstd subpipes (struct upipe_mgr **) |
| UPIPE_TS_MUX_MGR_SET_TS_TSTD_MGR | 3 | sets the manager for ts_tstd subpipes (struct upipe_mgr *) |
| UPIPE_TS_MUX_MGR_GET_TS_PSI_JOIN_MGR | 4 | returns the current manager for ts_psi_join subpipes (struct upipe_mgr **) |
| UPIPE_TS_MUX_MGR_SET_TS_PSI_JOIN_MGR | 5 | sets the manager for ts_psi_join subpipes (struct upipe_mgr *) |
| UPIPE_TS_MUX_MGR_GET_TS_PSIG_MGR | 6 | returns the current manager for ts_psig subpipes (struct upipe_mgr **) |
| UPIPE_TS_MUX_MGR_SET_TS_PSIG_MGR | 7 | sets the manager for ts_psig subpipes (struct upipe_mgr *) |
| UPIPE_TS_MUX_MGR_GET_TS_SIG_MGR | 8 | returns the current manager for ts_sig subpipes (struct upipe_mgr **) |
| UPIPE_TS_MUX_MGR_SET_TS_SIG_MGR | 9 | sets the manager for ts_sig subpipes (struct upipe_mgr *) |
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
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
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
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
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
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
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
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
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
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.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_TS_MUX_MODE_CBR | 0 | constant octetrate |
| UPIPE_TS_MUX_MODE_CAPPED | 1 | capped 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
| Identifier | Value | Description |
|---|---|---|
| UPROBE_TS_MUX_SENTINEL | 0x8000 | |
| UPROBE_TS_MUX_LAST_CC | 1 | last continuity counter for an input (unsigned int) |
| UPROBE_TS_MUX_ENCAPS | UPROBE_LOCAL+0x1000 | ts_encaps events begin here |