upipe-av/upipe_avformat_sink.h header reference

Upipe sink module libavformat wrapper More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe sink module libavformat wrapper

Members detail  

#define UPIPE_AVFSINK_INPUT_SIGNATURE  

This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 39.

#define UPIPE_AVFSINK_SIGNATURE  

This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 38.

#define _UPIPE_AV_UPIPE_AVFORMAT_SINK_H_  

This macro is declared in upipe-av/upipe_avformat_sink.h source file, line 31.

enum upipe_avfsink_command  

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.

IdentifierValueDescription
UPIPE_AVFSINK_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_AVFSINK_GET_MIMEunknownreturns the currently configured MIME type (const char **)
UPIPE_AVFSINK_SET_MIMEunknownsets the MIME type (const char *)
UPIPE_AVFSINK_GET_FORMATunknownreturns the currently configured format name (const char **)
UPIPE_AVFSINK_SET_FORMATunknownsets the format name (const char *)
UPIPE_AVFSINK_GET_DURATIONunknownreturns the current duration (uint64_t *)

int upipe_avfsink_get_duration(struct upipe *upipe, uint64_t *duration_p)  

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

int upipe_avfsink_get_format(struct upipe *upipe, const char **format_p)  

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

int upipe_avfsink_get_mime(struct upipe *upipe, const char **mime_p)  

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

struct upipe_mgr * upipe_avfsink_mgr_alloc(void )  

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

int upipe_avfsink_set_format(struct upipe *upipe, const char *format)  

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

int upipe_avfsink_set_mime(struct upipe *upipe, const char *mime)  

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

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc