diff --git a/ScreenPlay/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaperInit.qml b/ScreenPlay/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaperInit.qml index 6652fdcd..9c442525 100644 --- a/ScreenPlay/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaperInit.qml +++ b/ScreenPlay/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaperInit.qml @@ -77,10 +77,10 @@ Item { id: sliderQuality iconSource: "qrc:/assets/icons/icon_settings.svg" headline: qsTr( - "Quality slider. Greater value means better quality.") + "Quality slider. Lower value means better quality.") slider { from: 4 - value: 50 + value: 23 to: 63 stepSize: 1 } diff --git a/ScreenPlay/qml/Workshop/Navigation.qml b/ScreenPlay/qml/Workshop/Navigation.qml index 156e567d..d3c3695b 100644 --- a/ScreenPlay/qml/Workshop/Navigation.qml +++ b/ScreenPlay/qml/Workshop/Navigation.qml @@ -6,7 +6,6 @@ import QtGraphicalEffects 1.0 import QtQuick.Controls.Material.impl 2.12 import ScreenPlay.Workshop 1.0 -import ScreenPlay.Workshop.SteamEnums 1.0 import SteamQMLImageProvider 1.0 import ScreenPlay 1.0 diff --git a/ScreenPlay/src/createimportvideo.cpp b/ScreenPlay/src/createimportvideo.cpp index e9eb7324..3db4ad62 100644 --- a/ScreenPlay/src/createimportvideo.cpp +++ b/ScreenPlay/src/createimportvideo.cpp @@ -609,6 +609,15 @@ bool CreateImportVideo::createWallpaperVideo() if (m_codec == "av1") args.append("libaom-av1"); args.append("-b:v"); + args.append("3000k"); + args.append("-threads"); + args.append(QString::number(QThread::idealThreadCount())); + qInfo() << "threads" << QThread::idealThreadCount() << "m_quality" << m_quality; + args.append("-speed"); + args.append("4"); + args.append("-tile-columns"); + args.append("0"); + args.append("-frame-parallel"); args.append("0"); args.append("-crf"); args.append(QString::number(m_quality)); @@ -643,7 +652,19 @@ bool CreateImportVideo::createWallpaperVideo() if (m_codec == "av1") args.append("libaom-av1"); args.append("-b:v"); + args.append("3000k"); + args.append("-threads"); + args.append(QString::number(QThread::idealThreadCount())); + args.append("-speed"); args.append("0"); + args.append("-tile-columns"); + args.append("0"); + args.append("-frame-parallel"); + args.append("0"); + args.append("-auto-alt-ref"); + args.append("1"); + args.append("-lag-in-frames"); + args.append("25"); args.append("-crf"); args.append(QString::number(m_quality)); args.append("-pass");