From ea00099055b65c5857d2d0b32491bb1afee4106a Mon Sep 17 00:00:00 2001 From: nilaoda Date: Fri, 28 Oct 2022 23:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0`-nostdin`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/Util/MergeUtil.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/N_m3u8DL-RE/Util/MergeUtil.cs b/src/N_m3u8DL-RE/Util/MergeUtil.cs index 5917e5b..965d73d 100644 --- a/src/N_m3u8DL-RE/Util/MergeUtil.cs +++ b/src/N_m3u8DL-RE/Util/MergeUtil.cs @@ -117,7 +117,7 @@ namespace N_m3u8DL_RE.Util string dateString = string.IsNullOrEmpty(recTime) ? DateTime.Now.ToString("o") : recTime; - StringBuilder command = new StringBuilder("-loglevel warning -i concat:\""); + StringBuilder command = new StringBuilder("-loglevel warning -nostdin -i concat:\""); string ddpAudio = string.Empty; string addPoster = "-map 1 -c:v:1 copy -disposition:v:1 attached_pic"; ddpAudio = (File.Exists($"{Path.GetFileNameWithoutExtension(outputPath + ".mp4")}.txt") ? File.ReadAllText($"{Path.GetFileNameWithoutExtension(outputPath + ".mp4")}.txt") : ""); @@ -179,7 +179,7 @@ namespace N_m3u8DL_RE.Util { var ext = mp4 ? "mp4" : "mkv"; string dateString = DateTime.Now.ToString("o"); - StringBuilder command = new StringBuilder("-loglevel warning -y "); + StringBuilder command = new StringBuilder("-loglevel warning -nostdin -y "); //INPUT foreach (var item in files)