3 #ifndef MYTHCCEXTRACTORPLAYER_H
4 #define MYTHCCEXTRACTORPLAYER_H
33 std::chrono::milliseconds m_startTime { 0 };
35 std::chrono::milliseconds m_length { -1ms };
37 bool m_isText {
true };
43 QPoint m_imgShift { 0,0 };
47 static constexpr std::chrono::milliseconds kDefaultLength { 750ms };
116 QString fileName,
const QString & destdir);
128 void IngestSubtitle(QList<OneSubtitle> &list,
const QStringList &
content)
const;
131 enum : std::uint8_t { kProcessNormal = 0, kProcessFinalize = 1 };
132 void Ingest608Captions(
void);
133 void Process608Captions(
uint flags);
135 void Ingest708Captions(
void);
136 void Ingest708Caption(
uint streamId,
uint serviceIdx,
uint windowIdx,
139 const std::vector<CC708String*> &
content);
140 void Process708Captions(
uint flags);
142 void IngestTeletext(
void);
143 void ProcessTeletext(
uint flags);
145 void IngestDVBSubtitles(
void);
146 void ProcessDVBSubtitles(
uint flags);
148 void OnGotNewFrame(
void);
169 std::chrono::milliseconds m_curTime {0ms};
170 uint64_t m_myFramesPlayed {0};
171 bool m_showProgress {
false};
177 #endif // MYTHCCEXTRACTORPLAYER_H