ProcessBuilder builder = new ProcessBuilder("cmd.exe", "/c", "ffmpeg");
时间: 2023-09-17 22:08:25 浏览: 89
ffmpeg windows 执行程序
This code creates a ProcessBuilder object that is used to run the FFmpeg command through the Windows Command Prompt (cmd.exe). The "/c" flag is used to run the command specified after it, and "ffmpeg" is the actual command being run.
Note that this code alone does not specify any arguments or options to be used with the FFmpeg command. Additional code would be needed to pass in such arguments and options.
阅读全文