FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 
int nb_bitstream_filters
 
uint8_tbsf_extradata_updated
 
AVBSFContext ** bsf_ctx
 
AVCodecContextenc_ctx
 
AVCodecParametersref_par
 
AVCodecenc
 
int64_t max_frames
 
AVFramefiltered_frame
 
AVFramelast_frame
 
int last_dropped
 
int last_nb0_frames [3]
 
voidhwaccel_ctx
 
AVRational frame_rate
 
int is_cfr
 
int force_fps
 
int top_field_first
 
int rotate_overridden
 
AVRational frame_aspect_ratio
 
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]
 
int * audio_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
 
const char * attachment_filename
 
int copy_initial_nonkeyframes
 
int copy_prior_start
 
char * disposition
 
int keep_pix_fmt
 
AVCodecParserContextparser
 
AVCodecContextparser_avctx
 
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
 
uint8_t iobuf [32768]
 
AVIOContextout
 
int packets_written
 
char initfile [1024]
 
int64_t init_start_pos
 
int init_range_length
 
int nb_segments
 
int segments_size
 
int segment_index
 
Segment ** segments
 
int64_t start_pts
 
int64_t max_pts
 
int64_t last_dts
 
int bit_rate
 
char bandwidth_str [64]
 
char codec_str [100]
 
int bitrate
 
int first_stream
 
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

AVStream * OutputStream::st
AVCodecContext* OutputStream::enc
int64_t OutputStream::next_pts
Examples:
muxing.c.

Definition at line 58 of file muxing.c.

Referenced by get_audio_frame(), get_video_frame(), and main().

int OutputStream::samples_count
Examples:
muxing.c.

Definition at line 59 of file muxing.c.

Referenced by write_audio_frame().

AVFrame* OutputStream::frame
Examples:
muxing.c.

Definition at line 61 of file muxing.c.

Referenced by close_stream(), open_audio(), open_video(), and write_audio_frame().

AVFrame* OutputStream::tmp_frame
Examples:
muxing.c.

Definition at line 62 of file muxing.c.

Referenced by close_stream(), get_audio_frame(), open_audio(), and open_video().

float OutputStream::t
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by open_audio().

float OutputStream::tincr
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by open_audio().

float OutputStream::tincr2
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by open_audio().

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

Definition at line 66 of file muxing.c.

Referenced by close_stream().

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

Definition at line 67 of file muxing.c.

Referenced by close_stream(), open_audio(), and write_audio_frame().

int OutputStream::file_index
int OutputStream::index
int OutputStream::source_index
int OutputStream::encoding_needed
int OutputStream::frame_number

Definition at line 413 of file ffmpeg.h.

Referenced by do_streamcopy(), do_video_out(), need_output(), print_report(), and write_packet().

struct InputStream* OutputStream::sync_ist

Definition at line 416 of file ffmpeg.h.

Referenced by new_output_stream(), and open_output_file().

int64_t OutputStream::sync_opts
int64_t OutputStream::first_pts
int64_t OutputStream::last_mux_dts

Definition at line 422 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

int OutputStream::nb_bitstream_filters

Definition at line 424 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), init_output_bsfs(), new_output_stream(), and output_packet().

uint8_t* OutputStream::bsf_extradata_updated

Definition at line 425 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), new_output_stream(), and output_packet().

AVBSFContext** OutputStream::bsf_ctx

Definition at line 426 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), init_output_bsfs(), new_output_stream(), and output_packet().

AVCodecContext* OutputStream::enc_ctx
AVCodecParameters* OutputStream::ref_par

Definition at line 429 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), init_output_stream_streamcopy(), and new_output_stream().

AVCodec* OutputStream::enc

Definition at line 430 of file ffmpeg.h.

int64_t OutputStream::max_frames

Definition at line 431 of file ffmpeg.h.

Referenced by do_video_out(), need_output(), new_output_stream(), and write_packet().

AVFrame* OutputStream::filtered_frame

Definition at line 432 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and reap_filters().

AVFrame* OutputStream::last_frame

Definition at line 433 of file ffmpeg.h.

Referenced by do_video_out(), and ffmpeg_cleanup().

int OutputStream::last_dropped

Definition at line 434 of file ffmpeg.h.

Referenced by do_video_out(), and print_report().

int OutputStream::last_nb0_frames[3]

Definition at line 435 of file ffmpeg.h.

Referenced by do_video_out().

void* OutputStream::hwaccel_ctx

Definition at line 437 of file ffmpeg.h.

Referenced by qsv_transcode_init().

AVRational OutputStream::frame_rate
int OutputStream::is_cfr

Definition at line 441 of file ffmpeg.h.

Referenced by do_video_out(), and write_packet().

int OutputStream::force_fps

Definition at line 442 of file ffmpeg.h.

Referenced by new_video_stream(), and transcode_init().

int OutputStream::top_field_first

Definition at line 443 of file ffmpeg.h.

Referenced by do_video_out(), and new_video_stream().

int OutputStream::rotate_overridden

Definition at line 444 of file ffmpeg.h.

