#include <float.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include "avformat.h"
#include "matroska.h"
#include "mux.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/time_internal.h"
#include "libavcodec/codec_desc.h"
Go to the source code of this file.
|
| static const char * | get_codec_name (int codec_id) |
| |
| static double | get_duration (AVFormatContext *s) |
| |
| static int | write_header (AVFormatContext *s) |
| |
| static void | write_footer (AVFormatContext *s) |
| |
| static int | subsegment_alignment (AVFormatContext *s, const AdaptationSet *as) |
| |
| static int | bitstream_switching (AVFormatContext *s, const AdaptationSet *as) |
| |
| static int | write_representation (AVFormatContext *s, AVStream *st, char *id, int output_width, int output_height, int output_sample_rate) |
| |
| static int | check_matching_width (AVFormatContext *s, const AdaptationSet *as) |
| |
| static int | check_matching_height (AVFormatContext *s, const AdaptationSet *as) |
| |
| static int | check_matching_sample_rate (AVFormatContext *s, const AdaptationSet *as) |
| |
| static void | free_adaptation_sets (AVFormatContext *s) |
| |
| static int | split_filename (char *filename, char **underscore_pos, char **period_pos) |
| |
| static int | write_adaptation_set (AVFormatContext *s, int as_index) |
| |
| static int | parse_adaptation_sets (AVFormatContext *s) |
| |
| static int | webm_dash_manifest_write_header (AVFormatContext *s) |
| |
| static int | webm_dash_manifest_write_packet (AVFormatContext *s, AVPacket *pkt) |
| |
◆ OFFSET
◆ get_codec_name()
| static const char * get_codec_name |
( |
int | codec_id | ) |
|
|
static |
◆ get_duration()
◆ write_header()
◆ write_footer()
◆ subsegment_alignment()
◆ bitstream_switching()
◆ write_representation()
| static int write_representation |
( |
AVFormatContext * | s, |
|
|
AVStream * | st, |
|
|
char * | id, |
|
|
int | output_width, |
|
|
int | output_height, |
|
|
int | output_sample_rate ) |
|
static |
◆ check_matching_width()
◆ check_matching_height()
◆ check_matching_sample_rate()
◆ free_adaptation_sets()
◆ split_filename()
| static int split_filename |
( |
char * | filename, |
|
|
char ** | underscore_pos, |
|
|
char ** | period_pos ) |
|
static |
◆ write_adaptation_set()
◆ parse_adaptation_sets()
◆ webm_dash_manifest_write_header()
◆ webm_dash_manifest_write_packet()
◆ options
Initial value:= {
{
"adaptation_sets",
"Adaptation sets. Syntax: id=0,streams=0,1,2 id=1,streams=3,4 and so on",
OFFSET(adaptation_sets),
AV_OPT_TYPE_STRING, { 0 }, 0, 0,
AV_OPT_FLAG_ENCODING_PARAM },
}
#define AV_OPT_FLAG_ENCODING_PARAM
A generic parameter which can be set by the user for muxing or encoding.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 528 of file webmdashenc.c.
◆ webm_dash_class
Initial value:= {
.class_name = "WebM DASH Manifest muxer",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 539 of file webmdashenc.c.
◆ ff_webm_dash_manifest_muxer
Initial value:= {
.p.name = "webm_dash_manifest",
.p.mime_type = "application/xml",
.p.extensions = "xml",
}
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static void write_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVClass webm_dash_class
static int webm_dash_manifest_write_packet(AVFormatContext *s, AVPacket *pkt)
static int webm_dash_manifest_write_header(AVFormatContext *s)
Definition at line 546 of file webmdashenc.c.