Merge pull request #1 from thebetauser/thebetauser-patch-1

Update main.py
This commit is contained in:
h1pp0 2024-06-16 08:55:15 -04:00 committed by GitHub
commit 904cc41543
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1277,7 +1277,7 @@ def mux_process(video_title, video_filepath, audio_filepath, output_path):
transcode, video_filepath, audio_filepath, codec, h265_crf, h265_preset, video_title, output_path transcode, video_filepath, audio_filepath, codec, h265_crf, h265_preset, video_title, output_path
) )
else: else:
command = 'nice -n 7 ffmpeg -y -i "{}" -i "{}" -c:v copy -c:a copy -fflags +bitexact -map_metadata -1 -metadata title="{}" "{}"'.format( command = 'nice -n 7 ffmpeg -y -i "{}" -i "{}" -c:v copy -c:a copy -fflags +bitexact -shortest -map_metadata -1 -metadata title="{}" "{}"'.format(
video_filepath, audio_filepath, video_title, output_path video_filepath, audio_filepath, video_title, output_path
) )