| FFmpegKit iOS / macOS / tvOS API 4.5

Data Structures | Data Fields
InputStream Struct Reference

`#include <fftools_ffmpeg.h>`

## Data Structures
struct | sub2video

## Data Fields
int | file_index
AVStream * | st
int | discard
int | user_set_discard
int | decoding_needed
AVCodecContext * | dec_ctx
const AVCodec * | dec
AVFrame * | decoded_frame
AVFrame * | filter_frame
AVPacket * | pkt
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
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
AVDictionary * | decoder_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
int | dr1
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
void * | hwaccel_ctx
void(* | hwaccel_uninit )(AVCodecContext *s)
int(* | hwaccel_get_buffer )(AVCodecContext *s, AVFrame *frame, int flags)
int(* | hwaccel_retrieve_data )(AVCodecContext *s, AVFrame *frame)
enum AVPixelFormat | hwaccel_pix_fmt
enum AVPixelFormat | hwaccel_retrieved_pix_fmt
AVBufferRef * | hw_frames_ctx
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 324 of file fftools_ffmpeg.h.

## Field Documentation

## ◆ autorotate

int InputStream::autorotate

Definition at line 368 of file fftools_ffmpeg.h.

## ◆ cfr_next_pts

int64_t InputStream::cfr_next_pts

Definition at line 357 of file fftools_ffmpeg.h.

## ◆ data_size

uint64_t InputStream::data_size

Definition at line 412 of file fftools_ffmpeg.h.

## ◆ dec

const AVCodec* InputStream::dec

Definition at line 334 of file fftools_ffmpeg.h.

## ◆ dec_ctx

AVCodecContext * InputStream::dec_ctx

Definition at line 333 of file fftools_ffmpeg.h.

## ◆ decoded_frame

AVFrame* InputStream::decoded_frame

Definition at line 335 of file fftools_ffmpeg.h.

## ◆ decoder_opts

AVDictionary* InputStream::decoder_opts

Definition at line 363 of file fftools_ffmpeg.h.

## ◆ decoding_needed

int InputStream::decoding_needed

Definition at line 329 of file fftools_ffmpeg.h.

## ◆ discard

int InputStream::discard

Definition at line 327 of file fftools_ffmpeg.h.

## ◆ dr1

int InputStream::dr1

Definition at line 386 of file fftools_ffmpeg.h.

## ◆ dts

int64_t InputStream::dts

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

Definition at line 344 of file fftools_ffmpeg.h.

## ◆ dts_buffer

int64_t* InputStream::dts_buffer

Definition at line 419 of file fftools_ffmpeg.h.

## ◆ file_index

int InputStream::file_index

Definition at line 325 of file fftools_ffmpeg.h.

## ◆ filter_frame

AVFrame* InputStream::filter_frame

Definition at line 336 of file fftools_ffmpeg.h.

## ◆ filter_in_rescale_delta_last

int64_t InputStream::filter_in_rescale_delta_last

Definition at line 350 of file fftools_ffmpeg.h.

## ◆ filters

InputFilter** InputStream::filters

Definition at line 390 of file fftools_ffmpeg.h.

## ◆ first_dts

int64_t InputStream::first_dts

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

Definition at line 343 of file fftools_ffmpeg.h.

## ◆ fix_sub_duration

int InputStream::fix_sub_duration

Definition at line 370 of file fftools_ffmpeg.h.

## ◆ framerate

AVRational InputStream::framerate

Definition at line 364 of file fftools_ffmpeg.h.

## ◆ frames_decoded

uint64_t InputStream::frames_decoded

Definition at line 416 of file fftools_ffmpeg.h.

## ◆ got_output

int InputStream::got_output

Definition at line 372 of file fftools_ffmpeg.h.

## ◆ guess_layout_max

int InputStream::guess_layout_max

Definition at line 366 of file fftools_ffmpeg.h.

## ◆ hw_frames_ctx

AVBufferRef* InputStream::hw_frames_ctx

Definition at line 408 of file fftools_ffmpeg.h.

## ◆ hwaccel_ctx

void* InputStream::hwaccel_ctx

Definition at line 402 of file fftools_ffmpeg.h.

## ◆ hwaccel_device

char* InputStream::hwaccel_device

