We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如下ProcessBuilder写数据,RxFFmpegInvoke如何处理呢? // 使用Java的ProcessBuilder类启动FFmpeg进程 ProcessBuilder pb = new ProcessBuilder("ffmpeg", "-f", "rawvideo", "-pix_fmt", "nv12", "-s", width + "x" + height, "-r", "30", "-f", "sio", "-i", "pipe:0"); Process process = pb.start();
// 将YUV数据写入管道 OutputStream outputStream = process.getOutputStream(); outputStream.write(yuvData); outputStream.flush(); outputStream.close();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如下ProcessBuilder写数据,RxFFmpegInvoke如何处理呢?
// 使用Java的ProcessBuilder类启动FFmpeg进程
ProcessBuilder pb = new ProcessBuilder("ffmpeg", "-f", "rawvideo", "-pix_fmt", "nv12", "-s", width + "x" + height, "-r", "30", "-f", "sio", "-i", "pipe:0");
Process process = pb.start();
// 将YUV数据写入管道
OutputStream outputStream = process.getOutputStream();
outputStream.write(yuvData);
outputStream.flush();
outputStream.close();
The text was updated successfully, but these errors were encountered: