This commit is contained in:
parent
b4de055429
commit
47a65eb8f7
@ -375,7 +375,8 @@ def main(inputfile: str, outputpath: str = "encodes", keepencodes: bool = False)
|
||||
"FFMPEG error. Failed encoding "
|
||||
+ inputfile
|
||||
+ " to "
|
||||
+ outputfile,
|
||||
+ outputfile
|
||||
+ "\n"
|
||||
)
|
||||
|
||||
endtime = now()
|
||||
@ -388,7 +389,9 @@ def main(inputfile: str, outputpath: str = "encodes", keepencodes: bool = False)
|
||||
except ffmpy.FFRuntimeError:
|
||||
with open("error.log", "a") as file:
|
||||
file.write(
|
||||
"FFMPEG error. To calculate VMAF score of " + outputfile
|
||||
"FFMPEG error. To calculate VMAF score of "
|
||||
+ outputfile
|
||||
+ "\n"
|
||||
)
|
||||
|
||||
try:
|
||||
@ -396,7 +399,9 @@ def main(inputfile: str, outputpath: str = "encodes", keepencodes: bool = False)
|
||||
except ffmpy.FFRuntimeError:
|
||||
with open("error.log", "a") as file:
|
||||
file.write(
|
||||
"FFMPEG error. To calculate SSIM score of " + outputfile
|
||||
"FFMPEG error. To calculate SSIM score of "
|
||||
+ outputfile
|
||||
+ "\n"
|
||||
)
|
||||
|
||||
try:
|
||||
@ -404,7 +409,9 @@ def main(inputfile: str, outputpath: str = "encodes", keepencodes: bool = False)
|
||||
except ffmpy.FFRuntimeError:
|
||||
with open("error.log", "a") as file:
|
||||
file.write(
|
||||
"FFMPEG error. To calculate MSE score of " + outputfile
|
||||
"FFMPEG error. To calculate MSE score of "
|
||||
+ outputfile
|
||||
+ "\n"
|
||||
)
|
||||
|
||||
write_line(
|
||||
|
Loading…
Reference in New Issue
Block a user