
Len = avcodec_decode_video2(c,picture, &got_picture, &avpkt) Len = avcodec_decode_video2(c, picture, &got_picture, &avpkt) įwrite(picture->data + i * picture->linesize, 1, c->width, outf ) įwrite(picture->data + i * picture->linesize, 1, c->width/2, outf ) If((codec->capabilities)&CODEC_CAP_TRUNCATED) Memset(inbuf + INBUF_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE) Ĭodec = avcodec_find_decoder(AV_CODEC_ID_H264)

Void video_decode(char *outfilename, char *filename) #include "libavcodec/libavutil/mathematics.h" Missing reference picture, default is 65570 Missing reference picture, default is 65568 Missing reference picture, default is 65566 reference picture missing during reorder concealing 1649 DC, 1649 AC, 1649 MV errors in B frame

error while decoding MB 80 54, bytestream -10 Missing reference picture, default is 65562 Output in the CMD looks like this (only part of it, but its always like this): reference picture missing during reorder It's possible to compile the code with GCC gcc -o decoder decoder.c -L./lib/ -llibavcodec -llibavutilĪvcodec.dll, avutil.dll and swresample.dll must be placed in the directory for the. I'm trying to decode a raw h264 file with ffmpeg/libavcodec, but can't get it to work properly.
