FFmpeg
Data Fields
AVStreamGroup Struct Reference

#include <avformat.h>

Data Fields

const AVClassav_class
 A class for AVOptions. More...
 
void * priv_data
 
unsigned int index
 Group index in AVFormatContext. More...
 
int64_t id
 Group type-specific group ID. More...
 
enum AVStreamGroupParamsType type
 Group type. More...
 
union {
   struct AVIAMFAudioElement *   iamf_audio_element
 
   struct AVIAMFMixPresentation *   iamf_mix_presentation
 
   struct AVStreamGroupTileGrid *   tile_grid
 
params
 Group type-specific parameters. More...
 
AVDictionarymetadata
 Metadata that applies to the whole group. More...
 
unsigned int nb_streams
 Number of elements in AVStreamGroup.streams. More...
 
AVStream ** streams
 A list of streams in the group. More...
 
int disposition
 Stream group disposition - a combination of AV_DISPOSITION_* flags. More...
 

Detailed Description

Definition at line 1090 of file avformat.h.

Field Documentation

◆ av_class

const AVClass* AVStreamGroup::av_class

A class for AVOptions.

Set by avformat_stream_group_create().

Definition at line 1094 of file avformat.h.

Referenced by avformat_stream_group_create().

◆ priv_data

void* AVStreamGroup::priv_data

Definition at line 1096 of file avformat.h.

Referenced by ff_free_stream_group().

◆ index

unsigned int AVStreamGroup::index

◆ id

int64_t AVStreamGroup::id

Group type-specific group ID.

decoding: set by libavformat encoding: may set by the user

Definition at line 1109 of file avformat.h.

Referenced by dump_stream_group(), ff_iamf_add_audio_element(), ff_iamf_add_mix_presentation(), get_stream_group_index_from_id(), iamf_read_header(), mov_parse_tiles(), of_parse_iamf_submixes(), and show_stream_group().

◆ type

enum AVStreamGroupParamsType AVStreamGroup::type

◆ iamf_audio_element

struct AVIAMFAudioElement* AVStreamGroup::iamf_audio_element

◆ iamf_mix_presentation

struct AVIAMFMixPresentation* AVStreamGroup::iamf_mix_presentation

◆ tile_grid

struct AVStreamGroupTileGrid* AVStreamGroup::tile_grid

◆ params

union { ... } AVStreamGroup::params

◆ metadata

AVDictionary* AVStreamGroup::metadata

Metadata that applies to the whole group.

Freed by libavformat in avformat_free_context().

Definition at line 1136 of file avformat.h.

Referenced by dump_stream_group(), ff_free_stream_group(), mov_parse_tiles(), and show_stream_group().

◆ nb_streams

unsigned int AVStreamGroup::nb_streams

◆ streams

AVStream** AVStreamGroup::streams

A list of streams in the group.

New entries are created with avformat_stream_group_add_stream().

  • demuxing: entries are created by libavformat on group creation. If AVFMTCTX_NOHEADER is set in ctx_flags, then new entries may also appear in av_read_frame().
  • muxing: entries are created by the user before avformat_write_header().

Freed by libavformat in avformat_free_context().

Definition at line 1156 of file avformat.h.

Referenced by avformat_stream_group_add_stream(), dump_stream_group(), ff_free_stream_group(), ff_iamf_add_audio_element(), fill_codec_config(), iamf_read_header(), mov_init(), of_parse_group_token(), show_stream_group(), and stream_group_add_stream().

◆ disposition

int AVStreamGroup::disposition

Stream group disposition - a combination of AV_DISPOSITION_* flags.

This field currently applies to all defined AVStreamGroupParamsType.

Definition at line 1166 of file avformat.h.

Referenced by dump_stream_group(), mov_parse_tiles(), and show_stream_group().


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