FFmpeg
Data Fields
OutputStream Struct Reference

#include <ffmpeg.h>

Data Fields

AVStreamst
 
 
 
 
 
 
 
float  t
 
 
 
struct SwsContextsws_ctx
 
struct SwrContextswr_ctx
 
const AVClassclass
 
enum AVMediaType  type
 
struct OutputFilefile
 
int  index
 
  Codec parameters for packets submitted to the muxer (i.e. More...
 
 
Encoderenc
 
 
 
 
int  force_fps
 
 
int  bitexact
 
 
 
 
const char *  logfile_prefix
 
FILE *  logfile
 
 
 
 
 
uint64_t  frames_encoded
 
uint64_t  samples_encoded
 
 
 
 
 
 
int  ctx_inited
 
int  as_idx
 
 
 
 
 
char  initfile [1024]
 
 
 
 
int  nb_segments
 
 
 
 
 
 
 
 
 
 
 
 
int  last_flags
 
int  bit_rate
 
 
 
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]
 
 
 
 
 
 
 
int  frag_type
 
 
 
 
int  bitrate
 
int  first_stream
 
uint8_t  iobuf [32768]
 
char  temp_filename [1024]
 
 
 
int  nb_fragments
 
 
 
 
int  has_audio
 
int  has_video
 
uint8_t *  metadata
 
 
uint8_t *  extra_packets [2]
 
 
 
 
 
 
 
 
 
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.

enc [1/2]

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

Referenced by mux_stream_alloc().

type

enum AVMediaType OutputStream::type

Definition at line 590 of file ffmpeg.h.

Referenced by create_streams(), and mux_stream_alloc().

file

struct OutputFile* OutputStream::file

Definition at line 593 of file ffmpeg.h.

Referenced by mux_stream_alloc(), and ost_iter().

index

int OutputStream::index

Definition at line 595 of file ffmpeg.h.

Referenced by mux_stream_alloc(), ost_add(), and ost_iter().

par_in

AVCodecParameters* OutputStream::par_in

Codec parameters for packets submitted to the muxer (i.e.

before bitstream filtering, if any).

Definition at line 601 of file ffmpeg.h.

ist

InputStream* OutputStream::ist

Definition at line 606 of file ffmpeg.h.

enc [2/2]

Encoder* OutputStream::enc

Definition at line 610 of file ffmpeg.h.

enc_ctx

AVCodecContext* OutputStream::enc_ctx

Definition at line 611 of file ffmpeg.h.

frame_rate

AVRational OutputStream::frame_rate

Definition at line 614 of file ffmpeg.h.

max_frame_rate

AVRational OutputStream::max_frame_rate

Definition at line 615 of file ffmpeg.h.

force_fps

int OutputStream::force_fps

Definition at line 616 of file ffmpeg.h.

top_field_first

int OutputStream::top_field_first

Definition at line 618 of file ffmpeg.h.

bitexact

int OutputStream::bitexact

Definition at line 620 of file ffmpeg.h.

bits_per_raw_sample

int OutputStream::bits_per_raw_sample

Definition at line 621 of file ffmpeg.h.

frame_aspect_ratio

AVRational OutputStream::frame_aspect_ratio

Definition at line 623 of file ffmpeg.h.

kf

KeyframeForceCtx OutputStream::kf

Definition at line 625 of file ffmpeg.h.

logfile_prefix

const char* OutputStream::logfile_prefix

Definition at line 627 of file ffmpeg.h.

logfile

FILE* OutputStream::logfile

Definition at line 628 of file ffmpeg.h.

fg_simple

FilterGraph* OutputStream::fg_simple

Definition at line 631 of file ffmpeg.h.

filter

OutputFilter* OutputStream::filter

Definition at line 632 of file ffmpeg.h.

Referenced by create_streams().

attachment_filename

char* OutputStream::attachment_filename

Definition at line 634 of file ffmpeg.h.

packets_written [1/2]

