- #ifndef TRANSCODINGTHREAD_H
- #define TRANSCODINGTHREAD_H
- #include <QtCore>
- class TranscodingThread : public QThread
- {
- Q_OBJECT
- public:
- TranscodingThread(const QString&, const QString&, const QString&);
- void run();
- signals:
- void updateProgress(const QString&);
- private slots:
- void readOutput();
- private:
- QString input;
- QString output;
- QString framerate;
- QString c_proc_out;
- QProcess proc;
- };
- #endif // TRANSCODINGTHREAD_H