Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问这个支持解码成 yuv 吗?我使用如下命令想将 mp4 文件解码成 yuv ffmpeg -y -i /storage/emulated/0/big_buck_bunny.mp4 /storage/emulated/0/big_buck_bunny.yuv 代码是这样的:
RxFFmpegInvoke.getInstance().runCommandAsync(new String[]{"ffmpeg", "-y", "-i", "/storage/emulated/0/big_buck_bunny.mp4", "/storage/emulated/0/big_buck_bunny.yuv"}, new RxFFmpegInvoke.IFFmpegListener() { @OverRide public void onFinish() { Log.i(TAG, "onFinish: "); }
@Override public void onProgress(int progress, long progressTime) { Log.i(TAG, "onProgress: " + "progress--->" + progress + ",progressTime--->" + progressTime); } @Override public void onCancel() { Log.i(TAG, "onCancel: "); } @Override public void onError(String message) { Log.i(TAG, "onError: " + message); }
});
但是提示找不到文件,我并没有预先创建 big_buck_bunny.yuv,存储权限也是有的
The text was updated successfully, but these errors were encountered:
ffmpeg -y -i /storage/emulated/0/1/input.mp4 -preset superfast /storage/emulated/0/1/result.yuv 试了一下可以的。看看是不是存储权限的问题,或者在demo apk上试试
请问这个支持解码成 yuv 吗?我使用如下命令想将 mp4 文件解码成 yuv
ffmpeg -y -i /storage/emulated/0/big_buck_bunny.mp4 /storage/emulated/0/big_buck_bunny.yuv
代码是这样的:
RxFFmpegInvoke.getInstance().runCommandAsync(new String[]{"ffmpeg", "-y", "-i", "/storage/emulated/0/big_buck_bunny.mp4", "/storage/emulated/0/big_buck_bunny.yuv"}, new RxFFmpegInvoke.IFFmpegListener() {
@OverRide
public void onFinish() {
Log.i(TAG, "onFinish: ");
}
});
但是提示找不到文件,我并没有预先创建 big_buck_bunny.yuv,存储权限也是有的
The text was updated successfully, but these errors were encountered: