36 enum ScanMode { Automatic, Progressive, InterlacedTopFieldFirst, InterlacedBottomFieldFirst };
39 static QString resource(Mlt::Service &producer);
40 static void generateVideoProxy(Mlt::Producer &producer,
42 ScanMode scanMode = Automatic,
43 const QPoint &aspectRatio = QPoint(),
45 static void generateImageProxy(Mlt::Producer &producer,
bool replace =
true);
46 static bool filterXML(QString &xml, QString root);
47 static bool filePending(Mlt::Producer &producer);
48 static bool isValidImage(Mlt::Producer &producer);
49 static bool isValidVideo(Mlt::Producer producer);
50 static bool generateIfNotExists(Mlt::Producer &producer,
bool replace =
true);
51 static const char *videoFilenameExtension();
52 static const char *pendingVideoExtension();
53 static const char *imageFilenameExtension();
54 static const char *pendingImageExtension();
55 static int resolution();
56 static void generateIfNotExistsAll(Mlt::Producer &producer);
57 static bool removePending();
58 static QString GoProProxyFilePath(
const QString &resource);
59 static QString DJIProxyFilePath(
const QString &resource);
61 static QString hashProxyFilePath(
const QString &fileName,
const QDir &projectFolder);
63 static QString existingExternalProxy(
const QString &resource);