make ffmpeg_thumb python-ffmpeg compatible
This commit is contained in:
parent
24d684564e
commit
aed95d6577
1 changed files with 1 additions and 2 deletions
|
@ -215,8 +215,7 @@ def exec_recorder(stream_id, stream_hls_url):
|
||||||
ffmpeg_thumb = (
|
ffmpeg_thumb = (
|
||||||
FFmpeg()
|
FFmpeg()
|
||||||
.input(video_output, ss=thumb_skip_time)
|
.input(video_output, ss=thumb_skip_time)
|
||||||
.filter('scale', thumb_width, -1)
|
.output(thumb_output, vf='scale={}:{}'.format(thumb_width, -1), vframes=1)
|
||||||
.output(thumb_output, vframes=1)
|
|
||||||
)
|
)
|
||||||
ffmpeg_thumb.execute()
|
ffmpeg_thumb.execute()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue