FFmpeg
Data Structures | Data Fields
InputStream Struct Reference

#include <ffmpeg.h>

Data Structures

struct  sub2video
 

Data Fields

int file_index
 
AVStreamst
 
int discard
 
int user_set_discard
 
int decoding_needed
 
int processing_needed
 
int want_frame_data
 
AVCodecParameterspar
 Codec parameters - to be used by the decoding/streamcopy code. More...
 
AVCodecContextdec_ctx
 
const AVCodecdec
 
AVFramedecoded_frame
 
AVPacketpkt
 
AVRational framerate_guessed
 
int64_t prev_pkt_pts
 
int64_t start
 
int64_t next_dts
 
int64_t first_dts
 dts of the first packet read for this stream (in AV_TIME_BASE units) More...
 
int64_t dts
 dts of the last packet read for this stream (in AV_TIME_BASE units) More...
 
int64_t next_pts
 synthetic pts for the next decode frame (in AV_TIME_BASE units) More...
 
int64_t pts
 current pts of the decoded frame (in AV_TIME_BASE units) More...
 
int wrap_correction_done
 
int last_pkt_repeat_pict
 
int64_t filter_in_rescale_delta_last
 
int64_t min_pts
 
int64_t max_pts
 
int64_t cfr_next_pts
 
int64_t nb_samples
 
double ts_scale
 
int saw_first_ts
 
AVDictionarydecoder_opts
 
AVRational framerate
 
int top_field_first
 
int guess_layout_max
 
int autorotate
 
int fix_sub_duration
 
struct {
   int   got_output
 
   int   ret
 
   AVSubtitle   subtitle
 
prev_sub
 
struct InputStream::sub2video sub2video
 
InputFilter ** filters
 
int nb_filters
 
int reinit_filters
 
enum HWAccelID hwaccel_id
 
enum AVHWDeviceType hwaccel_device_type
 
char * hwaccel_device
 
enum AVPixelFormat hwaccel_output_format
 
int(* hwaccel_retrieve_data )(AVCodecContext *s, AVFrame *frame)
 
enum AVPixelFormat hwaccel_pix_fmt
 
uint64_t data_size
 
uint64_t nb_packets
 
uint64_t frames_decoded
 
uint64_t samples_decoded
 
int64_t * dts_buffer
 
int nb_dts_buffer
 

Detailed Description

Definition at line 335 of file ffmpeg.h.

Field Documentation

◆ file_index

int InputStream::file_index

◆ st

AVStream * InputStream::st

◆ discard

int InputStream::discard

Definition at line 338 of file ffmpeg.h.

Referenced by add_input_streams(), init_input_filter(), process_input(), and transcode_init().

◆ user_set_discard

int InputStream::user_set_discard

◆ decoding_needed

int InputStream::decoding_needed

◆ processing_needed

int InputStream::processing_needed

Definition at line 343 of file ffmpeg.h.

Referenced by decode_flush(), init_input_filter(), of_open(), and process_input().

◆ want_frame_data

int InputStream::want_frame_data

Definition at line 345 of file ffmpeg.h.

Referenced by decode().

◆ par

AVCodecParameters* InputStream::par

Codec parameters - to be used by the decoding/streamcopy code.

st->codecpar should not be accessed, because it may be modified concurrently by the demuxing thread.

Definition at line 352 of file ffmpeg.h.

Referenced by add_input_streams(), decode_flush(), decode_video(), do_streamcopy(), flush_encoders(), ifilter_parameters_from_codecpar(), ifilter_send_eof(), ifilter_send_frame(), init_output_stream_streamcopy(), ist_free(), print_final_stats(), process_input(), process_input_packet(), ts_discontinuity_detect(), and ts_discontinuity_process().

◆ dec_ctx

AVCodecContext * InputStream::dec_ctx

◆ dec

const AVCodec* InputStream::dec

◆ decoded_frame

AVFrame* InputStream::decoded_frame

◆ pkt

AVPacket* InputStream::pkt

Definition at line 356 of file ffmpeg.h.

Referenced by add_input_streams(), ist_free(), and process_input_packet().

◆ framerate_guessed

AVRational InputStream::framerate_guessed

Definition at line 358 of file ffmpeg.h.

Referenced by add_input_streams(), and configure_input_video_filter().

◆ prev_pkt_pts

int64_t InputStream::prev_pkt_pts

Definition at line 360 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

◆ start

int64_t InputStream::start

Definition at line 361 of file ffmpeg.h.

Referenced by ifile_get_packet().

◆ next_dts

int64_t InputStream::next_dts

◆ first_dts

int64_t InputStream::first_dts

dts of the first packet read for this stream (in AV_TIME_BASE units)

Definition at line 365 of file ffmpeg.h.

Referenced by add_input_streams(), do_video_out(), ifile_get_packet(), and process_input_packet().

◆ dts

int64_t InputStream::dts

dts of the last packet read for this stream (in AV_TIME_BASE units)

Definition at line 366 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), do_streamcopy(), ifile_get_packet(), process_input_packet(), and ts_discontinuity_detect().

◆ next_pts

int64_t InputStream::next_pts

synthetic pts for the next decode frame (in AV_TIME_BASE units)

Definition at line 368 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), init_input_stream(), and process_input_packet().

◆ pts

int64_t InputStream::pts

current pts of the decoded frame (in AV_TIME_BASE units)

Definition at line 369 of file ffmpeg.h.

