digiKam
Loading...
Searching...
No Matches
Digikam::FFmpegLauncher Class Reference

#include <ffmpeglauncher.h>

+ Inheritance diagram for Digikam::FFmpegLauncher:

Signals

void signalComplete (bool success, int exitCode)
 

Public Member Functions

qint64 elapsedTime () const
 
void encodeFrames ()
 
int exitCode () const
 
 FFmpegLauncher (QObject *const parent=nullptr)
 
QString output () const
 
void setArguments (const QStringList &args)
 
void setConsoleTraces (bool b)
 
void setProgram (const QString &prog)
 
void setSettings (VidSlideSettings *const settings)
 
void setTimeOut (int msecs)
 
void setWorkingDirectory (const QString &dir)
 
QTime soundTrackLength (const QString &audioPath)
 
void startProcess ()
 
bool success () const
 
QMap< QString, QString > supportedCodecs ()
 
QMap< QString, QString > supportedFormats ()
 
 ~FFmpegLauncher () override=default
 

Constructor & Destructor Documentation

◆ FFmpegLauncher()

Digikam::FFmpegLauncher::FFmpegLauncher ( QObject *const  parent = nullptr)
explicit

◆ ~FFmpegLauncher()

Digikam::FFmpegLauncher::~FFmpegLauncher ( )
overridedefault

Member Function Documentation

◆ elapsedTime()

qint64 Digikam::ProcessLauncher::elapsedTime ( ) const
inherited

Return the elapsed time in ms to run the process.

◆ encodeFrames()

◆ exitCode()

int Digikam::ProcessLauncher::exitCode ( ) const
inherited

Return the exit code from the process.

◆ output()

QString Digikam::ProcessLauncher::output ( ) const
inherited

Return the process outout as string.

Referenced by Digikam::VidSlideThread::encodingTraces(), soundTrackLength(), supportedCodecs(), and supportedFormats().

◆ setArguments()

void Digikam::ProcessLauncher::setArguments ( const QStringList &  args)
inherited

◆ setConsoleTraces()

void Digikam::ProcessLauncher::setConsoleTraces ( bool  b)
inherited

If turned on, all traces from the process are printed on the console.

Referenced by soundTrackLength(), supportedCodecs(), and supportedFormats().

◆ setProgram()

void Digikam::ProcessLauncher::setProgram ( const QString &  prog)
inherited

◆ setSettings()

void Digikam::FFmpegLauncher::setSettings ( VidSlideSettings *const  settings)

Set encoding frames settings.

◆ setTimeOut()

void Digikam::ProcessLauncher::setTimeOut ( int  msecs)
inherited

◆ setWorkingDirectory()

void Digikam::ProcessLauncher::setWorkingDirectory ( const QString &  dir)
inherited

Referenced by encodeFrames().

◆ signalComplete

void Digikam::ProcessLauncher::signalComplete ( bool  success,
int  exitCode 
)
signalinherited

◆ soundTrackLength()

QTime Digikam::FFmpegLauncher::soundTrackLength ( const QString &  audioPath)

◆ startProcess()

void Digikam::ProcessLauncher::startProcess ( )
inherited

Start the process.

Referenced by encodeFrames(), soundTrackLength(), supportedCodecs(), and supportedFormats().

◆ success()

bool Digikam::ProcessLauncher::success ( ) const
inherited

Return true if the process is startd and completed without error.

◆ supportedCodecs()

◆ supportedFormats()


The documentation for this class was generated from the following files: