ffmpeg中的avcodec_decode_audio4解码失败
int ret =avcodec_decode_audio4( aCodecCtx, audioFrame, &got_picture, &pkt);//解码声音并保存为pcm文件
if( ret < 0 ) {
printf("Error in decoding audio frame.\n");
exit(0);
}
Error in decoding audio frame.
[h264 @ 1d870f40] Invalid level prefix
[h264 @ 1d870f40] error while decoding MB 1 0
[h264 @ 1d870f40] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 1d870f40] Invalid NAL unit size (0 > 10924).
[h264 @ 1d870f40] Error splitting the input into NAL units.
[h264 @ 1d870f40] Invalid NAL unit size (0 > 55520).
[h264 @ 1d870f40] Error splitting the input into NAL units.
[aac @ 1d871f80] channel element 0.0 is not allocated
QObject::~QObject: Timers cannot be stopped from another thread