2024年5月12日发(作者:)
import ption;
import tream;
import ;
public class Ffmpeg {
public static void main(String[] args) {
//视频文件
String videoRealPath = "E:";
//截图的路径(输出路径)
String imageRealPath ="E:";
//方法一:调用批处理程序,调用批处理文件转换视频格式
// try {
// //调用批处理文件
// time().exec("cmd /c start
C: " + videoRealPath + " " +
imageRealPath);
// } catch (IOException e) {
// // TODO Auto-generated catch block
// tackTrace();
// }
//方法二:通过命令提示符来调用需要添加系统路径(Path),调用menconder
转换视频各种
// commendF
// .add(" /c mencoder E: -o
e:
// -oac mp3lame -lameopts cbr:br=32
发布者:admin,转转请注明出处:http://www.yc00.com/web/1715525675a2631404.html
评论列表(0条)