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
环境:mac m1 java11 mac版: ffmpeg
in:./config/LiveRecord/online/douyu/开开丶0510_2024-05-28 13_55_33.flv 视频分割失败。
The text was updated successfully, but these errors were encountered:
mac系统没研究,之后研究
Sorry, something went wrong.
String ffmpegCmd = FFMPEG_PATH + " -i " + """+inputFilePath+""" + " -ss " + start + " -to " + end + " -c copy " + """+outputFilePath+""" +" -y"; System.out.println(ffmpegCmd); // 执行FFmpeg命令 String[] cmds = {"/bin/sh", "-c", ffmpegCmd}; Process process = Runtime.getRuntime().exec(cmds);
mac下执行步骤: 1、添加 mac 版 ffmpeg 2、修改 FFMPEG_PATH 3、修改代码执行命令
会做个策略 适配不同的操作系统
No branches or pull requests
环境:mac m1
java11
mac版: ffmpeg
in:./config/LiveRecord/online/douyu/开开丶0510_2024-05-28 13_55_33.flv 视频分割失败。
The text was updated successfully, but these errors were encountered: