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
 
AVRational mux_timebase
 
AVRational enc_timebase
 
int nb_bitstream_filters
 
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
 
double rotate_override_value
 
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]
 
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
 
char format_name [8]
 
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
 
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 written_len
 
char filename [1024]
 
char full_path [1024]
 
char temp_path [1024]
 
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

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 448 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 451 of file ffmpeg.h.

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

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

Definition at line 457 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

AVRational OutputStream::mux_timebase
AVRational OutputStream::enc_timebase

Definition at line 460 of file ffmpeg.h.

Referenced by init_encoder_time_base(), and new_output_stream().

int OutputStream::nb_bitstream_filters

Definition at line 462 of file ffmpeg.h.

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

AVBSFContext** OutputStream::bsf_ctx

Definition at line 463 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 466 of file ffmpeg.h.

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

AVCodec* OutputStream::enc

Definition at line 467 of file ffmpeg.h.

int64_t OutputStream::max_frames

Definition at line 468 of file ffmpeg.h.

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

AVFrame* OutputStream::filtered_frame

Definition at line 469 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and reap_filters().

AVFrame* OutputStream::last_frame

Definition at line 470 of file ffmpeg.h.

Referenced by do_video_out(), and ffmpeg_cleanup().

int OutputStream::last_dropped

Definition at line 471 of file ffmpeg.h.

Referenced by do_video_out(), and print_report().

int OutputStream::last_nb0_frames[3]

Definition at line 472 of file ffmpeg.h.

Referenced by do_video_out().

void* OutputStream::hwaccel_ctx

Definition at line 474 of file ffmpeg.h.

AVRational OutputStream::frame_rate
int OutputStream::is_cfr

Definition at line 478 of file ffmpeg.h.

Referenced by do_video_out(), and write_packet().

int OutputStream::force_fps

Definition at line 479 of file ffmpeg.h.

Referenced by init_output_stream_encode(), and new_video_stream().

int OutputStream::top_field_first

Definition at line 480 of file ffmpeg.h.

Referenced by do_video_out(), and new_video_stream().

int OutputStream::rotate_overridden

Definition at line 481 of file ffmpeg.h.

Referenced by open_output_file().

double OutputStream::rotate_override_value

Definition at line 482 of file ffmpeg.h.

Referenced by open_output_file().

AVRational OutputStream::frame_aspect_ratio

Definition at line 484 of file ffmpeg.h.

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

int64_t* OutputStream::forced_kf_pts
int OutputStream::forced_kf_count

Definition at line 488 of file ffmpeg.h.

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

int OutputStream::forced_kf_index

Definition at line 489 of file ffmpeg.h.

Referenced by do_video_out().

char* OutputStream::forced_keyframes
AVExpr* OutputStream::forced_keyframes_pexpr

Definition at line 491 of file ffmpeg.h.

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

double OutputStream::forced_keyframes_expr_const_values[FKF_NB]

Definition at line 492 of file ffmpeg.h.

Referenced by do_video_out(), and init_output_stream_encode().

int* OutputStream::audio_channels_map

Definition at line 495 of file ffmpeg.h.

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

int OutputStream::audio_channels_mapped

Definition at line 496 of file ffmpeg.h.

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

char* OutputStream::logfile_prefix

Definition at line 498 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and new_video_stream().

FILE* OutputStream::logfile

Definition at line 499 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 503 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 504 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 508 of file ffmpeg.h.

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

AVDictionary* OutputStream::resample_opts

Definition at line 509 of file ffmpeg.h.

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

char* OutputStream::apad

Definition at line 510 of file ffmpeg.h.

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

OSTFinished OutputStream::finished
int OutputStream::unavailable

Definition at line 512 of file ffmpeg.h.

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

int OutputStream::stream_copy
int OutputStream::initialized
int OutputStream::inputs_done

Definition at line 520 of file ffmpeg.h.

Referenced by choose_output(), and transcode_step().

const char* OutputStream::attachment_filename

Definition at line 522 of file ffmpeg.h.

Referenced by open_output_file(), and transcode_init().

int OutputStream::copy_initial_nonkeyframes

Definition at line 523 of file ffmpeg.h.

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

int OutputStream::copy_prior_start

Definition at line 524 of file ffmpeg.h.

Referenced by do_streamcopy(), and new_output_stream().

char* OutputStream::disposition

Definition at line 525 of file ffmpeg.h.

Referenced by new_output_stream(), and transcode().

int OutputStream::keep_pix_fmt

Definition at line 527 of file ffmpeg.h.

Referenced by choose_pix_fmts(), and new_video_stream().

uint64_t OutputStream::data_size

Definition at line 531 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 535 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 536 of file ffmpeg.h.

Referenced by do_audio_out(), and print_final_stats().

int OutputStream::quality

Definition at line 539 of file ffmpeg.h.

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

int OutputStream::max_muxing_queue_size

Definition at line 541 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

AVFifoBuffer* OutputStream::muxing_queue

Definition at line 544 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 547 of file ffmpeg.h.

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

int64_t OutputStream::error[4]

Definition at line 550 of file ffmpeg.h.

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

AVFormatContext * OutputStream::ctx
int OutputStream::ctx_inited

Definition at line 69 of file dashenc.c.

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

int OutputStream::as_idx
AVIOContext * OutputStream::out
char OutputStream::format_name[8]
int OutputStream::packets_written

Definition at line 72 of file dashenc.c.

char OutputStream::initfile[1024]

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

Referenced by dash_init(), and output_segment_list().

int64_t OutputStream::pos

Definition at line 74 of file dashenc.c.

Referenced by dash_flush(), and flush_init_segment().

int OutputStream::init_range_length

Definition at line 75 of file dashenc.c.

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

int OutputStream::nb_segments

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

Referenced by add_segment().

int OutputStream::segment_index

Definition at line 76 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 77 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 78 of file dashenc.c.

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

int64_t OutputStream::max_pts

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

Referenced by dash_init(), and dash_write_packet().

int OutputStream::bit_rate

Definition at line 80 of file dashenc.c.

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

char OutputStream::bandwidth_str[64]

Definition at line 81 of file dashenc.c.

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

char OutputStream::codec_str[100]

Definition at line 83 of file dashenc.c.

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

int OutputStream::written_len

Definition at line 84 of file dashenc.c.

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

char OutputStream::filename[1024]

Definition at line 85 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

char OutputStream::full_path[1024]

Definition at line 86 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

char OutputStream::temp_path[1024]

Definition at line 87 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

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

uint8_t OutputStream::iobuf

Definition at line 50 of file hdsenc.c.

Referenced by hds_write_header(), and ism_write_header().

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: