Add mp3 preset for ffmpeg

This commit is contained in:
Alexey Khit
2023-01-27 17:10:41 +03:00
parent ec56227900
commit e93d89ec96
+1
View File
@@ -67,6 +67,7 @@ var defaults = map[string]string{
"pcma/48000": "-c:a pcm_alaw -ar:a 48000 -ac:a 1",
"aac": "-c:a aac", // keep sample rate and channels
"aac/16000": "-c:a aac -ar:a 16000 -ac:a 1",
"mp3": "-c:a libmp3lame -q:a 8",
// hardware Intel and AMD on Linux
// better not to set `-async_depth:v 1` like for QSV, because framedrops