fix some bugs
This commit is contained in:
parent
bd8d57b6b0
commit
24d684564e
2 changed files with 1 additions and 2 deletions
|
@ -152,7 +152,6 @@ async def query_database():
|
|||
)
|
||||
embed.set_thumbnail(url=thumb_url)
|
||||
embed.add_field(name='Download MP4', value=f'[Download Video]({video_url})', inline=False)
|
||||
embed.set_author(name='DeflaxTV', icon_url=bot.user.avatar_url)
|
||||
|
||||
# Sending the embed to the channel
|
||||
await live_channel.send(embed=embed)
|
||||
|
|
|
@ -214,7 +214,7 @@ def exec_recorder(stream_id, stream_hls_url):
|
|||
# Generate thumbnail image from the recorded mp4 file
|
||||
ffmpeg_thumb = (
|
||||
FFmpeg()
|
||||
.input(video_output, thumb_skip_time)
|
||||
.input(video_output, ss=thumb_skip_time)
|
||||
.filter('scale', thumb_width, -1)
|
||||
.output(thumb_output, vframes=1)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue