Commit d854b4f2 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix extract zone.

CCBUG: 411970
parent eb8580c2
Pipeline #12686 passed with stage
in 20 minutes and 34 seconds
...@@ -137,8 +137,7 @@ bool CutClipJob::startJob() ...@@ -137,8 +137,7 @@ bool CutClipJob::startJob()
} }
QString startString = locale.toString(m_in.seconds()); QString startString = locale.toString(m_in.seconds());
QString durationString = locale.toString((m_out - m_in).seconds()); QString durationString = locale.toString((m_out - m_in).seconds());
qDebug()<<"// STARTING CUT JOB FROM: "<<m_in.seconds()<<" - "<<m_out.seconds()<<", DEST: "<<m_destUrl; QStringList params = {QStringLiteral("-y"),QStringLiteral("-stats"),QStringLiteral("-v"),QStringLiteral("error"),QStringLiteral("-ss"),startString, QStringLiteral("-t"), durationString,QStringLiteral("-i"),m_sourceUrl};
QStringList params = {QStringLiteral("-y"),QStringLiteral("-stats"),QStringLiteral("-i"),m_sourceUrl,QStringLiteral("-v"),QStringLiteral("error"),QStringLiteral("-ss"),startString, QStringLiteral("-t"), durationString};
params << m_encodingParams << m_destUrl; params << m_encodingParams << m_destUrl;
m_jobProcess = std::make_unique<QProcess>(new QProcess); m_jobProcess = std::make_unique<QProcess>(new QProcess);
connect(m_jobProcess.get(), &QProcess::readyReadStandardError, this, &CutClipJob::processLogInfo); connect(m_jobProcess.get(), &QProcess::readyReadStandardError, this, &CutClipJob::processLogInfo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment