#include <transcode.h>
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 | |
| ProgramInfo * | m_proginfo |
| RecordingProfile | profile |
| int | keyframedist |
| NuppelVideoRecorder * | nvr |
| MythPlayer * | player |
| QPointer< PlayerContext > | player_ctx |
| RingBuffer * | inRingBuffer |
| RingBuffer * | outRingBuffer |
| FIFOWriter * | fifow |
| KFATable * | kfa_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 |
Definition at line 15 of file transcode.h.
| Transcode::Transcode | ( | ProgramInfo * | pginfo | ) |
Definition at line 720 of file transcode.cpp.
| Transcode::~Transcode | ( | ) |
Definition at line 743 of file transcode.cpp.
| 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().
| void Transcode::SetAVFMode | ( | void | ) | [inline] |
Definition at line 29 of file transcode.h.
Referenced by main().
| void Transcode::SetHLSMode | ( | void | ) | [inline] |
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().
| void Transcode::DisableAudioOnlyHLS | ( | void | ) | [inline] |
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().
ProgramInfo* Transcode::m_proginfo [private] |
Definition at line 48 of file transcode.h.
Referenced by TranscodeFile().
RecordingProfile Transcode::profile [private] |
Definition at line 49 of file transcode.h.
Referenced by GetProfile(), and TranscodeFile().
int Transcode::keyframedist [private] |
Definition at line 50 of file transcode.h.
Referenced by ReencoderAddKFA().
NuppelVideoRecorder* Transcode::nvr [private] |
Definition at line 51 of file transcode.h.
Referenced by TranscodeFile(), and ~Transcode().
MythPlayer* Transcode::player [private] |
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().
RingBuffer* Transcode::inRingBuffer [private] |
Definition at line 54 of file transcode.h.
Referenced by TranscodeFile(), and ~Transcode().
RingBuffer* Transcode::outRingBuffer [private] |
Definition at line 55 of file transcode.h.
Referenced by TranscodeFile(), and ~Transcode().
FIFOWriter* Transcode::fifow [private] |
Definition at line 56 of file transcode.h.
Referenced by TranscodeFile(), and ~Transcode().
KFATable* Transcode::kfa_table [private] |
Definition at line 57 of file transcode.h.
Referenced by ReencoderAddKFA(), TranscodeFile(), and ~Transcode().
bool Transcode::showprogress [private] |
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().
bool Transcode::avfMode [private] |
Definition at line 60 of file transcode.h.
Referenced by SetAVFMode(), and TranscodeFile().
bool Transcode::hlsMode [private] |
Definition at line 61 of file transcode.h.
Referenced by SetHLSMode(), and TranscodeFile().
int Transcode::hlsStreamID [private] |
Definition at line 62 of file transcode.h.
Referenced by SetHLSStreamID(), and TranscodeFile().
bool Transcode::hlsDisableAudioOnly [private] |
Definition at line 63 of file transcode.h.
Referenced by DisableAudioOnlyHLS(), and TranscodeFile().
int Transcode::hlsMaxSegments [private] |
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().
int Transcode::cmdWidth [private] |
Definition at line 68 of file transcode.h.
Referenced by SetCMDWidth(), and TranscodeFile().
int Transcode::cmdHeight [private] |
Definition at line 69 of file transcode.h.
Referenced by SetCMDHeight(), and TranscodeFile().
int Transcode::cmdBitrate [private] |
Definition at line 70 of file transcode.h.
Referenced by SetCMDBitrate(), and TranscodeFile().
int Transcode::cmdAudioBitrate [private] |
Definition at line 71 of file transcode.h.
Referenced by SetCMDAudioBitrate(), and TranscodeFile().
1.6.3