Referenced by open_output_file().

AVRational OutputStream::frame_aspect_ratio

Definition at line 446 of file ffmpeg.h.

Referenced by new_video_stream(), reap_filters(), and transcode_init().

int64_t* OutputStream::forced_kf_pts

Definition at line 449 of file ffmpeg.h.

Referenced by do_video_out(), parse_forced_key_frames(), transcode(), and transcode_init().

int OutputStream::forced_kf_count

Definition at line 450 of file ffmpeg.h.

Referenced by do_video_out(), parse_forced_key_frames(), and transcode_init().

int OutputStream::forced_kf_index

Definition at line 451 of file ffmpeg.h.

Referenced by do_video_out().

char* OutputStream::forced_keyframes

Definition at line 452 of file ffmpeg.h.

Referenced by do_video_out(), ffmpeg_cleanup(), new_video_stream(), and transcode_init().

AVExpr* OutputStream::forced_keyframes_pexpr

Definition at line 453 of file ffmpeg.h.

Referenced by do_video_out(), ffmpeg_cleanup(), and transcode_init().

double OutputStream::forced_keyframes_expr_const_values[FKF_NB]

Definition at line 454 of file ffmpeg.h.

Referenced by do_video_out(), and transcode_init().

int* OutputStream::audio_channels_map

Definition at line 457 of file ffmpeg.h.

Referenced by configure_output_audio_filter(), ffmpeg_cleanup(), and new_audio_stream().

int OutputStream::audio_channels_mapped

Definition at line 458 of file ffmpeg.h.

Referenced by configure_output_audio_filter(), ffmpeg_cleanup(), and new_audio_stream().

char* OutputStream::logfile_prefix

Definition at line 460 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and new_video_stream().

FILE* OutputStream::logfile

Definition at line 461 of file ffmpeg.h.

Referenced by do_video_out(), flush_encoders(), new_video_stream(), and transcode().

OutputFilter* OutputStream::filter
char* OutputStream::avfilter
char* OutputStream::filters

filtergraph associated to the -filter option

Definition at line 465 of file ffmpeg.h.

Referenced by check_streamcopy_filters(), do_video_out(), get_ost_filters(), init_output_filter(), new_audio_stream(), and new_video_stream().

char* OutputStream::filters_script

filtergraph script associated to the -filter_script option

Definition at line 466 of file ffmpeg.h.

Referenced by check_streamcopy_filters(), do_video_out(), get_ost_filters(), init_output_filter(), new_audio_stream(), and new_video_stream().

AVDictionary* OutputStream::encoder_opts
AVDictionary* OutputStream::sws_dict
AVDictionary* OutputStream::swr_opts

Definition at line 470 of file ffmpeg.h.

Referenced by configure_filtergraph(), new_output_stream(), and transcode().

AVDictionary* OutputStream::resample_opts

Definition at line 471 of file ffmpeg.h.

Referenced by configure_filtergraph(), new_output_stream(), and transcode().

char* OutputStream::apad

Definition at line 472 of file ffmpeg.h.

Referenced by configure_output_audio_filter(), new_audio_stream(), and transcode().

OSTFinished OutputStream::finished
int OutputStream::unavailable

Definition at line 474 of file ffmpeg.h.

Referenced by choose_output(), transcode_from_filter(), and transcode_step().

int OutputStream::stream_copy
int OutputStream::initialized

Definition at line 480 of file ffmpeg.h.

Referenced by check_init_output_file().

const char* OutputStream::attachment_filename

Definition at line 482 of file ffmpeg.h.

Referenced by open_output_file(), and transcode_init().

int OutputStream::copy_initial_nonkeyframes

Definition at line 483 of file ffmpeg.h.

Referenced by do_streamcopy(), new_subtitle_stream(), and new_video_stream().

int OutputStream::copy_prior_start

Definition at line 484 of file ffmpeg.h.

Referenced by do_streamcopy(), and new_output_stream().

char* OutputStream::disposition

Definition at line 485 of file ffmpeg.h.

Referenced by new_output_stream(), transcode(), and transcode_init().

int OutputStream::keep_pix_fmt

Definition at line 487 of file ffmpeg.h.

Referenced by choose_pix_fmts(), and new_video_stream().

AVCodecParserContext* OutputStream::parser

Definition at line 489 of file ffmpeg.h.

Referenced by ffmpeg_cleanup().

AVCodecContext* OutputStream::parser_avctx

Definition at line 490 of file ffmpeg.h.

Referenced by ffmpeg_cleanup().

uint64_t OutputStream::data_size

Definition at line 494 of file ffmpeg.h.

Referenced by do_video_stats(), print_final_stats(), and write_packet().

int OutputStream::packets_written
uint64_t OutputStream::frames_encoded

Definition at line 498 of file ffmpeg.h.

Referenced by do_audio_out(), do_subtitle_out(), do_video_out(), and print_final_stats().

uint64_t OutputStream::samples_encoded

Definition at line 499 of file ffmpeg.h.

Referenced by do_audio_out(), and print_final_stats().

int OutputStream::quality

