1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-20 01:11:47 +02:00

Add better video import quality

This commit is contained in:
Elias Steurer 2019-12-22 21:12:06 +01:00
parent b6f275065c
commit c463e748d1

View File

@ -420,12 +420,14 @@ bool CreateImportVideo::createWallpaperVideo()
args.append(m_videoPath);
args.append("-c:v");
args.append("libvpx");
args.append("-crf");
args.append("30");
args.append("-pix_fmt");
args.append("yuv420p");
args.append("-b:v");
args.append("-qmin");
args.append("0");
args.append("-qmax");
args.append("50");
args.append("-crf");
args.append("5");
args.append("-b:v");
args.append("5M");
QFileInfo file(m_videoPath);
QString convertedFileAbsolutePath { m_exportPath + "/" + file.baseName() + ".webm" };