FFmpeg  4.0
Data Fields
OutputStream Struct Reference

#include <fftools/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

◆ st

AVStream * OutputStream::st

◆ enc [1/2]

AVCodecContext* OutputStream::enc

◆ next_pts

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

◆ samples_count

int OutputStream::samples_count
Examples:
muxing.c.

Definition at line 59 of file muxing.c.

Referenced by write_audio_frame().

◆ frame

AVFrame* OutputStream::frame

◆ tmp_frame

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

Definition at line 62 of file muxing.c.

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

◆ t

float OutputStream::t
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by get_audio_frame(), and open_audio().

◆ tincr

float OutputStream::tincr
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by get_audio_frame(), and open_audio().

◆ tincr2

float OutputStream::tincr2
Examples:
muxing.c.

Definition at line 64 of file muxing.c.

Referenced by get_audio_frame(), and open_audio().

◆ sws_ctx

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

Definition at line 66 of file muxing.c.

Referenced by close_stream(), and get_video_frame().

◆ swr_ctx

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

◆ file_index

int OutputStream::file_index

◆ index

int OutputStream::index

◆ source_index

int OutputStream::source_index

◆ encoding_needed

int OutputStream::encoding_needed

◆ frame_number

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

◆ sync_ist

struct InputStream* OutputStream::sync_ist

Definition at line 451 of file ffmpeg.h.

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

◆ sync_opts

int64_t OutputStream::sync_opts

◆ first_pts

int64_t OutputStream::first_pts

◆ last_mux_dts

int64_t OutputStream::last_mux_dts

Definition at line 457 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

◆ mux_timebase

AVRational OutputStream::mux_timebase

◆ enc_timebase

AVRational OutputStream::enc_timebase

Definition at line 460 of file ffmpeg.h.

Referenced by init_encoder_time_base(), and new_output_stream().

◆ nb_bitstream_filters

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

◆ bsf_ctx

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

◆ enc_ctx

AVCodecContext* OutputStream::enc_ctx

◆ ref_par

AVCodecParameters* OutputStream::ref_par

Definition at line 466 of file ffmpeg.h.

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

◆ 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.

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

◆ filtered_frame

AVFrame* OutputStream::filtered_frame

Definition at line 469 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and reap_filters().

◆ last_frame

AVFrame* OutputStream::last_frame

Definition at line 470 of file ffmpeg.h.

Referenced by do_video_out(), and ffmpeg_cleanup().

◆ last_dropped

int OutputStream::last_dropped

Definition at line 471 of file ffmpeg.h.

Referenced by do_video_out(), and print_report().

◆ last_nb0_frames

int OutputStream::last_nb0_frames[3]

Definition at line 472 of file ffmpeg.h.

Referenced by do_video_out().

◆ hwaccel_ctx

void* OutputStream::hwaccel_ctx

Definition at line 474 of file ffmpeg.h.

◆ frame_rate

AVRational OutputStream::frame_rate

◆ is_cfr

int OutputStream::is_cfr

Definition at line 478 of file ffmpeg.h.

Referenced by do_video_out(), and write_packet().

◆ force_fps

int OutputStream::force_fps

Definition at line 479 of file ffmpeg.h.

Referenced by init_output_stream_encode(), and new_video_stream().

◆ top_field_first

int OutputStream::top_field_first

Definition at line 480 of file ffmpeg.h.

Referenced by do_video_out(), and new_video_stream().

◆ rotate_overridden

int OutputStream::rotate_overridden

Definition at line 481 of file ffmpeg.h.

Referenced by init_output_stream_streamcopy(), and open_output_file().

◆ rotate_override_value

double OutputStream::rotate_override_value

Definition at line 482 of file ffmpeg.h.

Referenced by init_output_stream_streamcopy(), and open_output_file().

◆ frame_aspect_ratio

AVRational OutputStream::frame_aspect_ratio

◆ forced_kf_pts

int64_t* OutputStream::forced_kf_pts

◆ forced_kf_count

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

◆ forced_kf_index

int OutputStream::forced_kf_index

Definition at line 489 of file ffmpeg.h.

Referenced by do_video_out().

◆ forced_keyframes

char* OutputStream::forced_keyframes

◆ forced_keyframes_pexpr

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

◆ forced_keyframes_expr_const_values

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

◆ audio_channels_map

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

◆ audio_channels_mapped

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

◆ logfile_prefix

char* OutputStream::logfile_prefix

Definition at line 498 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and new_video_stream().

◆ logfile

FILE* OutputStream::logfile

Definition at line 499 of file ffmpeg.h.

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

◆ filter

OutputFilter* OutputStream::filter

