FFmpeg
Data Fields
OutputStream Struct Reference

#include <ffmpeg.h>

Data Fields

AVStreamst
 
AVCodecContextenc
 
int64_t next_pts
 
int samples_count
 
AVFrameframe
 
AVFrametmp_frame
 
AVPackettmp_pkt
 
float t
 
float tincr
 
float tincr2
 
struct SwsContextsws_ctx
 
struct SwrContextswr_ctx
 
const AVClassclass
 
enum AVMediaType type
 
struct OutputFilefile
 
int index
 
AVCodecParameterspar_in
 Codec parameters for packets submitted to the muxer (i.e. More...
 
InputStreamist
 
AVRational enc_timebase
 
Encoderenc
 
AVCodecContextenc_ctx
 
AVRational frame_rate
 
AVRational max_frame_rate
 
enum VideoSyncMethod vsync_method
 
int is_cfr
 
int force_fps
 
int top_field_first
 
int autoscale
 
int bitexact
 
int bits_per_raw_sample
 
AVRational frame_aspect_ratio
 
KeyframeForceCtx kf
 
char * logfile_prefix
 
FILE * logfile
 
OutputFilterfilter
 
AVDictionaryencoder_opts
 
AVDictionarysws_dict
 
AVDictionaryswr_opts
 
char * apad
 
char * attachment_filename
 
int keep_pix_fmt
 
atomic_uint_least64_t packets_written
 
uint64_t frames_encoded
 
uint64_t samples_encoded
 
atomic_int quality
 
EncStats enc_stats_pre
 
EncStats enc_stats_post
 
unsigned int fix_sub_duration_heartbeat
 
AVFormatContextctx
 
int ctx_inited
 
int as_idx
 
AVIOContextout
 
AVCodecParserContextparser
 
AVCodecContextparser_avctx
 
int packets_written
 
char initfile [1024]
 
int64_t init_start_pos
 
int64_t pos
 
int init_range_length
 
int nb_segments
 
int segments_size
 
int segment_index
 
int64_t seg_duration
 
int64_t frag_duration
 
int64_t last_duration
 
Segment ** segments
 
int64_t first_pts
 
int64_t start_pts
 
int64_t max_pts
 
int64_t last_dts
 
int64_t last_pts
 
int last_flags
 
int bit_rate
 
int first_segment_bit_rate
 
SegmentType segment_type
 
const char * format_name
 
const char * extension_name
 
const char * single_file_name
 
const char * init_seg_name
 
const char * media_seg_name
 
char codec_str [100]
 
int written_len
 
char filename [1024]
 
char full_path [1024]
 
char temp_path [1024]
 
double availability_time_offset
 
AVProducerReferenceTime producer_reference_time
 
char producer_reference_time_str [100]
 
int total_pkt_size
 
int64_t total_pkt_duration
 
int muxer_overhead
 
int frag_type
 
int64_t gop_size
 
AVRational sar
 
int coding_dependency
 
int bitrate
 
int first_stream
 
uint8_t iobuf [32768]
 
char temp_filename [1024]
 
int64_t frag_start_ts
 
int64_t last_ts
 
int nb_fragments
 
int fragments_size
 
int fragment_index
 
Fragment ** fragments
 
int has_audio
 
int has_video
 
uint8_t * metadata
 
int metadata_size
 
uint8_t * extra_packets [2]
 
int extra_packet_sizes [2]
 
int nb_extra_packets
 
URLContextout
 
URLContextout2
 
URLContexttail_out
 
int64_t tail_pos
 
int64_t cur_pos
 
int64_t cur_start_pos
 
const char * stream_type_tag
 
const char * fourcc
 
char * private_str
 
int packet_size
 
int audio_tag
 
char dirname [1024]
 

Detailed Description

Examples
mux.c.

Definition at line 53 of file mux.c.

Field Documentation

◆ st

AVStream * OutputStream::st
Examples
mux.c.

Definition at line 54 of file mux.c.

Referenced by configure_output_audio_filter().

◆ enc [1/2]

AVCodecContext* OutputStream::enc
Examples
mux.c.

Definition at line 55 of file mux.c.

Referenced by create_streams().

◆ next_pts

int64_t OutputStream::next_pts
Examples
mux.c.

Definition at line 58 of file mux.c.

◆ samples_count

int OutputStream::samples_count
Examples
mux.c.

Definition at line 59 of file mux.c.

◆ frame

AVFrame* OutputStream::frame
Examples
mux.c.

Definition at line 61 of file mux.c.

◆ tmp_frame

AVFrame* OutputStream::tmp_frame
Examples
mux.c.

Definition at line 62 of file mux.c.

◆ tmp_pkt

AVPacket* OutputStream::tmp_pkt
Examples
mux.c.

Definition at line 64 of file mux.c.

◆ t

float OutputStream::t
Examples
mux.c.

Definition at line 66 of file mux.c.

◆ tincr

float OutputStream::tincr
Examples
mux.c.

Definition at line 66 of file mux.c.

◆ tincr2

float OutputStream::tincr2
Examples
mux.c.

Definition at line 66 of file mux.c.

◆ sws_ctx

struct SwsContext* OutputStream::sws_ctx
Examples
mux.c.

Definition at line 68 of file mux.c.

◆ swr_ctx

struct SwrContext* OutputStream::swr_ctx
Examples
mux.c.

Definition at line 69 of file mux.c.

◆ class

const AVClass* OutputStream::class

Definition at line 496 of file ffmpeg.h.

Referenced by mux_stream_alloc().

◆ type

enum AVMediaType OutputStream::type

Definition at line 498 of file ffmpeg.h.

Referenced by create_streams(), and mux_stream_alloc().

◆ file

struct OutputFile* OutputStream::file

Definition at line 501 of file ffmpeg.h.

Referenced by mux_stream_alloc(), and ost_iter().

◆ index

int OutputStream::index

Definition at line 503 of file ffmpeg.h.

Referenced by mux_stream_alloc(), ost_add(), and ost_iter().

◆ par_in

AVCodecParameters* OutputStream::par_in

Codec parameters for packets submitted to the muxer (i.e.

before bitstream filtering, if any).

Definition at line 509 of file ffmpeg.h.

◆ ist

InputStream* OutputStream::ist

Definition at line 514 of file ffmpeg.h.

Referenced by create_streams().

◆ enc_timebase

AVRational OutputStream::enc_timebase

Definition at line 518 of file ffmpeg.h.

◆ enc [2/2]

Encoder* OutputStream::enc

Definition at line 520 of file ffmpeg.h.

◆ enc_ctx

AVCodecContext* OutputStream::enc_ctx

Definition at line 521 of file ffmpeg.h.

◆ frame_rate

AVRational OutputStream::frame_rate

Definition at line 524 of file ffmpeg.h.

◆ max_frame_rate

AVRational OutputStream::max_frame_rate

Definition at line 525 of file ffmpeg.h.

◆ vsync_method

enum VideoSyncMethod OutputStream::vsync_method

Definition at line 526 of file ffmpeg.h.

◆ is_cfr

int OutputStream::is_cfr

Definition at line 527 of file ffmpeg.h.

Referenced by choose_out_timebase().

◆ force_fps

int OutputStream::force_fps

Definition at line 528 of file ffmpeg.h.

◆ top_field_first

int OutputStream::top_field_first

Definition at line 530 of file ffmpeg.h.

◆ autoscale

int OutputStream::autoscale

Definition at line 532 of file ffmpeg.h.

Referenced by configure_output_video_filter().

◆ bitexact

int OutputStream::bitexact

Definition at line 533 of file ffmpeg.h.

◆ bits_per_raw_sample

int OutputStream::bits_per_raw_sample

Definition at line 534 of file ffmpeg.h.

◆ frame_aspect_ratio

AVRational OutputStream::frame_aspect_ratio

Definition at line 536 of file ffmpeg.h.

◆ kf

KeyframeForceCtx OutputStream::kf

Definition at line 538 of file ffmpeg.h.

◆ logfile_prefix

char* OutputStream::logfile_prefix

Definition at line 540 of file ffmpeg.h.

◆ logfile

FILE* OutputStream::logfile

Definition at line 541 of file ffmpeg.h.

◆ filter

OutputFilter* OutputStream::filter

Definition at line 543 of file ffmpeg.h.

◆ encoder_opts

AVDictionary* OutputStream::encoder_opts

Definition at line 545 of file ffmpeg.h.

Referenced by validate_enc_avopt().

◆ sws_dict

AVDictionary* OutputStream::sws_dict

Definition at line 546 of file ffmpeg.h.

◆ swr_opts

AVDictionary* OutputStream::swr_opts

Definition at line 547 of file ffmpeg.h.

◆ apad

char* OutputStream::apad

Definition at line 548 of file ffmpeg.h.

◆ attachment_filename

char* OutputStream::attachment_filename

Definition at line 550 of file ffmpeg.h.

◆ keep_pix_fmt

int OutputStream::keep_pix_fmt

Definition at line 552 of file ffmpeg.h.

◆ packets_written [1/2]

int OutputStream::packets_written

◆ frames_encoded

uint64_t OutputStream::frames_encoded

Definition at line 558 of file ffmpeg.h.

◆ samples_encoded

uint64_t OutputStream::samples_encoded

Definition at line 559 of file ffmpeg.h.

◆ quality

atomic_int OutputStream::quality

Definition at line 562 of file ffmpeg.h.

◆ enc_stats_pre

EncStats OutputStream::enc_stats_pre

Definition at line 564 of file ffmpeg.h.

◆ enc_stats_post

EncStats OutputStream::enc_stats_post

Definition at line 565 of file ffmpeg.h.

◆ fix_sub_duration_heartbeat

unsigned int OutputStream::fix_sub_duration_heartbeat

Definition at line 571 of file ffmpeg.h.

◆ ctx

AVFormatContext * OutputStream::ctx

◆ ctx_inited

int OutputStream::ctx_inited

Definition at line 107 of file dashenc.c.

Referenced by dash_flush(), dash_init(), hds_free(), and hds_write_header().

◆ as_idx

int OutputStream::as_idx

◆ out [1/2]

AVIOContext * OutputStream::out

◆ parser

AVCodecParserContext* OutputStream::parser

Definition at line 109 of file dashenc.c.

Referenced by dash_free(), dash_init(), and dash_write_packet().

◆ parser_avctx

AVCodecContext* OutputStream::parser_avctx

Definition at line 110 of file dashenc.c.

Referenced by dash_free(), dash_init(), and dash_write_packet().

◆ packets_written [2/2]

int OutputStream::packets_written

Definition at line 111 of file dashenc.c.

◆ initfile

char OutputStream::initfile[1024]

◆ init_start_pos

int64_t OutputStream::init_start_pos

Definition at line 113 of file dashenc.c.

Referenced by dash_init(), output_segment_list(), and write_hls_media_playlist().

◆ pos

int64_t OutputStream::pos

◆ init_range_length

int OutputStream::init_range_length

◆ nb_segments

int OutputStream::nb_segments

◆ segments_size

int OutputStream::segments_size

Definition at line 115 of file dashenc.c.

Referenced by add_segment().

◆ segment_index

int OutputStream::segment_index

◆ seg_duration

int64_t OutputStream::seg_duration

Definition at line 116 of file dashenc.c.

Referenced by dash_init(), dash_write_packet(), output_segment_list(), and write_adaptation_set().

◆ frag_duration

int64_t OutputStream::frag_duration

Definition at line 117 of file dashenc.c.

Referenced by dash_init(), dash_write_packet(), and write_adaptation_set().

◆ last_duration

int64_t OutputStream::last_duration

Definition at line 118 of file dashenc.c.

Referenced by dash_flush(), dash_write_packet(), and output_segment_list().

◆ segments

Segment** OutputStream::segments

◆ first_pts

int64_t OutputStream::first_pts

Definition at line 120 of file dashenc.c.

Referenced by dash_init(), dash_parse_prft(), dash_write_packet(), and dash_write_trailer().

◆ start_pts

int64_t OutputStream::start_pts

Definition at line 120 of file dashenc.c.

Referenced by dash_flush(), dash_write_packet(), and dash_write_trailer().

◆ max_pts

int64_t OutputStream::max_pts

Definition at line 120 of file dashenc.c.

Referenced by dash_flush(), dash_init(), dash_write_packet(), and dash_write_trailer().

◆ last_dts

int64_t OutputStream::last_dts

Definition at line 121 of file dashenc.c.

Referenced by dash_init(), and dash_write_packet().

◆ last_pts

int64_t OutputStream::last_pts

Definition at line 121 of file dashenc.c.

Referenced by dash_write_packet().

◆ last_flags

int OutputStream::last_flags

Definition at line 122 of file dashenc.c.

Referenced by dash_write_packet().

◆ bit_rate

int OutputStream::bit_rate

◆ first_segment_bit_rate

int OutputStream::first_segment_bit_rate

Definition at line 124 of file dashenc.c.

Referenced by dash_flush(), write_adaptation_set(), and write_manifest().

◆ segment_type

SegmentType OutputStream::segment_type

◆ format_name

const char* OutputStream::format_name

Definition at line 126 of file dashenc.c.

Referenced by dash_init(), init_segment_types(), and write_adaptation_set().

◆ extension_name

const char* OutputStream::extension_name

Definition at line 127 of file dashenc.c.

Referenced by dash_init(), and init_segment_types().

◆ single_file_name

const char* OutputStream::single_file_name

Definition at line 128 of file dashenc.c.

Referenced by dash_free(), and dash_init().

◆ init_seg_name

const char* OutputStream::init_seg_name

Definition at line 129 of file dashenc.c.

Referenced by dash_free(), dash_init(), and output_segment_list().

◆ media_seg_name

const char* OutputStream::media_seg_name

Definition at line 130 of file dashenc.c.

Referenced by dash_free(), dash_init(), dash_write_packet(), and output_segment_list().

◆ codec_str

char OutputStream::codec_str[100]

◆ written_len

int OutputStream::written_len

Definition at line 133 of file dashenc.c.

Referenced by dash_write_packet(), and flush_dynbuf().

◆ filename

char OutputStream::filename[1024]

Definition at line 134 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ full_path

char OutputStream::full_path[1024]

Definition at line 135 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ temp_path

char OutputStream::temp_path[1024]

Definition at line 136 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ availability_time_offset

double OutputStream::availability_time_offset

Definition at line 137 of file dashenc.c.

Referenced by dash_write_packet(), and output_segment_list().

◆ producer_reference_time

AVProducerReferenceTime OutputStream::producer_reference_time

Definition at line 138 of file dashenc.c.

Referenced by dash_parse_prft(), dash_write_packet(), and write_adaptation_set().

◆ producer_reference_time_str

char OutputStream::producer_reference_time_str[100]

Definition at line 139 of file dashenc.c.

Referenced by dash_write_packet(), and write_adaptation_set().

◆ total_pkt_size

int OutputStream::total_pkt_size

Definition at line 140 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ total_pkt_duration

int64_t OutputStream::total_pkt_duration

Definition at line 141 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ muxer_overhead

int OutputStream::muxer_overhead

Definition at line 142 of file dashenc.c.

Referenced by dash_flush(), and write_manifest().

◆ frag_type

int OutputStream::frag_type

Definition at line 143 of file dashenc.c.

Referenced by dash_init(), dash_write_packet(), and write_adaptation_set().

◆ gop_size

int64_t OutputStream::gop_size

Definition at line 144 of file dashenc.c.

Referenced by dash_write_packet(), and write_adaptation_set().

◆ sar

AVRational OutputStream::sar

Definition at line 145 of file dashenc.c.

Referenced by dash_init(), and write_adaptation_set().

◆ coding_dependency

int OutputStream::coding_dependency

Definition at line 146 of file dashenc.c.

Referenced by dash_init(), dash_write_packet(), and write_adaptation_set().

◆ bitrate

int OutputStream::bitrate

Definition at line 45 of file hdsenc.c.

Referenced by hds_write_header(), and write_manifest().

◆ first_stream

int OutputStream::first_stream

Definition at line 46 of file hdsenc.c.

Referenced by hds_flush(), hds_write_header(), hds_write_packet(), and write_abst().

◆ iobuf

uint8_t OutputStream::iobuf

Definition at line 49 of file hdsenc.c.

Referenced by hds_write_header(), and ism_write_header().

◆ temp_filename

char OutputStream::temp_filename[1024]

Definition at line 50 of file hdsenc.c.

Referenced by hds_flush(), hds_write_header(), and init_file().

◆ frag_start_ts

int64_t OutputStream::frag_start_ts

Definition at line 51 of file hdsenc.c.

Referenced by hds_flush(), and hds_write_packet().

◆ last_ts

int64_t OutputStream::last_ts

Definition at line 51 of file hdsenc.c.

Referenced by hds_write_packet(), and write_abst().

◆ nb_fragments

int OutputStream::nb_fragments

◆ fragments_size

int OutputStream::fragments_size

Definition at line 54 of file hdsenc.c.

Referenced by add_fragment().

◆ fragment_index

int OutputStream::fragment_index

Definition at line 54 of file hdsenc.c.

Referenced by add_fragment(), hds_flush(), hds_write_header(), hds_write_packet(), and write_abst().

◆ fragments

Fragment ** OutputStream::fragments

◆ has_audio

int OutputStream::has_audio

Definition at line 57 of file hdsenc.c.

Referenced by hds_write_header().

◆ has_video

int OutputStream::has_video

Definition at line 57 of file hdsenc.c.

Referenced by hds_write_header(), and hds_write_packet().

◆ metadata

uint8_t* OutputStream::metadata

Definition at line 59 of file hdsenc.c.

Referenced by hds_free(), parse_header(), and write_manifest().

◆ metadata_size

int OutputStream::metadata_size

Definition at line 60 of file hdsenc.c.

Referenced by hds_write(), parse_header(), and write_manifest().

◆ extra_packets

uint8_t* OutputStream::extra_packets[2]

Definition at line 62 of file hdsenc.c.

Referenced by hds_free(), init_file(), and parse_header().

◆ extra_packet_sizes

int OutputStream::extra_packet_sizes[2]

Definition at line 63 of file hdsenc.c.

Referenced by init_file(), and parse_header().

◆ nb_extra_packets

int OutputStream::nb_extra_packets

Definition at line 64 of file hdsenc.c.

Referenced by hds_free(), init_file(), and parse_header().

◆ out [2/2]

URLContext* OutputStream::out

Definition at line 49 of file smoothstreamingenc.c.

◆ out2

URLContext* OutputStream::out2

Definition at line 50 of file smoothstreamingenc.c.

Referenced by ism_free(), ism_seek(), and ism_write().

◆ tail_out

URLContext* OutputStream::tail_out

Definition at line 51 of file smoothstreamingenc.c.

Referenced by ism_flush(), ism_free(), and ism_seek().

◆ tail_pos

int64_t OutputStream::tail_pos

Definition at line 52 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write().

◆ cur_pos

int64_t OutputStream::cur_pos

Definition at line 52 of file smoothstreamingenc.c.

Referenced by ism_seek(), and ism_write().

◆ cur_start_pos

int64_t OutputStream::cur_start_pos

Definition at line 52 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_seek().

◆ stream_type_tag

const char* OutputStream::stream_type_tag

Definition at line 54 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

◆ fourcc

const char* OutputStream::fourcc

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

◆ private_str

char* OutputStream::private_str

Definition at line 59 of file smoothstreamingenc.c.

Referenced by get_private_data(), ism_free(), and write_manifest().

◆ packet_size

int OutputStream::packet_size

Definition at line 60 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

◆ audio_tag

int OutputStream::audio_tag

Definition at line 61 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

◆ dirname

char OutputStream::dirname[1024]

Definition at line 62 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().


The documentation for this struct was generated from the following files: