Go to the source code of this file.
#define CHECK_LOOP |
( |
|
type | ) |
|
Value:if (ast->loop ##
type > 0) { \
} \
}
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
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.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return or at least make progress towards producing a it should return
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
Definition at line 38 of file astenc.c.
Referenced by ast_write_header().
Initial value:= {
{
"loopend",
"Loopend position in milliseconds.",
OFFSET(loopend),
AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT_MAX, 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
Definition at line 186 of file astenc.c.
Initial value:= {
.class_name = "AST muxer",
}
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
Definition at line 192 of file astenc.c.
Initial value:= {
.name = "ast",
.extensions = "ast",
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static int ast_write_packet(AVFormatContext *s, AVPacket *pkt)
static int ast_write_trailer(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int write_trailer(AVFormatContext *s1)
static int ast_write_header(AVFormatContext *s)
const AVCodecTag ff_codec_ast_tags[]
static void write_header(FFV1Context *f)
static const AVClass ast_muxer_class
Definition at line 199 of file astenc.c.