Rename output folder to encodes
Some checks failed
ci/woodpecker/push/linting Pipeline failed

This commit is contained in:
RealStickman 2022-11-09 19:51:31 +01:00
parent cbed1907da
commit dd952f9243
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
vmaf.json
*.csv
encoded/
encodes/
*.log

View File

@ -266,8 +266,8 @@ def score_psnr(outputfile: str, inputfile: str) -> float:
if __name__ == "__main__":
if not os.path.isdir("encoded"):
os.mkdir("encoded")
if not os.path.isdir("encodes"):
os.mkdir("encodes")
datafile = version + "-data-" + str(now()) + ".csv"
@ -294,7 +294,7 @@ if __name__ == "__main__":
for crf in encoding[codec]["crf"]:
for preset in encoding[codec]["presets"]:
outputfile = os.path.join(
"encoded",
"encodes",
(
"Sparks_in_Blender-codec_"
+ codec