File indexing completed on 2024-10-06 07:30:03

0001 /*
0002 SPDX-FileCopyrightText: 2021 Jean-Baptiste Mardelle <jb@kdenlive.org>
0003 
0004 This file is part of Kdenlive. See www.kdenlive.org.
0005 
0006 SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 */
0008 
0009 #pragma once
0010 
0011 #include "definitions.h"
0012 #include "ui_transcodeseekable_ui.h"
0013 
0014 #include <QUrl>
0015 #include <QProcess>
0016 
0017 class TranscodeSeek : public QDialog, public Ui::TranscodeSeekable_UI
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     TranscodeSeek(bool onUserRequest, bool forceReplace, QWidget *parent = nullptr);
0023     ~TranscodeSeek() override;
0024 
0025     void addUrl(const QString &file, const QString &id, const QString &suffix, ClipType::ProducerType type, const QString &message);
0026     QMap<QString,QStringList>  ids() const;
0027     QString params(int clipType) const;
0028     QString preParams() const;
0029     
0030 private:
0031     QMap<QString, QString> m_encodeParams;
0032 
0033 };