绘制视频并使用绘制的值保存

时间:2017-09-04 07:07:53

标签: android video canvas surfaceview textureview

我正在尝试绘制视频并在android中记录这些内容。我在FFMPEG中尝试过,但处理速度很慢。还有其他方法可以让视频更快吗?

String[] complexCommand = {"-y", "-i", mVideoFile, "-i", mOverlayFile, "-filter_complex", "[1:v][0:v]blend=all_mode='overlay':all_opacity=1.0", "-strict", "experimental", "-r", Integer.toString(videoComposeVO.getFrameRate()), "-crf", "24", "-tune", "fastdecode", "-bufsize", "1000k", "-preset", "ultrafast", "-threads", "0", "-q", "4", "-movflags", "faststart", "-vcodec", "libx264", "-an", mOutputFile};

0 个答案:

没有答案