FFmpeg
Data Fields
OutputStream Struct Reference

#include <ffmpeg.h>

Data Fields

AVStreamst
 
AVCodecContextenc
 
int64_t next_pts
 
int samples_count
 
AVFrameframe
 
AVFrametmp_frame
 
float t
 
float tincr
 
float tincr2
 
struct SwsContextsws_ctx
 
struct SwrContextswr_ctx
 
int file_index
 
int index
 
int source_index
 
int encoding_needed
 
int frame_number
 
struct InputStreamsync_ist
 
int64_t sync_opts
 
int64_t first_pts
 
int64_t last_mux_dts
 
AVRational mux_timebase
 
AVRational enc_timebase
 
AVBSFContextbsf_ctx
 
AVCodecContextenc_ctx
 
AVCodecParametersref_par
 
AVCodecenc
 
int64_t max_frames
 
AVFramefiltered_frame
 
AVFramelast_frame
 
int last_dropped
 
int last_nb0_frames [3]
 
void * hwaccel_ctx
 
AVRational frame_rate
 
int is_cfr
 
int force_fps
 
int top_field_first
 
int rotate_overridden
 
double rotate_override_value
 
AVRational frame_aspect_ratio
 
int64_t forced_kf_ref_pts
 
int64_t * forced_kf_pts
 
int forced_kf_count
 
int forced_kf_index
 
char * forced_keyframes
 
AVExprforced_keyframes_pexpr
 
double forced_keyframes_expr_const_values [FKF_NB]
 
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
 
AVDictionaryresample_opts
 
char * apad
 
OSTFinished finished
 
int unavailable
 
int stream_copy
 
int initialized
 
int inputs_done
 
const char * attachment_filename
 
int copy_initial_nonkeyframes
 
int copy_prior_start
 
char * disposition
 
int keep_pix_fmt
 
uint64_t data_size
 
uint64_t packets_written
 
uint64_t frames_encoded
 
uint64_t samples_encoded
 
int quality
 
int max_muxing_queue_size
 
AVFifoBuffermuxing_queue
 
int pict_type
 
int64_t error [4]
 
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 start_pts
 
int64_t max_pts
 
int64_t last_dts
 
int64_t last_pts
 
int last_flags
 
int 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_tmetadata
 
int metadata_size
 
uint8_textra_packets [2]
 
int extra_packet_sizes [2]
 
int nb_extra_packets
 
char dirname [1024]
 
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
 

Detailed Description

Examples
muxing.c.

Definition at line 53 of file muxing.c.

Field Documentation

◆ st

AVStream * OutputStream::st
Examples
muxing.c.

Definition at line 54 of file muxing.c.

◆ enc [1/2]

AVCodecContext* OutputStream::enc
Examples
muxing.c.

Definition at line 55 of file muxing.c.

◆ next_pts

int64_t OutputStream::next_pts
Examples
muxing.c.

Definition at line 58 of file muxing.c.

◆ samples_count

int OutputStream::samples_count
Examples
muxing.c.

Definition at line 59 of file muxing.c.

◆ frame

AVFrame* OutputStream::frame
Examples
muxing.c.

Definition at line 61 of file muxing.c.

◆ tmp_frame

AVFrame* OutputStream::tmp_frame
Examples
muxing.c.

Definition at line 62 of file muxing.c.

◆ t

float OutputStream::t
Examples
muxing.c.

Definition at line 64 of file muxing.c.

◆ tincr

float OutputStream::tincr
Examples
muxing.c.

Definition at line 64 of file muxing.c.

◆ tincr2

float OutputStream::tincr2
Examples
muxing.c.

Definition at line 64 of file muxing.c.

◆ sws_ctx

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

Definition at line 66 of file muxing.c.

◆ swr_ctx

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

Definition at line 67 of file muxing.c.

◆ file_index

int OutputStream::file_index

Definition at line 444 of file ffmpeg.h.

◆ index

int OutputStream::index

◆ source_index

int OutputStream::source_index

Definition at line 446 of file ffmpeg.h.

Referenced by open_output_file(), and transcode_init().

◆ encoding_needed

int OutputStream::encoding_needed

Definition at line 448 of file ffmpeg.h.

◆ frame_number

int OutputStream::frame_number

Definition at line 449 of file ffmpeg.h.

◆ sync_ist

struct InputStream* OutputStream::sync_ist

Definition at line 452 of file ffmpeg.h.

◆ sync_opts

