Commit d1d933b6 authored by Elias Steurer's avatar Elias Steurer 🇩🇪

Decrease scale of preview because steam does not allow large previews

In the docs it state 1mb, in the manual upload it states 2mb!?!
parent f49fa0dc
Pipeline #238735352 passed with stages
in 9 minutes and 45 seconds
......@@ -380,7 +380,7 @@ bool CreateImportVideo::createWallpaperVideoPreview()
// We allways want to have a 5 second clip via 24fps -> 120 frames
// Divided by the number of frames we can skip (timeInSeconds * Framrate)
// scale & crop parameter: https://unix.stackexchange.com/a/284731
args.append("select='not(mod(n," + QString::number((m_length / 5)) + "))',setpts=N/FRAME_RATE/TB,crop=in_h*16/9:in_h,scale=-2:400");
args.append("select='not(mod(n," + QString::number((m_length / 5)) + "))',setpts=N/FRAME_RATE/TB,crop=in_h*16/9:in_h,scale=-2:120");
}
// Disable audio
args.append("-an");
......
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