mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Bugfix: -o m4a would fail [Fixes #720]
In FFmpeg, a given encoding may not always point to the same format string.
This commit is contained in:
@@ -48,7 +48,7 @@ class TestEncodingDefaults:
|
||||
'-acodec', 'copy',
|
||||
'-b:a', '192k',
|
||||
'-vn',
|
||||
'-f', 'm4a',
|
||||
'-f', 'mp4',
|
||||
target_path
|
||||
]
|
||||
return command
|
||||
@@ -112,7 +112,7 @@ class TestEncodingInDebugMode:
|
||||
'-acodec', 'copy',
|
||||
'-b:a', '192k',
|
||||
'-vn',
|
||||
'-f', 'm4a',
|
||||
'-f', 'mp4',
|
||||
target_path
|
||||
]
|
||||
return command
|
||||
@@ -180,7 +180,7 @@ class TestEncodingAndTrimSilence:
|
||||
'-b:a', '192k',
|
||||
'-vn',
|
||||
'-af', 'silenceremove=start_periods=1',
|
||||
'-f', 'm4a',
|
||||
'-f', 'mp4',
|
||||
target_path
|
||||
]
|
||||
return command
|
||||
|
||||
Reference in New Issue
Block a user