From b5bbe85e1c1730d3b69be096f1d9cae3c174885a Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Wed, 16 Aug 2023 21:59:34 +0900 Subject: [PATCH] don't map data stream, fixes #20 --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 7c7e12b..7059e2d 100644 --- a/main.lua +++ b/main.lua @@ -54,9 +54,9 @@ ACTIONS.COPY = function(d) "-ss", d.start_time, "-t", d.duration, "-i", d.inpath, - "-pix_fmt", "yuv420p", "-c", "copy", "-map", "0", + "-dn", "-avoid_negative_ts", "make_zero", utils.join_path(d.indir, "COPY_" .. d.channel .. "_" .. d.infile_noext .. "_FROM_" .. d.start_time_hms .. "_TO_" .. d.end_time_hms .. d.ext) }