int64_t OutputStream::sync_opts

Definition at line 453 of file ffmpeg.h.

◆ first_pts

int64_t OutputStream::first_pts

Definition at line 456 of file ffmpeg.h.

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

◆ last_mux_dts

int64_t OutputStream::last_mux_dts

Definition at line 458 of file ffmpeg.h.

◆ mux_timebase

AVRational OutputStream::mux_timebase

Definition at line 460 of file ffmpeg.h.

◆ enc_timebase

AVRational OutputStream::enc_timebase

Definition at line 461 of file ffmpeg.h.

◆ bsf_ctx

AVBSFContext* OutputStream::bsf_ctx

Definition at line 463 of file ffmpeg.h.

◆ enc_ctx

AVCodecContext* OutputStream::enc_ctx

Definition at line 465 of file ffmpeg.h.

◆ ref_par

AVCodecParameters* OutputStream::ref_par

Definition at line 466 of file ffmpeg.h.

◆ enc [2/2]

AVCodec* OutputStream::enc

Definition at line 467 of file ffmpeg.h.

◆ max_frames

int64_t OutputStream::max_frames

Definition at line 468 of file ffmpeg.h.

◆ filtered_frame

AVFrame* OutputStream::filtered_frame

Definition at line 469 of file ffmpeg.h.

◆ last_frame

AVFrame* OutputStream::last_frame

Definition at line 470 of file ffmpeg.h.

◆ last_dropped

int OutputStream::last_dropped

Definition at line 471 of file ffmpeg.h.

◆ last_nb0_frames

int OutputStream::last_nb0_frames[3]

Definition at line 472 of file ffmpeg.h.

◆ hwaccel_ctx

void* OutputStream::hwaccel_ctx

Definition at line 474 of file ffmpeg.h.

◆ frame_rate

AVRational OutputStream::frame_rate

Definition at line 477 of file ffmpeg.h.

◆ is_cfr

int OutputStream::is_cfr

Definition at line 478 of file ffmpeg.h.

◆ force_fps

int OutputStream::force_fps

Definition at line 479 of file ffmpeg.h.

◆ top_field_first

int OutputStream::top_field_first

Definition at line 480 of file ffmpeg.h.

◆ rotate_overridden

int OutputStream::rotate_overridden

Definition at line 481 of file ffmpeg.h.

◆ rotate_override_value

double OutputStream::rotate_override_value

Definition at line 482 of file ffmpeg.h.

◆ frame_aspect_ratio

AVRational OutputStream::frame_aspect_ratio

Definition at line 484 of file ffmpeg.h.

◆ forced_kf_ref_pts

int64_t OutputStream::forced_kf_ref_pts

Definition at line 487 of file ffmpeg.h.

◆ forced_kf_pts

int64_t* OutputStream::forced_kf_pts

Definition at line 488 of file ffmpeg.h.

◆ forced_kf_count

int OutputStream::forced_kf_count

Definition at line 489 of file ffmpeg.h.

◆ forced_kf_index

int OutputStream::forced_kf_index

Definition at line 490 of file ffmpeg.h.

◆ forced_keyframes

char* OutputStream::forced_keyframes

Definition at line 491 of file ffmpeg.h.

◆ forced_keyframes_pexpr

AVExpr* OutputStream::forced_keyframes_pexpr

Definition at line 492 of file ffmpeg.h.

◆ forced_keyframes_expr_const_values

double OutputStream::forced_keyframes_expr_const_values[FKF_NB]

Definition at line 493 of file ffmpeg.h.

◆ audio_channels_map

int* OutputStream::audio_channels_map

Definition at line 496 of file ffmpeg.h.

◆ audio_channels_mapped

int OutputStream::audio_channels_mapped

Definition at line 497 of file ffmpeg.h.

◆ logfile_prefix

char* OutputStream::logfile_prefix

Definition at line 499 of file ffmpeg.h.

◆ logfile

FILE* OutputStream::logfile

Definition at line 500 of file ffmpeg.h.

◆ filter

OutputFilter* OutputStream::filter

Definition at line 502 of file ffmpeg.h.

◆ avfilter

char* OutputStream::avfilter

Definition at line 503 of file ffmpeg.h.

Referenced by configure_filtergraph().

◆ filters

char* OutputStream::filters

filtergraph associated to the -filter option

Definition at line 504 of file ffmpeg.h.

◆ filters_script

char* OutputStream::filters_script

filtergraph script associated to the -filter_script option

