mirror of
https://github.com/nxshock/promodj.git
synced 2025-07-01 23:53:35 +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,
|
"-i", url,
|
||||||
"-vn",
|
"-vn",
|
||||||
"-c:a", config.Codec,
|
"-c:a", config.Codec,
|
||||||
"-b:a", fmt.Sprintf("%dk", config.Bitrate),
|
"-b:a", fmt.Sprintf("%dk", bitrateKbps),
|
||||||
"-f", config.Format,
|
"-f", config.Format,
|
||||||
"-ac", "2",
|
"-ac", "2",
|
||||||
"pipe:1")
|
"pipe:1")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue