Skip to content

🎧 Your Personal Streaming Service

Fix default mp3 encoding ffmpeg command

Deluan559848299ce2
diff --git a/consts/consts.go b/consts/consts.go
index a123959c9..48c021758 100644
--- a/consts/consts.go
+++ b/consts/consts.go
@@ -35,7 +35,7 @@ var (
"name": "mp3 audio",
"targetFormat": "mp3",
"defaultBitRate": 192,
- "command": "ffmpeg -i %s -ab %bk -v 0 -f mp3 -",
+ "command": "ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -",
},
{
"name": "opus audio",