mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Add presets to FFmpeg in menu
This commit is contained in:
@ -28,3 +28,12 @@ module.exports.cropMaxWidth = (image) => {
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
// Presets for FFmpeg
|
||||
module.exports.presets = {
|
||||
"None (defaults to mp3)": undefined,
|
||||
opus: {
|
||||
extension: "opus",
|
||||
ffmpegArgs: ["-acodec", "libopus"],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user