Definition at line 505 of file ffmpeg.h.

◆ encoder_opts

AVDictionary* OutputStream::encoder_opts

Definition at line 507 of file ffmpeg.h.

◆ sws_dict

AVDictionary* OutputStream::sws_dict

Definition at line 508 of file ffmpeg.h.

◆ swr_opts

AVDictionary* OutputStream::swr_opts

Definition at line 509 of file ffmpeg.h.

◆ resample_opts

AVDictionary* OutputStream::resample_opts

Definition at line 510 of file ffmpeg.h.

Referenced by configure_filtergraph().

◆ apad

char* OutputStream::apad

Definition at line 511 of file ffmpeg.h.

◆ finished

OSTFinished OutputStream::finished

Definition at line 512 of file ffmpeg.h.

Referenced by close_all_output_streams(), and finish_output_stream().

◆ unavailable

int OutputStream::unavailable

Definition at line 513 of file ffmpeg.h.

Referenced by transcode_from_filter().

◆ stream_copy

int OutputStream::stream_copy

Definition at line 514 of file ffmpeg.h.

◆ initialized

int OutputStream::initialized

Definition at line 519 of file ffmpeg.h.

◆ inputs_done

int OutputStream::inputs_done

Definition at line 521 of file ffmpeg.h.

◆ attachment_filename

const char* OutputStream::attachment_filename

Definition at line 523 of file ffmpeg.h.

◆ copy_initial_nonkeyframes

int OutputStream::copy_initial_nonkeyframes

Definition at line 524 of file ffmpeg.h.

◆ copy_prior_start

int OutputStream::copy_prior_start

Definition at line 525 of file ffmpeg.h.

◆ disposition

char* OutputStream::disposition

Definition at line 526 of file ffmpeg.h.

◆ keep_pix_fmt

int OutputStream::keep_pix_fmt

Definition at line 528 of file ffmpeg.h.

◆ data_size

uint64_t OutputStream::data_size

Definition at line 532 of file ffmpeg.h.

◆ packets_written [1/2]

int OutputStream::packets_written

◆ frames_encoded

uint64_t OutputStream::frames_encoded

Definition at line 536 of file ffmpeg.h.

◆ samples_encoded

uint64_t OutputStream::samples_encoded

Definition at line 537 of file ffmpeg.h.

◆ quality

int OutputStream::quality

Definition at line 540 of file ffmpeg.h.

◆ max_muxing_queue_size

int OutputStream::max_muxing_queue_size

Definition at line 542 of file ffmpeg.h.

◆ muxing_queue

AVFifoBuffer* OutputStream::muxing_queue

Definition at line 545 of file ffmpeg.h.

◆ pict_type

int OutputStream::pict_type

Definition at line 548 of file ffmpeg.h.

◆ error

int64_t OutputStream::error[4]

Definition at line 551 of file ffmpeg.h.

◆ ctx

AVFormatContext * OutputStream::ctx

◆ ctx_inited

int OutputStream::ctx_inited

Definition at line 101 of file dashenc.c.

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

◆ as_idx

int OutputStream::as_idx

◆ out [1/2]

AVIOContext * OutputStream::out

◆ parser

AVCodecParserContext* OutputStream::parser

Definition at line 103 of file dashenc.c.

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

◆ parser_avctx

AVCodecContext* OutputStream::parser_avctx

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

◆ initfile

char OutputStream::initfile[1024]

◆ init_start_pos

int64_t OutputStream::init_start_pos

Definition at line 107 of file dashenc.c.

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

◆ pos

int64_t OutputStream::pos

Definition at line 107 of file dashenc.c.

Referenced by dash_flush(), flush_dynbuf(), and flush_init_segment().

◆ init_range_length

int OutputStream::init_range_length

◆ nb_segments

int OutputStream::nb_segments

◆ segments_size

int OutputStream::segments_size

Definition at line 109 of file dashenc.c.

Referenced by add_segment().

◆ segment_index

int OutputStream::segment_index

◆ seg_duration

int64_t OutputStream::seg_duration

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

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

◆ segments

Segment** OutputStream::segments

◆ start_pts

int64_t OutputStream::start_pts

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

Referenced by dash_init(), and dash_write_packet().

◆ last_pts

int64_t OutputStream::last_pts

Definition at line 115 of file dashenc.c.

Referenced by dash_write_packet().

◆ last_flags

int OutputStream::last_flags

Definition at line 116 of file dashenc.c.

