#include "libavutil/fifo.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavcodec/put_bits.h"
#include "avformat.h"
#include "internal.h"
#include "mpeg.h"
#include <assert.h>
Go to the source code of this file.
#define MPEGENC_CLASS | ( | flavor | ) |
Value:
static const AVClass flavor ## _class = {\ .class_name = #flavor " muxer",\ .item_name = av_default_item_name,\ .version = LIBAVUTIL_VERSION_INT,\ .option = options,\ };
#define OFFSET | ( | x | ) | offsetof(MpegMuxContext, x) |
static int flush_packet | ( | AVFormatContext * | ctx, | |
int | stream_index, | |||
int64_t | pts, | |||
int64_t | dts, | |||
int64_t | scr, | |||
int | trailer_size | |||
) | [static] |
static int get_nb_frames | ( | AVFormatContext * | ctx, | |
StreamInfo * | stream, | |||
int | len | |||
) | [static] |
static int get_system_header_size | ( | AVFormatContext * | ctx | ) | [static] |
static int get_vcd_padding_size | ( | AVFormatContext * | ctx, | |
int64_t | pts | |||
) | [static] |
static int mpeg_mux_end | ( | AVFormatContext * | ctx | ) | [static] |
static int mpeg_mux_init | ( | AVFormatContext * | ctx | ) | [static] |
static int mpeg_mux_write_packet | ( | AVFormatContext * | ctx, | |
AVPacket * | pkt | |||
) | [static] |
static int output_packet | ( | AVFormatContext * | ctx, | |
int | flush | |||
) | [static] |
static int put_pack_header | ( | AVFormatContext * | ctx, | |
uint8_t * | buf, | |||
int64_t | timestamp | |||
) | [static] |
static void put_padding_packet | ( | AVFormatContext * | ctx, | |
AVIOContext * | pb, | |||
int | packet_bytes | |||
) | [static] |
static int put_system_header | ( | AVFormatContext * | ctx, | |
uint8_t * | buf, | |||
int | only_for_stream_id | |||
) | [static] |
static void put_timestamp | ( | AVIOContext * | pb, | |
int | id, | |||
int64_t | timestamp | |||
) | [inline, static] |
static void put_vcd_padding_sector | ( | AVFormatContext * | ctx | ) | [static] |
static int remove_decoded_packets | ( | AVFormatContext * | ctx, | |
int64_t | scr | |||
) | [static] |
Initial value:
{ { "muxrate", NULL, OFFSET(user_mux_rate), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E }, { "preload", "Initial demux-decode delay in microseconds.", OFFSET(preload), AV_OPT_TYPE_INT, {.i64 = 500000}, 0, INT_MAX, E}, { NULL }, }