Definition at line 398 of file fftools_ffmpeg.h.

## ◆ hwaccel_device_type

enum AVHWDeviceType InputStream::hwaccel_device_type

Definition at line 397 of file fftools_ffmpeg.h.

## ◆ hwaccel_get_buffer

int(* InputStream::hwaccel_get_buffer) (AVCodecContext *s, AVFrame *frame, int flags)

Definition at line 404 of file fftools_ffmpeg.h.

## ◆ hwaccel_id

enum HWAccelID InputStream::hwaccel_id

Definition at line 396 of file fftools_ffmpeg.h.

## ◆ hwaccel_output_format

enum AVPixelFormat InputStream::hwaccel_output_format

Definition at line 399 of file fftools_ffmpeg.h.

## ◆ hwaccel_pix_fmt

enum AVPixelFormat InputStream::hwaccel_pix_fmt

Definition at line 406 of file fftools_ffmpeg.h.

## ◆ hwaccel_retrieve_data

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

Definition at line 405 of file fftools_ffmpeg.h.

## ◆ hwaccel_retrieved_pix_fmt

enum AVPixelFormat InputStream::hwaccel_retrieved_pix_fmt

Definition at line 407 of file fftools_ffmpeg.h.

## ◆ hwaccel_uninit

void(* InputStream::hwaccel_uninit) (AVCodecContext *s)

Definition at line 403 of file fftools_ffmpeg.h.

## ◆ max_pts

int64_t InputStream::max_pts

Definition at line 353 of file fftools_ffmpeg.h.

## ◆ min_pts

int64_t InputStream::min_pts

Definition at line 352 of file fftools_ffmpeg.h.

## ◆ nb_dts_buffer

int InputStream::nb_dts_buffer

Definition at line 420 of file fftools_ffmpeg.h.

## ◆ nb_filters

int InputStream::nb_filters

Definition at line 391 of file fftools_ffmpeg.h.

## ◆ nb_packets

uint64_t InputStream::nb_packets

Definition at line 414 of file fftools_ffmpeg.h.

## ◆ nb_samples

int64_t InputStream::nb_samples

Definition at line 359 of file fftools_ffmpeg.h.

## ◆ next_dts

int64_t InputStream::next_dts

Definition at line 342 of file fftools_ffmpeg.h.

## ◆ next_pts

int64_t InputStream::next_pts

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

Definition at line 346 of file fftools_ffmpeg.h.

## ◆ pkt

AVPacket* InputStream::pkt

Definition at line 337 of file fftools_ffmpeg.h.

## ◆

struct { ... } InputStream::prev_sub

## ◆ pts

int64_t InputStream::pts

current pts of the decoded frame (in AV_TIME_BASE units)

Definition at line 347 of file fftools_ffmpeg.h.

## ◆ reinit_filters

int InputStream::reinit_filters

Definition at line 393 of file fftools_ffmpeg.h.

## ◆ ret

int InputStream::ret

Definition at line 373 of file fftools_ffmpeg.h.

## ◆ samples_decoded

uint64_t InputStream::samples_decoded

Definition at line 417 of file fftools_ffmpeg.h.

## ◆ saw_first_ts

int InputStream::saw_first_ts

Definition at line 362 of file fftools_ffmpeg.h.

## ◆ st

AVStream * InputStream::st

Definition at line 326 of file fftools_ffmpeg.h.

## ◆ start

int64_t InputStream::start

Definition at line 339 of file fftools_ffmpeg.h.

## ◆ sub2video

struct InputStream::sub2video InputStream::sub2video

## ◆ subtitle

AVSubtitle InputStream::subtitle

Definition at line 374 of file fftools_ffmpeg.h.

## ◆ top_field_first

int InputStream::top_field_first

Definition at line 365 of file fftools_ffmpeg.h.

## ◆ ts_scale

double InputStream::ts_scale

Definition at line 361 of file fftools_ffmpeg.h.

## ◆ user_set_discard

int InputStream::user_set_discard

Definition at line 328 of file fftools_ffmpeg.h.

## ◆ wrap_correction_done

int InputStream::wrap_correction_done

Definition at line 348 of file fftools_ffmpeg.h.

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

- fftools_ffmpeg.h
- fftools_ffprobe.c