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
 
int file_index
 
int index
 
InputStreamist
 
int64_t vsync_frame_number
 
int64_t last_mux_dts
 
int64_t last_filter_pts
 
int64_t ts_copy_start
 
AVRational mux_timebase
 
AVRational enc_timebase
 
AVCodecContextenc_ctx
 
AVFramefiltered_frame
 
AVFramelast_frame
 
AVFramesq_frame
 
AVPacketpkt
 
int64_t last_dropped
 
int64_t last_nb0_frames [3]
 
AVRational frame_rate
 
AVRational max_frame_rate
 
enum VideoSyncMethod vsync_method
 
int is_cfr
 
int force_fps
 
int top_field_first
 
int rotate_overridden
 
int autoscale
 
int bitexact
 
int bits_per_raw_sample
 
double rotate_override_value
 
AVRational frame_aspect_ratio
 
KeyframeForceCtx kf
 
intaudio_channels_map
 
int audio_channels_mapped
 
char * logfile_prefix
 
FILE * logfile
 
OutputFilterfilter
 
char * avfilter
 
char * filters
 filtergraph associated to the -filter option More...
 
char * filters_script
 filtergraph script associated to the -filter_script option More...
 
AVDictionaryencoder_opts
 
AVDictionarysws_dict
 
AVDictionaryswr_opts
 
char * apad
 
OSTFinished finished
 
int unavailable
 
int initialized
 
int inputs_done
 
const char * attachment_filename
 
int streamcopy_started
 
int copy_initial_nonkeyframes
 
int copy_prior_start
 
int keep_pix_fmt
 
uint64_t data_size_mux
 
uint64_t data_size_enc
 
atomic_uint_least64_t packets_written
 
uint64_t frames_encoded
 
uint64_t samples_encoded
 
uint64_t packets_encoded
 
int quality
 
int pict_type
 
int64_t error [4]
 
int sq_idx_encode
 
int sq_idx_mux
 
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

AVCodecContext* OutputStream::enc
Examples
mux.c.

Definition at line 55 of file mux.c.

◆ 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 563 of file ffmpeg.h.

Referenced by mux_stream_alloc().

◆ file_index

int OutputStream::file_index

Definition at line 565 of file ffmpeg.h.

Referenced by mux_stream_alloc(), and ost_iter().

◆ index

int OutputStream::index

◆ ist

InputStream* OutputStream::ist

Definition at line 571 of file ffmpeg.h.

Referenced by trigger_fix_sub_duration_heartbeat().

◆ vsync_frame_number

int64_t OutputStream::vsync_frame_number

Definition at line 575 of file ffmpeg.h.

◆ last_mux_dts

int64_t OutputStream::last_mux_dts

Definition at line 580 of file ffmpeg.h.

◆ last_filter_pts

int64_t OutputStream::last_filter_pts

Definition at line 582 of file ffmpeg.h.

◆ ts_copy_start

int64_t OutputStream::ts_copy_start

Definition at line 587 of file ffmpeg.h.

◆ mux_timebase

AVRational OutputStream::mux_timebase

Definition at line 590 of file ffmpeg.h.

◆ enc_timebase

AVRational OutputStream::enc_timebase

Definition at line 591 of file ffmpeg.h.

◆ enc_ctx

AVCodecContext* OutputStream::enc_ctx

Definition at line 593 of file ffmpeg.h.

◆ filtered_frame

AVFrame* OutputStream::filtered_frame

Definition at line 594 of file ffmpeg.h.

◆ last_frame

AVFrame* OutputStream::last_frame

Definition at line 595 of file ffmpeg.h.

◆ sq_frame

AVFrame* OutputStream::sq_frame

Definition at line 596 of file ffmpeg.h.

◆ pkt

AVPacket* OutputStream::pkt

Definition at line 597 of file ffmpeg.h.

◆ last_dropped

int64_t OutputStream::last_dropped

Definition at line 598 of file ffmpeg.h.

◆ last_nb0_frames

int64_t OutputStream::last_nb0_frames[3]

Definition at line 599 of file ffmpeg.h.

◆ frame_rate

AVRational OutputStream::frame_rate

Definition at line 602 of file ffmpeg.h.

