Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: suppress FFMPEG output #1993

Merged
merged 8 commits into from Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -31,6 +31,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 VC
OmLanke marked this conversation as resolved.
Show resolved Hide resolved
([#1993](https://github.com/Pycord-Development/pycord/pull/1993))

### Fixed

- Fixed `AttributeError` caused by
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/m4a.py
Expand Up @@ -67,6 +67,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/mka.py
Expand Up @@ -64,6 +64,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/mkv.py
Expand Up @@ -64,6 +64,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/mp3.py
Expand Up @@ -64,6 +64,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/mp4.py
Expand Up @@ -67,6 +67,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down
2 changes: 2 additions & 0 deletions discord/sinks/ogg.py
Expand Up @@ -64,6 +64,8 @@ def format_audio(self, audio):
"s16le",
"-ar",
"48000",
"-loglevel",
"error",
"-ac",
"2",
"-i",
Expand Down