upipe-ts/upipe_ts_sync.h header reference
Upipe module syncing on a transport stream More
Header inclusion
Members
Type
Functions
- int upipe_ts_sync_get_sync(struct upipe *upipe, int *sync_p)
- struct upipe_mgr * upipe_ts_sync_mgr_alloc(void )
- int upipe_ts_sync_set_sync(struct upipe *upipe, int sync)
Description
This module also accepts upipe_set_output_size, with the following common values:
size (in octets) | description |
---|---|
188 | standard size of TS packets according to ISO/IEC 13818-1 |
196 | TS packet followed by an 8-octet timestamp or checksum |
204 | TS packet followed by a 16-octet checksum |
Members detail
This macro is declared in upipe-ts/upipe_ts_sync.h source file, line 42.
This macro is declared in upipe-ts/upipe_ts_sync.h source file, line 35.
This enum is declared in upipe-ts/upipe_ts_sync.h source file, line 46.
This enum extends upipe_command with specific commands for ts sync.
Identifier | Value | Description |
---|---|---|
UPIPE_TS_SYNC_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_TS_SYNC_GET_SYNC | unknown | returns the configured number of packets to synchronize with (int *) |
UPIPE_TS_SYNC_SET_SYNC | unknown | sets the configured number of packets to synchronize with (int) |
This function is declared in upipe-ts/upipe_ts_sync.h source file, line 68.
This function returns the configured number of packets to synchronize with.
Parameter list:
- upipe: description structure of the pipe
- sync_p: filled in with number of packets
The return value is an error code
This function is declared in upipe-ts/upipe_ts_sync.h source file, line 59.
This function returns the management structure for all ts_sync pipes.
The return value is pointer to manager
This function is declared in upipe-ts/upipe_ts_sync.h source file, line 82.
This function sets the configured number of packets to synchronize with. The higher the value, the slower the synchronization, but the fewer false positives.
Parameter list:
- upipe: description structure of the pipe
- sync: number of packets
The return value is an error code