Skip to content

Commit

Permalink
fix: 因記憶體用量問題,停用「自動剪輯」的淡入淡出功能
Browse files Browse the repository at this point in the history
Signed-off-by: Allen95Wei <[email protected]>
  • Loading branch information
Alllen95Wei committed Dec 21, 2024
1 parent a54815a commit 62da6f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cogs/holodex.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ async def callback(interaction: Interaction):
embed=embed,
view=None,
)
v_editor = youtube_download.VideoEditor(file_path, use_ffmpeg=True)
await Basics.run_blocking(self.bot, v_editor.fade, 0.5)
await Basics.run_blocking(self.bot, v_editor.save_video)
# v_editor = youtube_download.VideoEditor(file_path, use_ffmpeg=True)
# await Basics.run_blocking(self.bot, v_editor.fade, 0.5)
# await Basics.run_blocking(self.bot, v_editor.save_video)
yt_uploader = youtube_api.YouTubeUploader(
file_path=file_path,
title=clip_title,
Expand Down

0 comments on commit 62da6f9

Please sign in to comment.