Go to the documentation of this file.
21 #ifndef AVFORMAT_MUX_H
22 #define AVFORMAT_MUX_H
30 #define FF_FMT_ALLOW_FLUSH (1 << 1)
74 int flush,
int has_packet);
85 int64_t *dts, int64_t *wall);
90 void *
data,
size_t data_size);
156 int flush,
int has_packet);
163 int flush,
int has_packet);
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 default minimum maximum flags name is the option name
int ff_interleave_packet_passthrough(AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)
Interleave packets directly in the order in which they arrive without any sort of buffering.
This structure describes decoded (raw) audio or video data.
int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt, AVFormatContext *src, int interleave)
Write a packet to another muxer than the one the user originally intended.
int ff_parse_creation_time_metadata(AVFormatContext *s, int64_t *timestamp, int return_seconds)
Parse creation_time in AVFormatContext metadata if exists and warn if the parsing fails.
int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, int(*compare)(AVFormatContext *, const AVPacket *, const AVPacket *))
Add packet to an AVFormatContext's packet_buffer list, determining its interleaved position using com...
const AVPacket * ff_interleaved_peek(AVFormatContext *s, int stream)
Find the next packet in the interleaving queue for the given stream.
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
static const FFOutputFormat * ffofmt(const AVOutputFormat *fmt)
int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size)
Make shift_size amount of space at read_start by shifting data in the output at read_start until the ...
int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)
Interleave an AVPacket per dts so it can be muxed.
AVCodecID
Identify the syntax and semantics of the bitstream.
static void interleave(uint8_t *dst, uint8_t *src, int w, int h, int dst_linesize, int src_linesize, enum FilterMode mode, int swap)
const OptionDef options[]
int ff_standardize_creation_time(AVFormatContext *s)
Standardize creation_time metadata in AVFormatContext to an ISO-8601 timestamp string.
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 offset
int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *args)
Add a bitstream filter to a stream.
int ff_get_muxer_ts_offset(AVFormatContext *s, int stream_index, int64_t *offset)
static float compare(const AVFrame *haystack, const AVFrame *obj, int offx, int offy)
@ AV_WRITE_UNCODED_FRAME_QUERY
Query whether the feature is possible on this stream.
void(* flush)(AVBSFContext *ctx)
This structure stores compressed data.
#define flags(name, subs,...)
int ff_format_output_open(AVFormatContext *s, const char *url, AVDictionary **options)
Utility function to open IO stream of output format.
AVWriteUncodedFrameFlags
Flags for AVFormatContext.write_uncoded_frame()