Definition at line 502 of file ffmpeg.h.

Referenced by do_video_stats(), print_report(), and write_packet().

int OutputStream::max_muxing_queue_size

Definition at line 504 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

AVFifoBuffer* OutputStream::muxing_queue

Definition at line 507 of file ffmpeg.h.

Referenced by check_init_output_file(), ffmpeg_cleanup(), new_output_stream(), and write_packet().

int OutputStream::pict_type

Definition at line 510 of file ffmpeg.h.

Referenced by do_video_stats(), print_report(), and write_packet().

int64_t OutputStream::error[4]

Definition at line 513 of file ffmpeg.h.

Referenced by do_video_stats(), print_report(), and write_packet().

AVFormatContext * OutputStream::ctx
int OutputStream::ctx_inited

Definition at line 64 of file dashenc.c.

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

uint8_t OutputStream::iobuf

Definition at line 65 of file dashenc.c.

Referenced by dash_init(), hds_write_header(), and ism_write_header().

AVIOContext * OutputStream::out
int OutputStream::packets_written

Definition at line 67 of file dashenc.c.

char OutputStream::initfile[1024]

Definition at line 68 of file dashenc.c.

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

int64_t OutputStream::init_start_pos

Definition at line 69 of file dashenc.c.

Referenced by dash_init(), and output_segment_list().

int OutputStream::init_range_length

Definition at line 70 of file dashenc.c.

Referenced by dash_flush(), and output_segment_list().

int OutputStream::nb_segments

Definition at line 71 of file dashenc.c.

Referenced by add_segment(), dash_flush(), dash_free(), output_segment_list(), and write_manifest().

int OutputStream::segments_size

Definition at line 71 of file dashenc.c.

Referenced by add_segment().

int OutputStream::segment_index

Definition at line 71 of file dashenc.c.

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

Segment** OutputStream::segments

Definition at line 72 of file dashenc.c.

Referenced by add_segment(), dash_flush(), dash_free(), output_segment_list(), and write_manifest().

int64_t OutputStream::start_pts

Definition at line 73 of file dashenc.c.

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

int64_t OutputStream::max_pts

Definition at line 73 of file dashenc.c.

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

int64_t OutputStream::last_dts

Definition at line 74 of file dashenc.c.

Referenced by dash_init(), and dash_write_packet().

int OutputStream::bit_rate

Definition at line 75 of file dashenc.c.

Referenced by dash_flush(), and dash_init().

char OutputStream::bandwidth_str[64]

Definition at line 76 of file dashenc.c.

Referenced by dash_init(), and write_manifest().

char OutputStream::codec_str[100]

Definition at line 78 of file dashenc.c.

Referenced by dash_init(), update_stream_extradata(), and write_manifest().

int OutputStream::bitrate

Definition at line 46 of file hdsenc.c.

Referenced by hds_write_header(), and write_manifest().

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().

char OutputStream::temp_filename[1024]

Definition at line 51 of file hdsenc.c.

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

int64_t OutputStream::frag_start_ts

Definition at line 52 of file hdsenc.c.

Referenced by hds_flush(), and hds_write_packet().

int64_t OutputStream::last_ts

Definition at line 52 of file hdsenc.c.

Referenced by hds_write_packet(), hds_write_trailer(), write_abst(), and write_manifest().

int OutputStream::nb_fragments
int OutputStream::fragments_size

Definition at line 55 of file hdsenc.c.

Referenced by add_fragment().

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().

Fragment ** OutputStream::fragments
int OutputStream::has_audio

Definition at line 58 of file hdsenc.c.

Referenced by hds_write_header().

int OutputStream::has_video

Definition at line 58 of file hdsenc.c.

Referenced by hds_write_header(), and hds_write_packet().

uint8_t* OutputStream::metadata

Definition at line 60 of file hdsenc.c.

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

int OutputStream::metadata_size

Definition at line 61 of file hdsenc.c.

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

uint8_t* OutputStream::extra_packets[2]

Definition at line 63 of file hdsenc.c.

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

int OutputStream::extra_packet_sizes[2]

Definition at line 64 of file hdsenc.c.

Referenced by init_file(), and parse_header().

int OutputStream::nb_extra_packets

Definition at line 65 of file hdsenc.c.

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

char OutputStream::dirname[1024]

Definition at line 53 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

URLContext* OutputStream::out

Definition at line 55 of file smoothstreamingenc.c.

URLContext* OutputStream::out2

Definition at line 56 of file smoothstreamingenc.c.

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

URLContext* OutputStream::tail_out

Definition at line 57 of file smoothstreamingenc.c.

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

int64_t OutputStream::tail_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write().

int64_t OutputStream::cur_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_seek(), and ism_write().

int64_t OutputStream::cur_start_pos

Definition at line 58 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_seek().

const char* OutputStream::stream_type_tag

Definition at line 60 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

const char* OutputStream::fourcc

Definition at line 64 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

char* OutputStream::private_str

Definition at line 65 of file smoothstreamingenc.c.

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

int OutputStream::packet_size

Definition at line 66 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

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: