upipe-av/upipe_avformat_source.h header reference
Upipe source module libavformat wrapper More
Header inclusion
Members
Types
- enum upipe_avfsrc_command
- enum upipe_avfsrc_mgr_command
Functions
- int upipe_avfsrc_get_option(struct upipe *upipe, const char *option, const char **content_p)
- int upipe_avfsrc_get_time(struct upipe *upipe, uint64_t *time_p)
- struct upipe_mgr * upipe_avfsrc_mgr_alloc(void )
- int upipe_avfsrc_mgr_get_autof_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)
- int upipe_avfsrc_mgr_set_autof_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)
- int upipe_avfsrc_set_option(struct upipe *upipe, const char *option, const char *content)
- int upipe_avfsrc_set_time(struct upipe *upipe, uint64_t time)
Description
Upipe source module libavformat wrapper
Members detail
This macro is declared in upipe-av/upipe_avformat_source.h source file, line 116.
This macro is declared in upipe-av/upipe_avformat_source.h source file, line 128.
This macro is declared in upipe-av/upipe_avformat_source.h source file, line 39.
This macro is declared in upipe-av/upipe_avformat_source.h source file, line 38.
This macro is declared in upipe-av/upipe_avformat_source.h source file, line 31.
This enum is declared in upipe-av/upipe_avformat_source.h source file, line 43.
This enum extends upipe_command with specific commands for avformat source.
Identifier | Value | Description |
---|---|---|
UPIPE_AVFSRC_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_AVFSRC_GET_TIME | unknown | returns the reading time of the currently opened file, in clock units (uint64_t *) |
UPIPE_AVFSRC_SET_TIME | unknown | asks to read at the given time (uint64_t) |
This function is deprecated.
This function is declared in upipe-av/upipe_avformat_source.h source file, line 63.
This declaration involves expansion of the UBASE_DEPRECATED macro.
This function returns the content of an avformat option.
Parameter list:
- upipe: description structure of the pipe
- option: name of the option
- content_p: filled in with the content of the option
The return value is an error code
This function is declared in upipe-av/upipe_avformat_source.h source file, line 89.
This function returns the reading time of the currently opened URL.
Parameter list:
- upipe: description structure of the pipe
- time_p: filled in with the reading time, in clock units
The return value is an error code
This function is declared in upipe-av/upipe_avformat_source.h source file, line 110.
This function returns the management structure for all avformat sources.
The return value is pointer to manager
This enum is declared in upipe-av/upipe_avformat_source.h source file, line 113.
This enum extends upipe_mgr_command with specific commands for avfsrc.
Identifier | Value | Description |
---|---|---|
UPIPE_AVFSRC_MGR_SENTINEL | UPIPE_MGR_CONTROL_LOCAL | |
UPIPE_AVFSRC_MGR_GET_AUTOF_MGR | unknown | returns the current manager for autof inner pipes (struct upipe_mgr **) |
UPIPE_AVFSRC_MGR_SET_AUTOF_MGR | unknown | sets the manager for autof inner pipes (struct upipe_mgr *) |
This function is declared in upipe-av/upipe_avformat_source.h source file, line 158.
This function returns the current manager for autof inner pipes.
Parameter list:
- mgr: pointer to manager
- p: filled in with the autof manager
The return value is an error code
This function is declared in upipe-av/upipe_avformat_source.h source file, line 158.
This function sets the manager for autof inner pipes. This may only be called before any pipe has been allocated.
Parameter list:
- mgr: pointer to manager
- m: pointer to autof manager
The return value is an error code
This function is deprecated.
This function is declared in upipe-av/upipe_avformat_source.h source file, line 78.
This declaration involves expansion of the UBASE_DEPRECATED macro.
This function sets the content of an avformat option. It only takes effect after the next call to upipe_set_uri.
Parameter list:
- upipe: description structure of the pipe
- option: name of the option
- content: content of the option, or NULL to delete it
The return value is an error code
This function is declared in upipe-av/upipe_avformat_source.h source file, line 101.
This function asks to read at the given time.
Parameter list:
- upipe: description structure of the pipe
- time: new reading time, in clock units
The return value is an error code