Referenced by check_output_constraints(), decode_video(), do_streamcopy(), process_input_packet(), send_filter_eof(), and ts_discontinuity_detect().

◆ wrap_correction_done

int InputStream::wrap_correction_done

Definition at line 370 of file ffmpeg.h.

Referenced by ts_fixup().

◆ last_pkt_repeat_pict

int InputStream::last_pkt_repeat_pict

Definition at line 376 of file ffmpeg.h.

Referenced by ifile_get_packet(), and process_input_packet().

◆ filter_in_rescale_delta_last

int64_t InputStream::filter_in_rescale_delta_last

Definition at line 378 of file ffmpeg.h.

Referenced by add_input_streams(), decode_audio(), and do_streamcopy().

◆ min_pts

int64_t InputStream::min_pts

Definition at line 380 of file ffmpeg.h.

Referenced by add_input_streams(), ifile_duration_update(), and ts_fixup().

◆ max_pts

int64_t InputStream::max_pts

Definition at line 381 of file ffmpeg.h.

Referenced by add_input_streams(), ifile_duration_update(), and ts_fixup().

◆ cfr_next_pts

int64_t InputStream::cfr_next_pts

Definition at line 385 of file ffmpeg.h.

Referenced by decode_video().

◆ nb_samples

int64_t InputStream::nb_samples

Definition at line 387 of file ffmpeg.h.

Referenced by add_input_streams(), decode_audio(), and decode_flush().

◆ ts_scale

double InputStream::ts_scale

Definition at line 389 of file ffmpeg.h.

Referenced by add_input_streams(), and ts_fixup().

◆ saw_first_ts

int InputStream::saw_first_ts

Definition at line 390 of file ffmpeg.h.

Referenced by process_input_packet().

◆ decoder_opts

AVDictionary* InputStream::decoder_opts

Definition at line 391 of file ffmpeg.h.

Referenced by add_input_streams(), init_input_stream(), and ist_free().

◆ framerate

AVRational InputStream::framerate

◆ top_field_first

int InputStream::top_field_first

Definition at line 393 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

◆ guess_layout_max

int InputStream::guess_layout_max

Definition at line 394 of file ffmpeg.h.

Referenced by add_input_streams(), and guess_input_channel_layout().

◆ autorotate

int InputStream::autorotate

Definition at line 396 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), and init_output_stream().

◆ fix_sub_duration

int InputStream::fix_sub_duration

Definition at line 398 of file ffmpeg.h.

Referenced by add_input_streams(), fix_sub_duration_heartbeat(), and process_subtitle().

◆ got_output

int InputStream::got_output

◆ ret

int InputStream::ret

Definition at line 401 of file ffmpeg.h.

Referenced by process_subtitle().

◆ subtitle

AVSubtitle InputStream::subtitle

◆ prev_sub

struct { ... } InputStream::prev_sub

◆ sub2video

◆ filters

InputFilter** InputStream::filters

◆ nb_filters

int InputStream::nb_filters

◆ reinit_filters

int InputStream::reinit_filters

Definition at line 419 of file ffmpeg.h.

Referenced by add_input_streams(), and ifilter_send_frame().

◆ hwaccel_id

enum HWAccelID InputStream::hwaccel_id

Definition at line 422 of file ffmpeg.h.

Referenced by add_input_streams(), get_format(), and hw_device_setup_for_decode().

◆ hwaccel_device_type

enum AVHWDeviceType InputStream::hwaccel_device_type

Definition at line 423 of file ffmpeg.h.

Referenced by add_input_streams(), get_format(), and hw_device_setup_for_decode().

◆ hwaccel_device

char* InputStream::hwaccel_device

Definition at line 424 of file ffmpeg.h.

Referenced by add_input_streams(), hw_device_setup_for_decode(), and ist_free().

◆ hwaccel_output_format

enum AVPixelFormat InputStream::hwaccel_output_format

Definition at line 425 of file ffmpeg.h.

Referenced by add_input_streams(), and hwaccel_retrieve_data().

◆ hwaccel_retrieve_data

int(* InputStream::hwaccel_retrieve_data) (AVCodecContext *s, AVFrame *frame)

Definition at line 427 of file ffmpeg.h.

Referenced by decode_video(), and hwaccel_decode_init().

◆ hwaccel_pix_fmt

enum AVPixelFormat InputStream::hwaccel_pix_fmt

Definition at line 428 of file ffmpeg.h.

Referenced by add_input_streams(), decode_video(), and get_format().

◆ data_size

uint64_t InputStream::data_size

Definition at line 432 of file ffmpeg.h.

Referenced by print_final_stats(), and process_input().

◆ nb_packets

uint64_t InputStream::nb_packets

Definition at line 434 of file ffmpeg.h.

Referenced by ifile_get_packet(), print_final_stats(), and process_input().

◆ frames_decoded

uint64_t InputStream::frames_decoded

Definition at line 436 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), print_final_stats(), and transcode_subtitles().

◆ samples_decoded

uint64_t InputStream::samples_decoded

Definition at line 437 of file ffmpeg.h.

Referenced by decode_audio(), and print_final_stats().

◆ dts_buffer

int64_t* InputStream::dts_buffer

Definition at line 439 of file ffmpeg.h.

Referenced by decode_video(), and ist_free().

◆ nb_dts_buffer

int InputStream::nb_dts_buffer

Definition at line 440 of file ffmpeg.h.

Referenced by decode_video().


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