Skip to content

Commit 8fb956c

Browse files
OmLankeplun1331Lulalaby
authored
feat: suppress FFMPEG output (#1993)
* supress ffmpeg output * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: plun1331 <[email protected]> Signed-off-by: Om <[email protected]> --------- Signed-off-by: Om <[email protected]> Co-authored-by: plun1331 <[email protected]> Co-authored-by: Lala Sabathil <[email protected]>
1 parent 4584bec commit 8fb956c

File tree

7 files changed

+17
-0
lines changed

7 files changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ These changes are available on the `master` branch, but have not yet been releas
3636
- Removed `@client.once()` in favour of `@client.listen(once=True)`.
3737
([#1957](https://github.com/Pycord-Development/pycord/pull/1957))
3838

39+
### Changed
40+
41+
- Suppressed FFMPEG output when recording voice channels.
42+
([#1993](https://github.com/Pycord-Development/pycord/pull/1993))
43+
3944
### Fixed
4045

4146
- Fixed `AttributeError` caused by

discord/sinks/m4a.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def format_audio(self, audio):
6767
"s16le",
6868
"-ar",
6969
"48000",
70+
"-loglevel",
71+
"error",
7072
"-ac",
7173
"2",
7274
"-i",

discord/sinks/mka.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def format_audio(self, audio):
6464
"s16le",
6565
"-ar",
6666
"48000",
67+
"-loglevel",
68+
"error",
6769
"-ac",
6870
"2",
6971
"-i",

discord/sinks/mkv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def format_audio(self, audio):
6464
"s16le",
6565
"-ar",
6666
"48000",
67+
"-loglevel",
68+
"error",
6769
"-ac",
6870
"2",
6971
"-i",

discord/sinks/mp3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def format_audio(self, audio):
6464
"s16le",
6565
"-ar",
6666
"48000",
67+
"-loglevel",
68+
"error",
6769
"-ac",
6870
"2",
6971
"-i",

discord/sinks/mp4.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def format_audio(self, audio):
6767
"s16le",
6868
"-ar",
6969
"48000",
70+
"-loglevel",
71+
"error",
7072
"-ac",
7173
"2",
7274
"-i",

discord/sinks/ogg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def format_audio(self, audio):
6464
"s16le",
6565
"-ar",
6666
"48000",
67+
"-loglevel",
68+
"error",
6769
"-ac",
6870
"2",
6971
"-i",

0 commit comments

Comments
 (0)