From 6ac8c263b48eefe7cdd4d91f7930ce30070e09fc Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 9 Sep 2021 20:02:59 +0700 Subject: [PATCH] fixes --- bot/videoplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/videoplayer.py b/bot/videoplayer.py index f42904a..189be6a 100644 --- a/bot/videoplayer.py +++ b/bot/videoplayer.py @@ -22,7 +22,7 @@ FFMPEG_PROCESSES = {} def raw_converter(dl, song, video): subprocess.Popen( - ['ffmpeg', '-i', dl, '-f', 's16le', '-ac', '1', '-ar', '48000', song, '-y', '-f', 'rawvideo', '-r', '20', '-pix_fmt', 'yuv420p', '-vf', 'scale=1280:720', video, '-y'], + ['ffmpeg', '-i', dl, '-f', 's16le', '-ac', '1', '-ar', '48000', song, '-y', '-f', 'rawvideo', '-r', '20', '-pix_fmt', 'yuv420p', '-vf', 'scale=854:480', video, '-y'], stdin=None, stdout=None, stderr=None,