可以命令实现视频裁剪到毫秒级吗
wuxinggege008 opened this issue · 1 comments
wuxinggege008 commented
String cmd = "-ss " + start + " -t " + duration + " -i " + inputFile + " -vcodec copy -acodec copy " + outputFile;
如 start = 00:01:33.4
如 duration = 00:03:24.9
wuxinggege008 commented
cmd = "-ss " + start + " -t " + duration + " -accurate_seek" + " -i " + inputFile + " -codec copy -avoid_negative_ts 1 " + outputFile
可