86 explicit VcdChapter(
int track_no,
int min,
int sec,
int frame,
bool is_svcd, int64_t duration);
208 int readio(FILE *fpi,
int track_no);
int get_track_no() const
Get the track number of this chapter.
uint64_t get_size() const
Get the size of this chapter in bytes.
int operator>=(const VcdChapter &other) const
Comparison operator >=.
int64_t m_duration
Chapter duration, in AV_TIME_BASE fractional seconds.
int get_min() const
Get MSF (minutes, seconds, and fractional seconds/frames) minute.
int get_sec() const
Get MSF (minutes, seconds, and fractional seconds/frames) second.
virtual ~VcdChapter()=default
Destroy VcdChapter object.
bool m_is_svcd
true for SVCD, false for VCD
int operator!=(const VcdChapter &other) const
Comparison operator !=.
int operator<=(const VcdChapter &other) const
Comparison operator <=.
uint64_t m_start_pos
Start offset in bytes.
int64_t get_start_time() const
Get start position of chapter in AV_TIME_BASE units.
int get_lba() const
Get LBA (large block address) of chapter.
int operator>(const VcdChapter &other) const
Comparison operator >
uint64_t get_start_pos() const
Get file position of chapter in bytes.
uint64_t get_end_pos() const
Get end position of chapter in bytes.
int operator<(const VcdChapter &other) const
Comparison operator <.
bool get_is_svcd() const
Check if this is a Super Video CD.
int get_frame() const
Get MSF (minutes, seconds, and fractional seconds/frames) frame.
uint64_t m_end_pos
End offset in bytes (not including this byte)
std::string get_filename() const
Get file name and path of source file (e.g. MPEG/AVSEQ##.MPG).
int operator==(const VcdChapter &other) const
Comparison operator ==.
VcdChapter & operator=(VcdChapter const &other)
Assignment operator =.
int readio(FILE *fpi, int track_no)
Read file from disk.
int64_t get_duration() const
Get chapter duration, in AV_TIME_BASE fractional seconds.
VcdChapter(bool is_svcd)
Construct VcdChapter object.
@ VCD_10_11_SVCD_10_HQVCD
VCD 1.0, VCD 1.1, SVCD 1.0 und HQVCD.
@ VCD_10_20_SVCD_HQVCD
VCD 1.0, VCD 2.0, SVCD und HQVCD.