VideoClipEditViewTest icon indicating copy to clipboard operation
VideoClipEditViewTest copied to clipboard

视频裁剪都是0秒开始裁剪

Open w2282346548 opened this issue 5 years ago • 4 comments

w2282346548 avatar Apr 26 '19 10:04 w2282346548

我这边也是

MuXIaoHong avatar Apr 29 '19 12:04 MuXIaoHong

这个问题怎么解决啊

windows771053651 avatar Jun 11 '21 02:06 windows771053651

项目里有替换方案,将 Mp4Composer.start(),getExecutorService().execute(new Runnable() { @Override public void run() {} } 中将Mp4ComposerEngine的定义都删掉,然后还是在run()中,在刚才被注释掉的engine.compose()后面,裁剪功能换成这个就好了,我试了,可以:VideoUtil.genVideoUsingMuxer(srcPath, destPath, clipStartMs, clipEndMs, true, true);

windows771053651 avatar Jun 18 '21 00:06 windows771053651

项目里有替换方案,将 Mp4Composer.start(),getExecutorService().execute(new Runnable() { @override public void run() {} } 中将Mp4ComposerEngine的定义都删掉,然后还是在run()中,在刚才被注释掉的engine.compose()后面,裁剪功能换成这个就好了,我试了,可以:VideoUtil.genVideoUsingMuxer(srcPath, destPath, clipStartMs, clipEndMs, true, true);

这样虽然可以裁剪对时间,但是会导致特效和滤镜丢失

fg2q1q3q avatar Jun 22 '21 09:06 fg2q1q3q