int OutputStream::packets_written

Definition at line 638 of file ffmpeg.h.

Referenced by dash_flush(), dash_write_packet(), hds_flush(), hds_write_packet(), ism_flush(), and ism_write_packet().

frames_encoded

uint64_t OutputStream::frames_encoded

Definition at line 640 of file ffmpeg.h.

samples_encoded

uint64_t OutputStream::samples_encoded

Definition at line 641 of file ffmpeg.h.

quality

atomic_int OutputStream::quality

Definition at line 644 of file ffmpeg.h.

enc_stats_pre

EncStats OutputStream::enc_stats_pre

Definition at line 646 of file ffmpeg.h.

enc_stats_post

EncStats OutputStream::enc_stats_post

Definition at line 647 of file ffmpeg.h.

fix_sub_duration_heartbeat

unsigned int OutputStream::fix_sub_duration_heartbeat

Definition at line 653 of file ffmpeg.h.

ctx

AVFormatContext * OutputStream::ctx

Definition at line 107 of file dashenc.c.

Referenced by dash_check_bitstream(), dash_flush(), dash_free(), dash_init(), dash_write_header(), dash_write_packet(), flush_dynbuf(), get_private_data(), hds_flush(), hds_free(), hds_write_header(), hds_write_packet(), ism_flush(), ism_free(), ism_seek(), ism_write_header(), ism_write_packet(), output_segment_list(), update_stream_extradata(), and write_hls_media_playlist().

ctx_inited

int OutputStream::ctx_inited

Definition at line 108 of file dashenc.c.

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

as_idx

int OutputStream::as_idx

Definition at line 108 of file dashenc.c.

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

out [1/2]

AVIOContext * OutputStream::out

Definition at line 109 of file dashenc.c.

Referenced by close_file(), dash_flush(), dash_free(), dash_init(), dash_write_packet(), flush_dynbuf(), flush_init_segment(), hds_free(), hds_write(), init_file(), ism_flush(), ism_free(), ism_seek(), and ism_write().

parser

AVCodecParserContext* OutputStream::parser

Definition at line 110 of file dashenc.c.

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

parser_avctx

AVCodecContext* OutputStream::parser_avctx

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

initfile

char OutputStream::initfile[1024]

Definition at line 113 of file dashenc.c.

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

init_start_pos

int64_t OutputStream::init_start_pos

Definition at line 114 of file dashenc.c.

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

pos

int64_t OutputStream::pos

Definition at line 114 of file dashenc.c.

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

init_range_length

int OutputStream::init_range_length

Definition at line 115 of file dashenc.c.

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

nb_segments

int OutputStream::nb_segments

Definition at line 116 of file dashenc.c.

Referenced by add_segment(), dash_flush(), dash_free(), dash_write_packet(), dash_write_trailer(), dashenc_delete_media_segments(), get_start_index_number(), output_segment_list(), write_hls_media_playlist(), and write_manifest().

segments_size

int OutputStream::segments_size

Definition at line 116 of file dashenc.c.

Referenced by add_segment().

segment_index

int OutputStream::segment_index

Definition at line 116 of file dashenc.c.

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

seg_duration

int64_t OutputStream::seg_duration

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

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

segments

Segment** OutputStream::segments

Definition at line 120 of file dashenc.c.

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

first_pts

int64_t OutputStream::first_pts

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

Referenced by dash_init(), and dash_write_packet().

last_pts

int64_t OutputStream::last_pts

Definition at line 122 of file dashenc.c.

Referenced by dash_write_packet().

last_flags

int OutputStream::last_flags

Definition at line 123 of file dashenc.c.

Referenced by dash_write_packet().

bit_rate

int OutputStream::bit_rate

Definition at line 124 of file dashenc.c.

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

first_segment_bit_rate

int OutputStream::first_segment_bit_rate

Definition at line 125 of file dashenc.c.

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

segment_type

SegmentType OutputStream::segment_type

