Browse Source

Make encode bit-exact

This ensures only files that were actually changed have to be uploaded
on deploy.
master
Simon Bruder 8 months ago
parent
commit
9c14f1bb19
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
  1. 1
      encode.py

1
encode.py

@ -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}"])

Loading…
Cancel
Save