unMcFucking

This commit is contained in:
Elghinnarisa
2022-09-09 19:50:39 +02:00
parent db2ff6ebfd
commit 19ad920d93
17 changed files with 459 additions and 39 deletions

4
functiontest.py Normal file
View File

@@ -0,0 +1,4 @@
import os
def function(file="", output_path="", output_folder_name=""):
basename = os.path.basename(file)
return 'ffmpeg.exe -i "{file}" -map 0:v -c:v libx265 -preset slow -crf 20 -x265-params "level=51:no-sao=1:bframes=8:psy-rd=1.5:psy-rdoq=5:aq-mode=3:ref=6" -pix_fmt yuv420p10le -map 0:a -c:a libopus -b:a 192k -f matroska "{output_path}{output_folder_name}{basename}"'.format(file=file, output_path=output_path, output_folder_name=output_folder_name, basename=basename)