61 int64_t dts,
int header)
215 if (pkt->
pts != pkt->
dts) {
#define FRAME_HEADER_SIZE
void avio_wb64(AVIOContext *s, uint64_t val)
void avio_wl16(AVIOContext *s, unsigned int val)
struct FFMContext FFMContext
int mpeg_quant
0-> h263 quant 1-> mpeg quant
int dct_algo
DCT algorithm, see FF_DCT_* below.
float qblur
amount of qscale smoothing over time (0.0-1.0)
int max_b_frames
maximum number of B-frames between non-B-frames Note: The output will be delayed by max_b_frames+1 re...
enum AVPixelFormat pix_fmt
Pixel format, see AV_PIX_FMT_xxx.
static av_always_inline uint64_t av_double2int(double f)
Reinterpret a double as a 64-bit integer.
int frame_skip_cmp
frame skip comparison function
float i_quant_offset
qscale offset between P and I-frames
int scenechange_threshold
scene change detection threshold 0 is default, larger means fewer detected scene changes.
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
int bit_rate_tolerance
number of bits the bitstream is allowed to diverge from the reference.
void avio_wl32(AVIOContext *s, unsigned int val)
static void ffm_write_data(AVFormatContext *s, const uint8_t *buf, int size, int64_t dts, int header)
int me_range
maximum motion estimation search range in subpel units If 0 then no limit.
float b_quant_factor
qscale factor between IP and B-frames If > 0 then the last P-frame quantizer will be used (q= lastp_q...
uint8_t * extradata
some codecs need / can use extradata like Huffman tables.
int me_cmp
motion estimation comparison function
#define MKTAG(a, b, c, d)
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
int duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
int qmax
maximum quantizer
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int rc_max_rate
maximum bitrate
float i_quant_factor
qscale factor between P and I-frames If > 0 then the last p frame quantizer will be used (q= lastp_q*...
const char * rc_eq
rate control equation
int flags
A combination of AV_PKT_FLAG values.
AVCodecContext * codec
Codec context associated with this stream.
int rc_buffer_size
decoder bitstream buffer size
static int ffm_write_trailer(AVFormatContext *s)
int intra_dc_precision
precision of the intra DC coefficient - 8
unsigned int nb_streams
A list of all streams in the file.
static void flush_packet(AVFormatContext *s)
int refs
number of reference frames
int bit_rate
the average bitrate
int void avio_flush(AVIOContext *s)
static int ffm_write_header(AVFormatContext *s)
int width
picture width / height.
int mb_decision
macroblock decision mode
int max_qdiff
maximum quantizer difference between frames
int thread_count
thread count is used to decide how many independent tasks should be passed to execute() ...
int avio_put_str(AVIOContext *s, const char *str)
Write a NULL-terminated string.
int frame_size
Number of samples per channel in an audio frame.
enum AVMediaType codec_type
int sample_rate
samples per second
AVIOContext * pb
I/O context.
void avio_w8(AVIOContext *s, int b)
main external API structure.
int qmin
minimum quantizer
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
float rc_buffer_aggressivity
float b_quant_offset
qscale offset between IP and B-frames
float qcompress
amount of qscale change between easy & hard scenes (0.0-1.0)
#define CODEC_FLAG_GLOBAL_HEADER
AVOutputFormat ff_ffm_muxer
void avio_wb16(AVIOContext *s, unsigned int val)
int gop_size
the number of pictures in a group of pictures, or 0 for intra_only
uint8_t packet[FFM_PACKET_SIZE]
int channels
number of audio channels
void * priv_data
Format private data.
static void write_header(FFV1Context *f)
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...
void avio_wb32(AVIOContext *s, unsigned int val)
int me_method
Motion estimation algorithm used for video coding.
int rc_min_rate
minimum bitrate
This structure stores compressed data.
int me_subpel_quality
subpel ME quality
int strict_std_compliance
strictly follow the standard (MPEG4, ...).
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
int keyint_min
minimum GOP size