Functions | |
int | bgav_num_tracks (bgav_t *bgav) |
Get the number of tracks. | |
const char * | bgav_get_description (bgav_t *bgav) |
Get a technical description of the format. | |
gavl_time_t | bgav_get_duration (bgav_t *bgav, int track) |
Get the duration of a track. | |
int | bgav_num_audio_streams (bgav_t *bgav, int track) |
Get the number of audio streams of a track. | |
int | bgav_num_video_streams (bgav_t *bgav, int track) |
Get the number of video streams of a track. | |
int | bgav_num_subtitle_streams (bgav_t *bgav, int track) |
Get the number of subtitle streams of a track. | |
const char * | bgav_get_track_name (bgav_t *bgav, int track) |
Get the name a track. | |
const bgav_metadata_t * | bgav_get_metadata (bgav_t *bgav, int track) |
Get metadata for a track. | |
int | bgav_select_track (bgav_t *bgav, int track) |
Select a track. | |
int | bgav_get_num_chapters (bgav_t *bgav, int track, int *timescale) |
Get the number of chapters. | |
const char * | bgav_get_chapter_name (bgav_t *bgav, int track, int chapter) |
Get the name of a chapter. | |
int64_t | bgav_get_chapter_time (bgav_t *bgav, int track, int chapter) |
Get the name of a chapter. |
int bgav_num_tracks | ( | bgav_t * | bgav | ) |
Get the number of tracks.
bgav | A decoder instance |
const char* bgav_get_description | ( | bgav_t * | bgav | ) |
Get a technical description of the format.
bgav | A decoder instance |
gavl_time_t bgav_get_duration | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get the duration of a track.
bgav | A decoder instance | |
track | Track index (starting with 0) |
int bgav_num_audio_streams | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get the number of audio streams of a track.
bgav | A decoder instance | |
track | Track index (starting with 0) |
int bgav_num_video_streams | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get the number of video streams of a track.
bgav | A decoder instance | |
track | Track index (starting with 0) |
int bgav_num_subtitle_streams | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get the number of subtitle streams of a track.
bgav | A decoder instance | |
track | Track index (starting with 0) |
const char* bgav_get_track_name | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get the name a track.
bgav | A decoder instance | |
track | Track index (starting with 0) |
const bgav_metadata_t* bgav_get_metadata | ( | bgav_t * | bgav, | |
int | track | |||
) |
Get metadata for a track.
bgav | A decoder instance | |
track | Track index (starts with 0) |
int bgav_select_track | ( | bgav_t * | bgav, | |
int | track | |||
) |
Select a track.
bgav | A decoder instance | |
track | Track index (starts with 0) |
int bgav_get_num_chapters | ( | bgav_t * | bgav, | |
int | track, | |||
int * | timescale | |||
) |
Get the number of chapters.
bgav | A decoder instance | |
track | Track index (starts with 0) | |
timescale | Returns the timescale of the seekpoints |
const char* bgav_get_chapter_name | ( | bgav_t * | bgav, | |
int | track, | |||
int | chapter | |||
) |
Get the name of a chapter.
bgav | A decoder instance | |
track | Track index (starts with 0) | |
chapter | Chapter index (starts with 0) |
int64_t bgav_get_chapter_time | ( | bgav_t * | bgav, | |
int | track, | |||
int | chapter | |||
) |
Get the name of a chapter.
bgav | A decoder instance | |
track | Track index (starts with 0) | |
chapter | Chapter index (starts with 0) |