diff --git a/CHANGELOG.md b/CHANGELOG.md index b7e6fc3126..c4434ec0d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,11 @@ These changes are available on the `master` branch, but have not yet been releas - Removed `@client.once()` in favour of `@client.listen(once=True)`. ([#1957](https://github.com/Pycord-Development/pycord/pull/1957)) +### Changed + +- Suppressed FFMPEG output when recording voice channels. + ([#1993](https://github.com/Pycord-Development/pycord/pull/1993)) + ### Fixed - Fixed `AttributeError` caused by diff --git a/discord/sinks/m4a.py b/discord/sinks/m4a.py index 497a22225f..6b65e3653c 100644 --- a/discord/sinks/m4a.py +++ b/discord/sinks/m4a.py @@ -67,6 +67,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i", diff --git a/discord/sinks/mka.py b/discord/sinks/mka.py index 830954a9d3..819608d368 100644 --- a/discord/sinks/mka.py +++ b/discord/sinks/mka.py @@ -64,6 +64,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i", diff --git a/discord/sinks/mkv.py b/discord/sinks/mkv.py index e1ed4ca78e..2071c1ae4f 100644 --- a/discord/sinks/mkv.py +++ b/discord/sinks/mkv.py @@ -64,6 +64,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i", diff --git a/discord/sinks/mp3.py b/discord/sinks/mp3.py index 96fa8a562d..c4707eb5ed 100644 --- a/discord/sinks/mp3.py +++ b/discord/sinks/mp3.py @@ -64,6 +64,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i", diff --git a/discord/sinks/mp4.py b/discord/sinks/mp4.py index 3168452e47..9f540c6c29 100644 --- a/discord/sinks/mp4.py +++ b/discord/sinks/mp4.py @@ -67,6 +67,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i", diff --git a/discord/sinks/ogg.py b/discord/sinks/ogg.py index 759b97d53a..09abcfc402 100644 --- a/discord/sinks/ogg.py +++ b/discord/sinks/ogg.py @@ -64,6 +64,8 @@ def format_audio(self, audio): "s16le", "-ar", "48000", + "-loglevel", + "error", "-ac", "2", "-i",