MythTV  0.26-pre
Public Member Functions | Private Member Functions | Private Attributes
Transcode Class Reference

#include <transcode.h>

List of all members.

Public Member Functions

 Transcode (ProgramInfo *pginfo)
 ~Transcode ()
int TranscodeFile (const QString &inputname, const QString &outputname, const QString &profileName, bool honorCutList, bool framecontrol, int jobID, QString fifodir, bool fifo_info, bool cleanCut, frm_dir_map_t &deleteMap, int AudioTrackNo, bool passthru=false)
void ShowProgress (bool val)
void SetRecorderOptions (QString options)
void SetAVFMode (void)
void SetHLSMode (void)
void SetHLSStreamID (int streamid)
void SetHLSMaxSegments (int segments)
void SetCMDContainer (QString container)
void SetCMDAudioCodec (QString codec)
void SetCMDVideoCodec (QString codec)
void SetCMDHeight (int height)
void SetCMDWidth (int width)
void SetCMDBitrate (int bitrate)
void SetCMDAudioBitrate (int bitrate)
void DisableAudioOnlyHLS (void)

Private Member Functions

bool GetProfile (QString profileName, QString encodingType, int height, int frameRate)
void ReencoderAddKFA (long curframe, long lastkey, long num_keyframes)

Private Attributes

ProgramInfom_proginfo
RecordingProfile profile
int keyframedist
NuppelVideoRecordernvr
MythPlayerplayer
QPointer< PlayerContextplayer_ctx
RingBufferinRingBuffer
RingBufferoutRingBuffer
FIFOWriterfifow
KFATablekfa_table
bool showprogress
QString recorderOptions
bool avfMode
bool hlsMode
int hlsStreamID
bool hlsDisableAudioOnly
int hlsMaxSegments
QString cmdContainer
QString cmdAudioCodec
QString cmdVideoCodec
int cmdWidth
int cmdHeight
int cmdBitrate
int cmdAudioBitrate

Detailed Description

Definition at line 15 of file transcode.h.


Constructor & Destructor Documentation

Definition at line 720 of file transcode.cpp.

Definition at line 743 of file transcode.cpp.


Member Function Documentation

int Transcode::TranscodeFile ( const QString &  inputname,
const QString &  outputname,
const QString &  profileName,
bool  honorCutList,
bool  framecontrol,
int  jobID,
QString  fifodir,
bool  fifo_info,
bool  cleanCut,
frm_dir_map_t deleteMap,
int  AudioTrackNo,
bool  passthru = false 
)

Definition at line 871 of file transcode.cpp.

Referenced by main().

void Transcode::ShowProgress ( bool  val) [inline]

Definition at line 27 of file transcode.h.

Referenced by main().

void Transcode::SetRecorderOptions ( QString  options) [inline]

Definition at line 28 of file transcode.h.

Referenced by main().

Definition at line 29 of file transcode.h.

Referenced by main().

Definition at line 30 of file transcode.h.

Referenced by main().

void Transcode::SetHLSStreamID ( int  streamid) [inline]

Definition at line 31 of file transcode.h.

Referenced by main().

void Transcode::SetHLSMaxSegments ( int  segments) [inline]

Definition at line 32 of file transcode.h.

Referenced by main().

void Transcode::SetCMDContainer ( QString  container) [inline]

Definition at line 33 of file transcode.h.

Referenced by main().

void Transcode::SetCMDAudioCodec ( QString  codec) [inline]

Definition at line 34 of file transcode.h.

Referenced by main().

void Transcode::SetCMDVideoCodec ( QString  codec) [inline]

Definition at line 35 of file transcode.h.

Referenced by main().

void Transcode::SetCMDHeight ( int  height) [inline]

Definition at line 36 of file transcode.h.

Referenced by main().

void Transcode::SetCMDWidth ( int  width) [inline]

Definition at line 37 of file transcode.h.

Referenced by main().

void Transcode::SetCMDBitrate ( int  bitrate) [inline]

Definition at line 38 of file transcode.h.

Referenced by main().

void Transcode::SetCMDAudioBitrate ( int  bitrate) [inline]

Definition at line 39 of file transcode.h.

Referenced by main().

Definition at line 40 of file transcode.h.

Referenced by main().

bool Transcode::GetProfile ( QString  profileName,
QString  encodingType,
int  height,
int  frameRate 
) [private]

Definition at line 772 of file transcode.cpp.

Referenced by TranscodeFile().

void Transcode::ReencoderAddKFA ( long  curframe,
long  lastkey,
long  num_keyframes 
) [private]

Definition at line 760 of file transcode.cpp.

Referenced by TranscodeFile().


Member Data Documentation

Definition at line 48 of file transcode.h.

Referenced by TranscodeFile().

Definition at line 49 of file transcode.h.

Referenced by GetProfile(), and TranscodeFile().

Definition at line 50 of file transcode.h.

Referenced by ReencoderAddKFA().

Definition at line 51 of file transcode.h.

Referenced by TranscodeFile(), and ~Transcode().

Definition at line 52 of file transcode.h.

Referenced by TranscodeFile(), and ~Transcode().

QPointer<PlayerContext> Transcode::player_ctx [private]

Definition at line 53 of file transcode.h.

Referenced by MythPlayer::IsAudioNeeded(), TranscodeFile(), and ~Transcode().

Definition at line 54 of file transcode.h.

Referenced by TranscodeFile(), and ~Transcode().

Definition at line 55 of file transcode.h.

Referenced by TranscodeFile(), and ~Transcode().

Definition at line 56 of file transcode.h.

Referenced by TranscodeFile(), and ~Transcode().

Definition at line 57 of file transcode.h.

Referenced by ReencoderAddKFA(), TranscodeFile(), and ~Transcode().

Definition at line 58 of file transcode.h.

Referenced by ShowProgress(), and TranscodeFile().

QString Transcode::recorderOptions [private]

Definition at line 59 of file transcode.h.

Referenced by SetRecorderOptions(), and TranscodeFile().

Definition at line 60 of file transcode.h.

Referenced by SetAVFMode(), and TranscodeFile().

Definition at line 61 of file transcode.h.

Referenced by SetHLSMode(), and TranscodeFile().

Definition at line 62 of file transcode.h.

Referenced by SetHLSStreamID(), and TranscodeFile().

Definition at line 63 of file transcode.h.

Referenced by DisableAudioOnlyHLS(), and TranscodeFile().

Definition at line 64 of file transcode.h.

Referenced by SetHLSMaxSegments(), and TranscodeFile().

QString Transcode::cmdContainer [private]

Definition at line 65 of file transcode.h.

Referenced by SetCMDContainer(), and TranscodeFile().

QString Transcode::cmdAudioCodec [private]

Definition at line 66 of file transcode.h.

Referenced by SetCMDAudioCodec(), and TranscodeFile().

QString Transcode::cmdVideoCodec [private]

Definition at line 67 of file transcode.h.

Referenced by SetCMDVideoCodec(), and TranscodeFile().

Definition at line 68 of file transcode.h.

Referenced by SetCMDWidth(), and TranscodeFile().

Definition at line 69 of file transcode.h.

Referenced by SetCMDHeight(), and TranscodeFile().

Definition at line 70 of file transcode.h.

Referenced by SetCMDBitrate(), and TranscodeFile().

Definition at line 71 of file transcode.h.

Referenced by SetCMDAudioBitrate(), and TranscodeFile().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends