[GH-ISSUE #55] Audio: investigate better encoding defaults #35

Closed
opened 2026-10-15 12:54:59 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @ABeltramo on GitHub (Jan 2, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/55

From Discord:

I played around with the settings a bit. I think I set some of these numbers too high, but I don't want to mess with it as it sounds much better. I think what really solved it was changing bitrate-type="constrained-vbr".
Here's all the stuff I threw in there:

default_audio_params = "audio/x-raw, channels={channels}"
default_opus_encoder = """
opusenc bitrate=4000000 bitrate-type="constrained-vbr" frame-size={packet_duration} bandwidth=fullband audio-type="restricted-lowdelay"
max-payload-size=8000 complexity=100
\
"""

I probably set things way too high. It sounds MUCH better though.

Originally created by @ABeltramo on GitHub (Jan 2, 2024). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/55 From Discord: > I played around with the settings a bit. I think I set some of these numbers too high, but I don't want to mess with it as it sounds much better. I think what really solved it was changing bitrate-type="constrained-vbr". Here's all the stuff I threw in there: ``` default_audio_params = "audio/x-raw, channels={channels}" default_opus_encoder = """ opusenc bitrate=4000000 bitrate-type="constrained-vbr" frame-size={packet_duration} bandwidth=fullband audio-type="restricted-lowdelay" max-payload-size=8000 complexity=100 \ """ ``` > I probably set things way too high. It sounds MUCH better though.
bsakaguchi 2026-10-15 12:54:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#35
No description provided.