From 4d9a11f262ddb48ca55029d2eb4788f9505f8504 Mon Sep 17 00:00:00 2001 From: JovannMC Date: Wed, 28 May 2025 19:05:14 +0300 Subject: [PATCH] fix: update supported audio formats .alacs don't exist in the wild, you'd only find them as .m4a amr can only be converted from, not to (need to build ffmpeg with the encoder) --- src/lib/converters/ffmpeg.svelte.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/converters/ffmpeg.svelte.ts b/src/lib/converters/ffmpeg.svelte.ts index b866f6d..99489b5 100644 --- a/src/lib/converters/ffmpeg.svelte.ts +++ b/src/lib/converters/ffmpeg.svelte.ts @@ -21,9 +21,8 @@ export class FFmpegConverter extends Converter { new FormatInfo("m4a"), ...videoFormats.map((f) => new FormatInfo(f, true, true, false)), new FormatInfo("wma"), - new FormatInfo("amr"), + new FormatInfo("amr", true, false), new FormatInfo("ac3"), - new FormatInfo("alac"), new FormatInfo("aiff"), ];