Go to the documentation of this file.
7 #ifndef FIREWIRERECORDER_H
8 #define FIREWIRERECORDER_H
42 void run(
void)
override;
46 void AddData(
const unsigned char *data,
uint len)
override;
52 [[maybe_unused]]
const QString &videodev,
53 [[maybe_unused]]
const QString &audiodev,
54 [[maybe_unused]]
const QString &vbidev)
override {};
66 #endif // FIREWIRERECORDER_H
This is a specialization of DTVRecorder used to handle DVB and ATSC streams from a firewire input.
void AddData(const unsigned char *data, uint len) override
Callback function to add MPEG2 TS data.
std::vector< unsigned char > m_buffer
bool PauseAndWait(std::chrono::milliseconds timeout=100ms) override
If m_requestPause is true, sets pause and blocks up to timeout milliseconds or until unpaused,...
FirewireChannel Copyright (c) 2005 by Jim Westfall and Dave Abrahams Distributed as part of MythTV un...
Used to access the data of a Transport Stream packet.
Encapsulates data about MPEG stream and emits events for each table.
void StartStreaming(void)
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
FirewireChannel * m_channel
void SetOptionsFromProfile([[maybe_unused]] RecordingProfile *profile, [[maybe_unused]] const QString &videodev, [[maybe_unused]] const QString &audiodev, [[maybe_unused]] const QString &vbidev) override
bool ProcessTSPacket(const TSPacket &tspacket) override
FirewireRecorder(TVRec *rec, FirewireChannel *chan)
This is the coordinating class of the Recorder Subsystem.
void InitStreamData(void) override
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
~FirewireRecorder() override
friend class TSPacketProcessor