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