兼容安卓手机不能分享生成视频的问题

This commit is contained in:
YaoFANGUK
2024-01-04 14:33:33 +08:00
parent fda9024084
commit f9dd30fddf
4 changed files with 7 additions and 4 deletions

View File

@@ -845,7 +845,7 @@ class SubtitleRemover:
audio_merge_command = [config.FFMPEG_PATH,
"-y", "-i", self.video_temp_file.name,
"-i", temp.name,
"-vcodec", "copy",
"-vcodec", "libx264" if config.USE_H264 else "copy",
"-acodec", "copy",
"-loglevel", "error", self.video_out_name]
try: