mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #8113] Calculate output audio bitrate from output channel count #11618
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/8113
State: closed
Merged: No
384kbps is unnecessarily high for stereo output with our encoders and sending data over network is expensive. This commit introduces logic for calculating output bitrate based on output channel count, like this:
That means transcoded stereo output in hls is going to be at most 256kbps, mono 128kbps, surround 640kbps, etc.
This is a relatively small change I hope could get to users before the next major version, therefore this PR is for 10.8.z.