Make encode bit-exact

This ensures only files that were actually changed have to be uploaded
on deploy.
Simon Bruder 2022-01-28 14:50:56 +01:00
parent cb6ccc54a4
commit 9c14f1bb19
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 0 deletions

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
for k, v in tags.items():
command.extend(["-metadata", f"{k}={v}"])