From de5b2d9ca7302ade711d9dfb32b2fe8047f55cc2 Mon Sep 17 00:00:00 2001 From: historia Date: Tue, 18 Aug 2026 03:00:16 -0400 Subject: feat: support .ogg and .flac output --- tests/test_audio.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_audio.py') diff --git a/tests/test_audio.py b/tests/test_audio.py index 7e782cc..7116e2b 100644 --- a/tests/test_audio.py +++ b/tests/test_audio.py @@ -90,6 +90,12 @@ class EncodeArgsTests(unittest.TestCase): def test_wav_is_lossless_pcm(self): self.assertEqual(_encode_args("wav"), ["-c:a", "pcm_s16le"]) + def test_ogg_uses_libvorbis(self): + self.assertEqual(_encode_args("ogg"), ["-c:a", "libvorbis", "-b:a", config.AUDIO_BITRATE]) + + def test_flac_is_lossless(self): + self.assertEqual(_encode_args("flac"), ["-c:a", "flac"]) + class M4bContainerArgsTests(unittest.TestCase): def setUp(self): -- cgit v1.2.3