You've already forked VptPassiveAdapter
调整切割逻辑,提前检测文件夹配置
This commit is contained in:
@ -177,10 +177,11 @@ func QuickVideoCut(inputFile string, offset, length int64, outputFile string) (b
|
||||
FfmpegExec,
|
||||
"-hide_banner",
|
||||
"-y",
|
||||
"-ss", strconv.FormatInt(offset, 10),
|
||||
"-i", inputFile,
|
||||
"-c:v", "copy",
|
||||
"-an",
|
||||
"-reset_timestamps", "1",
|
||||
"-ss", strconv.FormatInt(offset, 10),
|
||||
"-t", strconv.FormatInt(length, 10),
|
||||
"-f", "mp4",
|
||||
outputFile,
|
||||
|
Reference in New Issue
Block a user