Referenced by dash_write_packet().

◆ bit_rate

int OutputStream::bit_rate

Definition at line 117 of file dashenc.c.

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

◆ segment_type

SegmentType OutputStream::segment_type

◆ format_name

const char* OutputStream::format_name

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

Referenced by dash_init(), and init_segment_types().

◆ single_file_name

const char* OutputStream::single_file_name

Definition at line 121 of file dashenc.c.

Referenced by dash_free(), and dash_init().

◆ init_seg_name

const char* OutputStream::init_seg_name

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

Referenced by dash_write_packet(), and flush_dynbuf().

◆ filename

char OutputStream::filename[1024]

Definition at line 127 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ full_path

char OutputStream::full_path[1024]

Definition at line 128 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ temp_path

char OutputStream::temp_path[1024]

Definition at line 129 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ availability_time_offset

double OutputStream::availability_time_offset

Definition at line 130 of file dashenc.c.

Referenced by dash_write_packet(), and output_segment_list().

◆ producer_reference_time

AVProducerReferenceTime OutputStream::producer_reference_time

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

Referenced by dash_write_packet(), and write_adaptation_set().

◆ total_pkt_size

int OutputStream::total_pkt_size

Definition at line 133 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ total_pkt_duration

int64_t OutputStream::total_pkt_duration

Definition at line 134 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ muxer_overhead

int OutputStream::muxer_overhead

Definition at line 135 of file dashenc.c.

Referenced by dash_flush(), and write_manifest().

◆ frag_type

int OutputStream::frag_type

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

Referenced by dash_write_packet(), and write_adaptation_set().

◆ sar

AVRational OutputStream::sar

Definition at line 138 of file dashenc.c.

Referenced by dash_init(), and write_adaptation_set().

◆ coding_dependency

int OutputStream::coding_dependency

Definition at line 139 of file dashenc.c.

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

◆ bitrate

int OutputStream::bitrate

Definition at line 46 of file hdsenc.c.

Referenced by hds_write_header(), and write_manifest().

◆ first_stream

int OutputStream::first_stream

Definition at line 47 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 50 of file hdsenc.c.

Referenced by hds_write_header(), and ism_write_header().

◆ temp_filename

char OutputStream::temp_filename[1024]

Definition at line 51 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 52 of file hdsenc.c.

Referenced by hds_flush(), and hds_write_packet().

◆ last_ts

int64_t OutputStream::last_ts

Definition at line 52 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 55 of file hdsenc.c.

Referenced by add_fragment().

◆ fragment_index

int OutputStream::fragment_index

Definition at line 55 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 58 of file hdsenc.c.

Referenced by hds_write_header().

◆ has_video

int OutputStream::has_video

Definition at line 58 of file hdsenc.c.

Referenced by hds_write_header(), and hds_write_packet().

◆ metadata

uint8_t* OutputStream::metadata

Definition at line 60 of file hdsenc.c.

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

◆ metadata_size

int OutputStream::metadata_size

Definition at line 61 of file hdsenc.c.

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

◆ extra_packets

uint8_t* OutputStream::extra_packets[2]

Definition at line 63 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 64 of file hdsenc.c.

Referenced by init_file(), and parse_header().

◆ nb_extra_packets

int OutputStream::nb_extra_packets

Definition at line 65 of file hdsenc.c.

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

◆ dirname

char OutputStream::dirname[1024]

Definition at line 53 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

◆ out [2/2]

URLContext* OutputStream::out

Definition at line 55 of file smoothstreamingenc.c.

◆ out2

URLContext* OutputStream::out2

Definition at line 56 of file smoothstreamingenc.c.

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

◆ tail_out

URLContext* OutputStream::tail_out

Definition at line 57 of file smoothstreamingenc.c.

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

◆ tail_pos

int64_t OutputStream::tail_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write().

◆ cur_pos

int64_t OutputStream::cur_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_seek(), and ism_write().

◆ cur_start_pos

int64_t OutputStream::cur_start_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_seek().

◆ stream_type_tag

const char* OutputStream::stream_type_tag

Definition at line 60 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

◆ fourcc

const char* OutputStream::fourcc

Definition at line 64 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

◆ private_str

char* OutputStream::private_str

Definition at line 65 of file smoothstreamingenc.c.

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

◆ packet_size

int OutputStream::packet_size

Definition at line 66 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

◆ audio_tag

int OutputStream::audio_tag

Definition at line 67 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().


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