我已尝试过以下命令但出现错误
String[] cmd = new String[14];
cmd[0] = "-y";
cmd[1] = "-ss";
cmd[2] = ""+videoPlayerState.getStart();
cmd[3] = "-i";
cmd[4] = inputFileName;
cmd[5] = "-to";
cmd[6] = ""+videoPlayerState.getDuration();
cmd[7] = "-async";
cmd[8] = "1";
cmd[9] = "-strict";
cmd[10] = "-2";
cmd[11] = "-c";
cmd[12] = "copy";
cmd[13] = path + "/" + filename;
无法为输出文件#0写入标头(编解码器参数不正确?):参数无效
[mp4 @ 0xb8ce3a60]无法在流#1中找到codec amr_nb的标记,容器中目前不支持编解码器