From 84f7f50ea1355d827199b822f3cc143a37ef82b3 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 7 Dec 2020 14:22:29 +0800 Subject: [PATCH] [bugfix] fix keyframe --- gui/mpv/scripts/cut.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mpv/scripts/cut.lua b/gui/mpv/scripts/cut.lua index 9aa5896..e6ec77c 100644 --- a/gui/mpv/scripts/cut.lua +++ b/gui/mpv/scripts/cut.lua @@ -26,7 +26,7 @@ function output_marked() }) output_file = utils.join_path(output_dir, file) utils.subprocess({ - args={'ffmpeg', '-i', path, '-ss', tostring(ss), '-t', tostring(t), '-c', 'copy', output_file}, + args={'ffmpeg', '-ss', tostring(ss), '-i', path, '-t', tostring(t), '-c', 'copy', output_file}, cancellable=false }) mp.osd_message('Clip save to ' .. output_file)