mirror of
https://github.com/nxshock/promodj.git
synced 2024-11-27 03:01:01 +05:00
Fix custom bitrate handling
This commit is contained in:
parent
09c8b3d69e
commit
4451458dc2
@ -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…
Reference in New Issue
Block a user