◆ avfilter

char* OutputStream::avfilter

◆ filters

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

◆ filters_script

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

◆ encoder_opts

AVDictionary* OutputStream::encoder_opts

◆ sws_dict

AVDictionary* OutputStream::sws_dict

◆ swr_opts

AVDictionary* OutputStream::swr_opts

Definition at line 508 of file ffmpeg.h.

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

◆ resample_opts

AVDictionary* OutputStream::resample_opts

Definition at line 509 of file ffmpeg.h.

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

◆ apad

char* OutputStream::apad

Definition at line 510 of file ffmpeg.h.

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

◆ finished

OSTFinished OutputStream::finished

◆ unavailable

int OutputStream::unavailable

Definition at line 512 of file ffmpeg.h.

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

◆ stream_copy

int OutputStream::stream_copy

◆ initialized

int OutputStream::initialized

◆ inputs_done

int OutputStream::inputs_done

Definition at line 520 of file ffmpeg.h.

Referenced by choose_output(), and transcode_step().

◆ attachment_filename

const char* OutputStream::attachment_filename

Definition at line 522 of file ffmpeg.h.

Referenced by open_output_file(), and transcode_init().

◆ copy_initial_nonkeyframes

int OutputStream::copy_initial_nonkeyframes

Definition at line 523 of file ffmpeg.h.

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

◆ copy_prior_start

int OutputStream::copy_prior_start

Definition at line 524 of file ffmpeg.h.

Referenced by do_streamcopy(), and new_output_stream().

◆ disposition

char* OutputStream::disposition

Definition at line 525 of file ffmpeg.h.

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

◆ keep_pix_fmt

int OutputStream::keep_pix_fmt

Definition at line 527 of file ffmpeg.h.

Referenced by choose_pix_fmts(), and new_video_stream().

◆ data_size

uint64_t OutputStream::data_size

Definition at line 531 of file ffmpeg.h.

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

◆ packets_written [1/2]

int OutputStream::packets_written

◆ frames_encoded

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

◆ samples_encoded

uint64_t OutputStream::samples_encoded

Definition at line 536 of file ffmpeg.h.

Referenced by do_audio_out(), and print_final_stats().

◆ quality

int OutputStream::quality

Definition at line 539 of file ffmpeg.h.

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

◆ max_muxing_queue_size

int OutputStream::max_muxing_queue_size

Definition at line 541 of file ffmpeg.h.

Referenced by new_output_stream(), and write_packet().

◆ muxing_queue

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

◆ pict_type

int OutputStream::pict_type

Definition at line 547 of file ffmpeg.h.

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

◆ error

int64_t OutputStream::error[4]

Definition at line 550 of file ffmpeg.h.

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

◆ ctx

AVFormatContext * OutputStream::ctx

◆ ctx_inited

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

◆ as_idx

int OutputStream::as_idx

◆ out [1/2]

AVIOContext * OutputStream::out

◆ format_name

char OutputStream::format_name[8]

Definition at line 71 of file dashenc.c.

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

◆ packets_written [2/2]

int OutputStream::packets_written

Definition at line 72 of file dashenc.c.

◆ initfile

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

◆ init_start_pos

int64_t OutputStream::init_start_pos

Definition at line 74 of file dashenc.c.

Referenced by dash_init(), and output_segment_list().

◆ pos

int64_t OutputStream::pos

Definition at line 74 of file dashenc.c.

Referenced by dash_flush(), and flush_init_segment().

◆ init_range_length

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

◆ nb_segments

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

◆ segments_size

int OutputStream::segments_size

Definition at line 76 of file dashenc.c.

Referenced by add_segment().

◆ segment_index

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

◆ segments

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

◆ start_pts

int64_t OutputStream::start_pts

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

Referenced by dash_init(), and dash_write_packet().

◆ bit_rate

int OutputStream::bit_rate

Definition at line 80 of file dashenc.c.

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

◆ bandwidth_str

char OutputStream::bandwidth_str[64]

Definition at line 81 of file dashenc.c.

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

◆ codec_str

char OutputStream::codec_str[100]

Definition at line 83 of file dashenc.c.

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

◆ written_len

int OutputStream::written_len

Definition at line 84 of file dashenc.c.

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

◆ filename

char OutputStream::filename[1024]
Examples:
muxing.c.

Definition at line 85 of file dashenc.c.

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

◆ full_path

char OutputStream::full_path[1024]

Definition at line 86 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ temp_path

char OutputStream::temp_path[1024]

Definition at line 87 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

◆ 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(), hds_write_trailer(), write_abst(), and write_manifest().

◆ 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(), 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: