Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void FenPrincipale::startEncode()
- {
- QString commandFirstPass = m_pathEncoder + " --profile high --level 4.1 --preset faster --pass 1 --stats m_pathStats --bitrate " + ui->editBitrate->text() + " --threads auto --bframes 3 --b-pyramid normal --me dia --weightp 0 --ref 1 --subme 1 --direct auto --no-dct-decimate --no-mbtree --partitions none --output NUL " + m_pathAvs;
- QProcess *firstPassProcess = new QProcess(this);
- firstPassProcess->start(commandFirstPass);
- connect(firstPassProcess, SIGNAL(readyReadStandardError()), this, SLOT(readOutput()));
- }
- void FenPrincipale::readOutput()
- {
- qDebug(firstPassProcess->readAllStandardError());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement