Feat fix precommit (#280)

* add version file, fix pre-commit
This commit is contained in:
Markos Gogoulos 2021-08-20 14:16:19 +03:00 committed by GitHub
parent 48838ac406
commit 2ce8dba163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 10 deletions

View file

@ -3,7 +3,6 @@
import hashlib
import json
import math
import os
import random
import shutil
@ -707,7 +706,6 @@ def produce_ffmpeg_commands(media_file, media_info, resolution, codec, output_fi
# target_fps = 25
# else:
if media_info.get("video_duration") > CRF_ENCODING_NUM_SECONDS:
enc_type = "crf"
else:
@ -718,7 +716,6 @@ def produce_ffmpeg_commands(media_file, media_info, resolution, codec, output_fi
elif enc_type == "crf":
passes = [2]
cmds = []
for pass_number in passes:
cmds.append(

1
version.py Normal file
View file

@ -0,0 +1 @@
1.6