-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaexport.h
86 lines (61 loc) · 2.69 KB
/
aexport.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#ifndef MEXPORTDIALOG_H
#define MEXPORTDIALOG_H
#include "agprocessthread.h"
#include "agviewrectitem.h"
#include "aglobal.h"
#include "agcliprectitem.h"
#include <QAbstractButton>
#include <QDialog>
#include <QGraphicsScene>
namespace Ui {
class MExportDialog;
}
class MExportDialog : public QDialog
{
Q_OBJECT
QString transitionValueChangedBy;
QList<MTimelineGroupRectItem *> timelineGroupList;
QString fileNameWithoutExtension;
public:
explicit MExportDialog(QWidget *parent = nullptr, AGViewRectItem *rootItem = nullptr);
~MExportDialog();
QList<AGProcessAndThread *> *processes;
AGViewRectItem *rootItem;
private slots:
void onProcessOutput(QTime time, QTime totalTime, QString event, QString outputString);
void on_exportSizeComboBox_currentTextChanged(const QString &arg1);
void on_exportFramerateComboBox_currentTextChanged(const QString &arg1);
void on_clipsFramerateComboBox_currentTextChanged(const QString &arg1);
void on_exportButton_clicked();
void on_watermarkButton_clicked();
void on_exportTargetComboBox_currentTextChanged(const QString &arg1);
void on_transitionDurationTimeEdit_timeChanged(const QTime &time);
void on_transitionComboBox_currentTextChanged(const QString &arg1);
void on_clipsSizeComboBox_currentTextChanged(const QString &arg1);
void on_transitionDial_valueChanged(int value);
private:
Ui::MExportDialog *ui;
void watermarkFileNameChanged(QString newFileName);
void muxVideoAndAudio();
void losslessVideoAndAudio();
void encodeVideoClips();
int exportWidth;
int exportHeight;
int exportFramerate;
QString exportSizeShortName;
void loadSettings();
void changeUIProperties();
void allTooltips();
void exportShotcut();
void exportPremiere();
QTextStream stream;
void s(QString y, QString arg1 = "", QString arg2 ="", QString arg3="", QString arg4="");
void addPremiereClipitem(AGClipRectItem *clipItem, QString clipId, QFileInfo fileInfo, int startTime, int endTime, int inTime, int outTime, QString frameRate, QString mediaType, QMap<QString, FileStruct> *filesMap, int channelTrackNr);
void addPremiereTransitionItem(int startTime, int endTime, QString frameRate, QString mediaType, QString startOrEnd);
void addPremiereTrack(QString mediaType, MTimelineGroupRectItem *timelineItem, QMap<QString, FileStruct> filesMap);
signals:
void processOutput(QTime time, QTime totalTime, QString event, QString outputString);
void arrangeItems();
void fileWatch(QString folderFileName, bool on, bool triggerFileChanged = false);
};
#endif // MEXPORTDIALOG_H