Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Elias Steurer
ScreenPlay
Commits
d1d933b6
Commit
d1d933b6
authored
Jan 07, 2021
by
Elias Steurer
🇪🇺
Browse files
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ScreenPlay/src/createimportvideo.cpp
View file @
d1d933b6
...
...
@@ -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:
40
0"
);
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:
12
0"
);
}
// Disable audio
args
.
append
(
"-an"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment