Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
b01ca25b
Commit
b01ca25b
authored
Mar 17, 2021
by
Jonny Scholes
Browse files
Fix flake 8 issue
parent
7e156b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
wagtailvideos/ffmpeg.py
View file @
b01ca25b
...
...
@@ -60,7 +60,7 @@ def get_thumbnail(file_path):
'-vcodec'
,
'mjpeg'
,
'-vframes'
,
'1'
,
'-an'
,
'-f'
,
'rawvideo'
,
'-vf'
,
'scale=iw:-1'
,
# Make thumbnail the size & aspect ratio of the input video
'-vf'
,
'scale=iw:-1'
,
# Make thumbnail the size & aspect ratio of the input video
output_file
,
],
stdin
=
DEVNULL
(),
stdout
=
DEVNULL
())
except
subprocess
.
CalledProcessError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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