Definition at line 126 of file dashenc.c.

Referenced by dash_flush(), dash_init(), dash_write_header(), dash_write_packet(), dash_write_trailer(), init_segment_types(), write_hls_media_playlist(), and write_manifest().

format_name

const char* OutputStream::format_name

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

Referenced by dash_init(), and init_segment_types().

single_file_name

const char* OutputStream::single_file_name

Definition at line 129 of file dashenc.c.

Referenced by dash_free(), and dash_init().

init_seg_name

const char* OutputStream::init_seg_name

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

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

codec_str

char OutputStream::codec_str[100]

Definition at line 133 of file dashenc.c.

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

written_len

int OutputStream::written_len

Definition at line 134 of file dashenc.c.

Referenced by dash_write_packet(), and flush_dynbuf().

filename

char OutputStream::filename[1024]

Definition at line 135 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

full_path

char OutputStream::full_path[1024]

Definition at line 136 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

temp_path

char OutputStream::temp_path[1024]

Definition at line 137 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

availability_time_offset

double OutputStream::availability_time_offset

Definition at line 138 of file dashenc.c.

Referenced by dash_write_packet(), and output_segment_list().

producer_reference_time

AVProducerReferenceTime OutputStream::producer_reference_time

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

Referenced by dash_write_packet(), and write_adaptation_set().

total_pkt_size

int OutputStream::total_pkt_size

Definition at line 141 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

total_pkt_duration

int64_t OutputStream::total_pkt_duration

Definition at line 142 of file dashenc.c.

Referenced by dash_flush(), and dash_write_packet().

muxer_overhead

int OutputStream::muxer_overhead

Definition at line 143 of file dashenc.c.

Referenced by dash_flush(), and write_manifest().

frag_type

int OutputStream::frag_type

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

Referenced by dash_write_packet(), and write_adaptation_set().

sar

AVRational OutputStream::sar

Definition at line 146 of file dashenc.c.

Referenced by dash_init(), and write_adaptation_set().

coding_dependency

int OutputStream::coding_dependency

Definition at line 147 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

Definition at line 55 of file hdsenc.c.

Referenced by add_fragment(), hds_flush(), hds_free(), ism_flush(), ism_free(), ism_seek(), output_chunk_list(), write_abst(), and write_manifest().

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

Definition at line 56 of file hdsenc.c.

Referenced by add_fragment(), hds_flush(), hds_free(), ism_flush(), ism_free(), ism_seek(), output_chunk_list(), write_abst(), and write_manifest().

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

out [2/2]

URLContext* OutputStream::out

Definition at line 50 of file smoothstreamingenc.c.

out2

URLContext* OutputStream::out2

Definition at line 51 of file smoothstreamingenc.c.

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

tail_out

URLContext* OutputStream::tail_out

Definition at line 52 of file smoothstreamingenc.c.

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

tail_pos

int64_t OutputStream::tail_pos

Definition at line 53 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write().

cur_pos

int64_t OutputStream::cur_pos

Definition at line 53 of file smoothstreamingenc.c.

Referenced by ism_seek(), and ism_write().

cur_start_pos

int64_t OutputStream::cur_start_pos

Definition at line 53 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_seek().

stream_type_tag

const char* OutputStream::stream_type_tag

Definition at line 55 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().

fourcc

const char* OutputStream::fourcc

Definition at line 59 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

private_str

char* OutputStream::private_str

Definition at line 60 of file smoothstreamingenc.c.

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

packet_size

int OutputStream::packet_size

Definition at line 61 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

audio_tag

int OutputStream::audio_tag

Definition at line 62 of file smoothstreamingenc.c.

Referenced by ism_write_header(), and write_manifest().

dirname

char OutputStream::dirname[1024]

Definition at line 63 of file smoothstreamingenc.c.

Referenced by ism_flush(), and ism_write_header().


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

Generated on Fri Aug 22 2025 14:00:25 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /