From f85d40a10735cd8f65551f7400bf3c582bc5488b Mon Sep 17 00:00:00 2001 From: Hezekiah Michael Date: Sat, 5 Aug 2023 20:38:04 -0400 Subject: [PATCH 1/2] fix mp3 concatenation --- odmpy/processing/shared.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/odmpy/processing/shared.py b/odmpy/processing/shared.py index 669d5df..e11525f 100644 --- a/odmpy/processing/shared.py +++ b/odmpy/processing/shared.py @@ -402,6 +402,8 @@ def merge_into_mp3( f"concat:{'|'.join([str(ft['file']) for ft in file_tracks])}", "-acodec", "copy", + "-c", + "copy", "-b:a", f"{audio_bitrate}k" if audio_bitrate From 32876ec67d5cfb98d12594a9410146e905309a41 Mon Sep 17 00:00:00 2001 From: Hezekiah Michael Date: Sat, 5 Aug 2023 21:10:00 -0400 Subject: [PATCH 2/2] use -vcodec instead of -c --- odmpy/processing/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odmpy/processing/shared.py b/odmpy/processing/shared.py index e11525f..59a6e88 100644 --- a/odmpy/processing/shared.py +++ b/odmpy/processing/shared.py @@ -402,7 +402,7 @@ def merge_into_mp3( f"concat:{'|'.join([str(ft['file']) for ft in file_tracks])}", "-acodec", "copy", - "-c", + "-vcodec", "copy", "-b:a", f"{audio_bitrate}k"