upipe-av/upipe_avformat_sink.h header reference
Upipe sink module libavformat wrapper More
Header inclusion
Members
Type
Functions
- int upipe_avfsink_get_duration(struct upipe *upipe, uint64_t *duration_p)
 - int upipe_avfsink_get_format(struct upipe *upipe, const char **format_p)
 - int upipe_avfsink_get_mime(struct upipe *upipe, const char **mime_p)
 - struct upipe_mgr * upipe_avfsink_mgr_alloc(void )
 - int upipe_avfsink_set_format(struct upipe *upipe, const char *format)
 - int upipe_avfsink_set_mime(struct upipe *upipe, const char *mime)
 
Description
Upipe sink module libavformat wrapper
Members detail
This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 39.
This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 38.
This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 31.
This enum is declared in upipe-av/upipe_avformat_sink.h source file, line 43.
This enum extends upipe_command with specific commands for avformat source.
| Identifier | Value | Description | 
|---|---|---|
| UPIPE_AVFSINK_SENTINEL | UPIPE_CONTROL_LOCAL | |
| UPIPE_AVFSINK_GET_MIME | unknown | returns the currently configured MIME type (const char **) | 
| UPIPE_AVFSINK_SET_MIME | unknown | sets the MIME type (const char *) | 
| UPIPE_AVFSINK_GET_FORMAT | unknown | returns the currently configured format name (const char **) | 
| UPIPE_AVFSINK_SET_FORMAT | unknown | sets the format name (const char *) | 
| UPIPE_AVFSINK_GET_DURATION | unknown | returns the current duration (uint64_t *) | 
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 125.
This function returns the current duration.
Parameter list:
- upipe: description structure of the pipe
 - duration_p: filled in with the current duration
 
The return value is an error code
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 98.
This function returns the currently configured format.
Parameter list:
- upipe: description structure of the pipe
 - format_p: filled in with the currently configured format name
 
The return value is an error code
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 72.
This function returns the currently configured MIME type.
Parameter list:
- upipe: description structure of the pipe
 - mime_p: filled in with the currently configured MIME type
 
The return value is an error code
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 62.
This function returns the management structure for all avformat sinks.
The return value is pointer to manager
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 112.
This function sets the format. It only takes effect after the next call to upipe_set_uri.
Parameter list:
- upipe: description structure of the pipe
 - format: format name
 
The return value is an error code
This function is declared in upipe-av/upipe_avformat_sink.h source file, line 85.
This function sets the MIME type. It only takes effect after the next call to upipe_set_uri.
Parameter list:
- upipe: description structure of the pipe
 - mime: MIME type
 
The return value is an error code