oopsie
master
Puyodead1 2024-03-17 14:10:56 -04:00 committed by GitHub
parent 72473188df
commit 7f522ebebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1263,7 +1263,7 @@ def mux_process(video_title, video_filepath, audio_filepath, output_path):
@author Jayapraveen
"""
codec = "hevc_nvenc" if use_nvenc else "libx265"
transcode = "-hwaccel cuda -hwaccel_output_format cuda" if use_nvenc else []
transcode = "-hwaccel cuda -hwaccel_output_format cuda" if use_nvenc else ""
if os.name == "nt":
if use_h265:
command = 'ffmpeg {} -y -i "{}" -i "{}" -c:v {} -vtag hvc1 -crf {} -preset {} -c:a copy -fflags +bitexact -map_metadata -1 -metadata title="{}" "{}"'.format(