mirror of
https://github.com/nxshock/promodj.git
synced 2025-06-30 23:43:36 +05:00
Fix custom bitrate handling
This commit is contained in:
parent
09c8b3d69e
commit
4451458dc2
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func encode(url string, w io.Writer, bitrateKbps uint64) error {
|
|||
"-i", url,
|
||||
"-vn",
|
||||
"-c:a", config.Codec,
|
||||
"-b:a", fmt.Sprintf("%dk", config.Bitrate),
|
||||
"-b:a", fmt.Sprintf("%dk", bitrateKbps),
|
||||
"-f", config.Format,
|
||||
"-ac", "2",
|
||||
"pipe:1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue