[FFmpeg-user] Picture size 0x0 is invalid in FFMPEG log
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Oct 6 07:05:18 CEST 2012
Alexander Kulyakhtin <akulyakhtin <at> gmail.com> writes:
> Now avcodec_decode_video2 fails returning -1 and FFMPEG log prints:
>
> *Picture size 0x0 is invalid get_buffer() failed (-1 0 0x0)*
(I know this is not _really_ helpful, just a guess)
Try to add the following line before calling decode:
ff_init_buffer_info(avctx, pic);
Carl Eugen
More information about the ffmpeg-user
mailing list