Android FFMpeg Rendom文件输入命令创建视频幻灯片

时间:2018-06-08 05:27:39

标签: java android ffmpeg command slideshow

用于从图像序列创建视频的命令无法正常工作。我正在使用库书写模式FFmpegAndroid:0.3.2。我已经尝试了下面给出的命令,

 StringBuilder builder = new StringBuilder();
    for(String path : list){
        builder.append("file '"+path+"' ");
    }
    //List Contains absolute path of images, i have conceited it
    String[] complexCommand = {"-i", builder.toString(), "-vf", "zoompan=d=(A+B)/B:fps=1/B" , "framerate=25:interp_start=0:interp_end=255:scene=100" , "-c:v" , "mpeg4" , "-s", "160x120", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath};

0 个答案:

没有答案