yangjie10930/EpMedia

可以命令实现视频裁剪到毫秒级吗

wuxinggege008 opened this issue · 1 comments

String cmd = "-ss " + start + " -t " + duration + " -i " + inputFile + " -vcodec copy -acodec copy " + outputFile;
如 start = 00:01:33.4
如 duration = 00:03:24.9

cmd = "-ss " + start + " -t " + duration + " -accurate_seek" + " -i " + inputFile + " -codec copy -avoid_negative_ts 1 " + outputFile