ImportRecorder Class Reference

ImportRecorder imports files, creating a seek map and other stuff that MythTV likes to have for recording. More...

#include <importrecorder.h>

Inheritance diagram for ImportRecorder:
DTVRecorder RecorderBase MPEGStreamListener MPEGSingleProgramStreamListener DVBMainStreamListener ATSCMainStreamListener TSPacketListener TSPacketListenerAV

List of all members.

Public Member Functions

 ImportRecorder (TVRec *)
 ~ImportRecorder ()
void SetOptionsFromProfile (RecordingProfile *profile, const QString &videodev, const QString &audiodev, const QString &vbidev)
 Sets basic recorder options.
void run (void)
 run() starts the recording process, and does not exit until the recording is complete.
bool Open (void)
void Close (void)
void SetStreamData (void)

Private Attributes

int _import_fd

Detailed Description

ImportRecorder imports files, creating a seek map and other stuff that MythTV likes to have for recording.

Note:
This currently only supports MPEG-TS files, but the plan is to support all files that ffmpeg does.

Definition at line 22 of file importrecorder.h.


Constructor & Destructor Documentation

ImportRecorder::ImportRecorder ( TVRec rec  ) 

Definition at line 45 of file importrecorder.cpp.

ImportRecorder::~ImportRecorder (  ) 

Definition at line 50 of file importrecorder.cpp.


Member Function Documentation

void ImportRecorder::SetOptionsFromProfile ( RecordingProfile profile,
const QString &  videodev,
const QString &  audiodev,
const QString &  vbidev 
) [virtual]

Sets basic recorder options.

SetOptionsFromProfile is used to tell the recorder about the recording profile as well as the devices to use.

Reimplemented from DTVRecorder.

Definition at line 54 of file importrecorder.cpp.

void ImportRecorder::run ( void   )  [virtual]

run() starts the recording process, and does not exit until the recording is complete.

See also:
StopRecording()

Implements RecorderBase.

Definition at line 78 of file importrecorder.cpp.

bool ImportRecorder::Open ( void   ) 

Definition at line 137 of file importrecorder.cpp.

Referenced by run().

void ImportRecorder::Close ( void   ) 

Definition at line 210 of file importrecorder.cpp.

Referenced by run().

void ImportRecorder::SetStreamData ( void   )  [inline, virtual]

Reimplemented from DTVRecorder.

Definition at line 39 of file importrecorder.h.


Member Data Documentation

Definition at line 42 of file importrecorder.h.

Referenced by Close(), Open(), and run().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat Feb 11 06:42:03 2012 for MythTV by  doxygen 1.6.3