Make encode bit-exact

This ensures only files that were actually changed have to be uploaded
on deploy.
This commit is contained in:
Simon Bruder 2022-01-28 14:50:56 +01:00
parent cb6ccc54a4
commit 9c14f1bb19
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -50,6 +50,7 @@ def encode_episode(podcast, episode, format):
if format == "m4a":
command.extend(["-c:a", "libfdk_aac"])
command.extend(["-c:v", "copy"])
command.extend(["-bitexact"]) # deterministic output
command.extend(options)
for k, v in tags.items():
command.extend(["-metadata", f"{k}={v}"])