Zhaoss / WeiXinRecordedDemo

仿微信视频拍摄UI, 基于ffmpeg的视频录制编辑
MIT License
2.25k stars 468 forks source link

h264ToMp4 转换失败,返回 1 #131

Closed zj2050 closed 3 years ago

zj2050 commented 4 years ago

直接运行的demo,安卓 内核 19, ` public boolean h264ToMp4(String src, String des){

    ArrayList<String> list = new ArrayList<>();
    list.add("-i");
    list.add(src);
    list.add("-vcodec");
    list.add("copy");
    list.add("-f");
    list.add("mp4");
    list.add(des);

    int i = executeVideoEditor(list.toArray(new String[]{}));
    return i == 0;
}

`

直接运行的demo,没做任何改动