don't map data stream, fixes #20

This commit is contained in:
familyfriendlymikey 2023-08-16 21:59:34 +09:00
parent a313ffaf87
commit b5bbe85e1c

View File

@ -54,9 +54,9 @@ ACTIONS.COPY = function(d)
"-ss", d.start_time, "-ss", d.start_time,
"-t", d.duration, "-t", d.duration,
"-i", d.inpath, "-i", d.inpath,
"-pix_fmt", "yuv420p",
"-c", "copy", "-c", "copy",
"-map", "0", "-map", "0",
"-dn",
"-avoid_negative_ts", "make_zero", "-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) utils.join_path(d.indir, "COPY_" .. d.channel .. "_" .. d.infile_noext .. "_FROM_" .. d.start_time_hms .. "_TO_" .. d.end_time_hms .. d.ext)
} }