◆ max_frame_rate

AVRational OutputStream::max_frame_rate

Definition at line 603 of file ffmpeg.h.

◆ vsync_method

enum VideoSyncMethod OutputStream::vsync_method

Definition at line 604 of file ffmpeg.h.

◆ is_cfr

int OutputStream::is_cfr

Definition at line 605 of file ffmpeg.h.

◆ force_fps

int OutputStream::force_fps

Definition at line 606 of file ffmpeg.h.

◆ top_field_first

int OutputStream::top_field_first

Definition at line 607 of file ffmpeg.h.

◆ rotate_overridden

int OutputStream::rotate_overridden

Definition at line 609 of file ffmpeg.h.

◆ autoscale

int OutputStream::autoscale

Definition at line 611 of file ffmpeg.h.

Referenced by configure_output_video_filter().

◆ bitexact

int OutputStream::bitexact

Definition at line 612 of file ffmpeg.h.

◆ bits_per_raw_sample

int OutputStream::bits_per_raw_sample

Definition at line 613 of file ffmpeg.h.

◆ rotate_override_value

double OutputStream::rotate_override_value

Definition at line 615 of file ffmpeg.h.

◆ frame_aspect_ratio

AVRational OutputStream::frame_aspect_ratio

Definition at line 618 of file ffmpeg.h.

◆ kf

KeyframeForceCtx OutputStream::kf

Definition at line 620 of file ffmpeg.h.

◆ audio_channels_map

int* OutputStream::audio_channels_map

Definition at line 624 of file ffmpeg.h.

◆ audio_channels_mapped

int OutputStream::audio_channels_mapped

Definition at line 625 of file ffmpeg.h.

◆ logfile_prefix

char* OutputStream::logfile_prefix

Definition at line 628 of file ffmpeg.h.

◆ logfile

FILE* OutputStream::logfile

Definition at line 629 of file ffmpeg.h.

◆ filter

OutputFilter* OutputStream::filter

Definition at line 631 of file ffmpeg.h.

◆ avfilter

char* OutputStream::avfilter

Definition at line 632 of file ffmpeg.h.

Referenced by configure_filtergraph().

◆ filters

char* OutputStream::filters

filtergraph associated to the -filter option

Definition at line 633 of file ffmpeg.h.

◆ filters_script

char* OutputStream::filters_script

filtergraph script associated to the -filter_script option

Definition at line 634 of file ffmpeg.h.

◆ encoder_opts

AVDictionary* OutputStream::encoder_opts

Definition at line 636 of file ffmpeg.h.

Referenced by validate_enc_avopt().

◆ sws_dict

AVDictionary* OutputStream::sws_dict

Definition at line 637 of file ffmpeg.h.

◆ swr_opts

AVDictionary* OutputStream::swr_opts

Definition at line 638 of file ffmpeg.h.

◆ apad

char* OutputStream::apad

Definition at line 639 of file ffmpeg.h.

◆ finished

OSTFinished OutputStream::finished

Definition at line 640 of file ffmpeg.h.

◆ unavailable

int OutputStream::unavailable

Definition at line 641 of file ffmpeg.h.

Referenced by transcode_from_filter().

◆ initialized

int OutputStream::initialized

Definition at line 646 of file ffmpeg.h.

◆ inputs_done

int OutputStream::inputs_done

Definition at line 648 of file ffmpeg.h.

◆ attachment_filename

const char* OutputStream::attachment_filename

Definition at line 650 of file ffmpeg.h.

◆ streamcopy_started

int OutputStream::streamcopy_started

Definition at line 651 of file ffmpeg.h.

◆ copy_initial_nonkeyframes

int OutputStream::copy_initial_nonkeyframes

Definition at line 652 of file ffmpeg.h.

◆ copy_prior_start

int OutputStream::copy_prior_start

Definition at line 653 of file ffmpeg.h.

◆ keep_pix_fmt

int OutputStream::keep_pix_fmt

Definition at line 655 of file ffmpeg.h.

◆ data_size_mux

uint64_t OutputStream::data_size_mux

Definition at line 659 of file ffmpeg.h.

◆ data_size_enc

uint64_t OutputStream::data_size_enc

Definition at line 661 of file ffmpeg.h.

