#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "ast.h"
#include "mux.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
Go to the source code of this file.
◆ CHECK_LOOP
#define CHECK_LOOP |
( |
|
type | ) |
|
Value: if (ast->loop ##
type > 0) { \
if (ast->loop ## type < 0 || ast->
loop ##
type > UINT_MAX) { \
} \
}
Definition at line 39 of file astenc.c.
◆ OFFSET
◆ ast_write_header()
◆ ast_write_packet()
◆ ast_write_trailer()
◆ options
Initial value:
Definition at line 180 of file astenc.c.
◆ ast_muxer_class
Initial value:= {
.class_name = "AST muxer",
}
Definition at line 186 of file astenc.c.
◆ ff_ast_muxer
Initial value:= {
.p.name = "ast",
.p.extensions = "ast",
}
Definition at line 193 of file astenc.c.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
static int ast_write_trailer(AVFormatContext *s)
@ AV_CODEC_ID_PCM_S16BE_PLANAR
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static const AVClass ast_muxer_class
@ AV_OPT_TYPE_INT64
Underlying C type is int64_t.
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
#define AV_OPT_FLAG_ENCODING_PARAM
A generic parameter which can be set by the user for muxing or encoding.
@ AV_ROUND_DOWN
Round toward -infinity.
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
Rescale a 64-bit integer with specified rounding.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
const AVCodecTag *const ff_ast_codec_tags_list[]
static int ast_write_header(AVFormatContext *s)
static int ast_write_packet(AVFormatContext *s, AVPacket *pkt)