85 const std::string &
get_id()
const;
VcdEntries()
Construct VcdEntries object.
time_t m_file_date
File date.
std::string m_disk_path
Path to this disk.
virtual ~VcdEntries()=default
Destroy VcdEntries object.
VCDTYPE get_type() const
Get disk type.
SEEKRES seek_sync(FILE *fpi, const std::array< char, 12 > &sync) const
Seek for sync bytes.
uint64_t get_size() const
Get disk size (DAT/MPEG only).
std::string m_id
ID of CD.
int get_number_of_chapters() const
Get number of chapters on this disk.
void clear()
Reset this object.
time_t get_file_date() const
Get date of disk (taken from INFO.VCD or SVD).
const std::string & get_disk_path() const
Get disk directory.
VCDPROFILETAG m_profile_tag
System profile tag.
SEEKRES * LPSEEKRES
Pointer to SEEKRES.
VCDTYPE m_type
Type of CD.
int scan_chapters()
Scan the disk for chapters.
std::vector< VcdChapter > m_chapters
VCD chapters.
int load_file(const std::string &path)
Load VCD from path.
const VcdChapter * get_chapter(int chapter_idx) const
Get chapter object.
int64_t m_duration
Total disk duration, in AV_TIME_BASE fractional seconds.
std::string get_type_str() const
Get disk type as string.
const SEEKRES * LPCSEEKRES
Const pointer to SEEKRES.
std::string get_profile_tag_str() const
Get disk profile tag as string.
int64_t get_duration() const
Get the total disk duration in AV_TIME_BASE fractional seconds.
const std::string & get_id() const
Get disk ID.
VCDPROFILETAG get_profile_tag() const
Get disk profile tag.