◆ packets_written [1/2]

int OutputStream::packets_written

◆ frames_encoded

uint64_t OutputStream::frames_encoded

Definition at line 665 of file ffmpeg.h.

◆ samples_encoded

uint64_t OutputStream::samples_encoded

Definition at line 666 of file ffmpeg.h.

◆ packets_encoded

uint64_t OutputStream::packets_encoded

Definition at line 668 of file ffmpeg.h.

◆ quality

int OutputStream::quality

Definition at line 671 of file ffmpeg.h.

◆ pict_type

int OutputStream::pict_type

Definition at line 674 of file ffmpeg.h.

◆ error

int64_t OutputStream::error[4]

Definition at line 677 of file ffmpeg.h.

◆ sq_idx_encode

int OutputStream::sq_idx_encode

Definition at line 679 of file ffmpeg.h.

◆ sq_idx_mux

int OutputStream::sq_idx_mux

Definition at line 680 of file ffmpeg.h.

◆ enc_stats_pre

EncStats OutputStream::enc_stats_pre

Definition at line 682 of file ffmpeg.h.

◆ enc_stats_post

EncStats OutputStream::enc_stats_post

Definition at line 683 of file ffmpeg.h.

◆ fix_sub_duration_heartbeat

unsigned int OutputStream::fix_sub_duration_heartbeat

Definition at line 689 of file ffmpeg.h.

◆ ctx

AVFormatContext * OutputStream::ctx

◆ ctx_inited

int OutputStream::ctx_inited

Definition at line 106 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 108 of file dashenc.c.

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

◆ parser_avctx

AVCodecContext* OutputStream::parser_avctx

Definition at line 109 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 110 of file dashenc.c.

◆ initfile

char OutputStream::initfile[1024]

◆ init_start_pos

int64_t OutputStream::init_start_pos

Definition at line 112 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 114 of file dashenc.c.

Referenced by add_segment().

◆ segment_index

int OutputStream::segment_index

◆ seg_duration

int64_t OutputStream::seg_duration

Definition at line 115 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 116 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 117 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 119 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 119 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 119 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 120 of file dashenc.c.

Referenced by dash_init(), and dash_write_packet().

◆ last_pts

int64_t OutputStream::last_pts

Definition at line 120 of file dashenc.c.

Referenced by dash_write_packet().

◆ last_flags

int OutputStream::last_flags

Definition at line 121 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 123 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 125 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 126 of file dashenc.c.

Referenced by dash_init(), and init_segment_types().

◆ single_file_name

const char* OutputStream::single_file_name

Definition at line 127 of file dashenc.c.

Referenced by dash_free(), and dash_init().

◆ init_seg_name

const char* OutputStream::init_seg_name

Definition at line 128 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 129 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 132 of file dashenc.c.

Referenced by dash_write_packet(), and flush_dynbuf().

◆ filename

char OutputStream::filename[1024]

Definition at line 133 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ full_path

char OutputStream::full_path[1024]

Definition at line 134 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ temp_path

char OutputStream::temp_path[1024]

Definition at line 135 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ availability_time_offset

double OutputStream::availability_time_offset

Definition at line 136 of file dashenc.c.

Referenced by dash_write_packet(), and output_segment_list().

◆ producer_reference_time

AVProducerReferenceTime OutputStream::producer_reference_time

Definition at line 137 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 138 of file dashenc.c.

Referenced by dash_write_packet(), and write_adaptation_set().

◆ total_pkt_size

int OutputStream::total_pkt_size

Definition at line 139 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ total_pkt_duration

int64_t OutputStream::total_pkt_duration

Definition at line 140 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ muxer_overhead

int OutputStream::muxer_overhead

Definition at line 141 of file dashenc.c.

Referenced by dash_flush(), and write_manifest().

◆ frag_type

int OutputStream::frag_type

Definition at line 142 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 143 of file dashenc.c.

Referenced by dash_write_packet(), and write_adaptation_set().

◆ sar

AVRational OutputStream::sar

Definition at line 144 of file dashenc.c.

Referenced by dash_init(), and write_adaptation_set().

◆ coding_dependency

int OutputStream::coding_dependency

Definition at line 145 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: