AVbin: _AVbinFileInfo Struct Reference

- Main Page
- Data Structures
- Files

- Data Structures
- Data Fields

# _AVbinFileInfo Struct Reference

## Detailed Description

File details.

The info struct is filled in by avbin_get_file_info.

## Data Fields
size_t | structure_size
| Size of this structure, in bytes.
int | n_streams
| Number of streams contained in the file.
AVbinTimestamp | start_time
| Starting time of all streams.
AVbinTimestamp | duration
| Duration of the file.
Metadata fields
File metadata. Strings are NUL-terminated and may be omitted (the first character NUL) if the file does not contain appropriate information. The encoding of the strings is unspecified.
char | title [512]
char | author [512]
char | copyright [512]
char | comment [512]
char | album [512]
int | year
int | track
char | genre [32]

## Field Documentation

size_t _AVbinFileInfo::structure_size

Size of this structure, in bytes.

This must be filled in by the application before passing to AVbin.

int _AVbinFileInfo::n_streams

Number of streams contained in the file.

AVbinTimestamp _AVbinFileInfo::start_time

Starting time of all streams.

AVbinTimestamp _AVbinFileInfo::duration

Duration of the file.

Does not include the time given in start_time.

char _AVbinFileInfo::title[512]

char _AVbinFileInfo::author[512]

char _AVbinFileInfo::copyright[512]

char _AVbinFileInfo::comment[512]

char _AVbinFileInfo::album[512]

int _AVbinFileInfo::year

int _AVbinFileInfo::track

char _AVbinFileInfo::genre[32]