我正在尝试绘制视频并在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};