[FFmpeg-devel] [PATCH] ffprobe: do not try to decode empty packets.

Stefano Sabatini stefasab at gmail.com
Sat Apr 21 13:36:24 CEST 2012


On date Friday 2012-04-20 16:22:55 +0200, Nicolas George encoded:
> Fixes sporadic decode failures.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  ffprobe.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> For example, the file created with:
> 
> ffmpeg -f lavfi -i testsrc -vcodec libx264 -preset medium -crf 18 -t 60 test.mkv
> 
> crashes with the following message after ~47 seconds:
> 
> [h264 @ 0x20cf8a0] Internal error, picture buffer overflow
> 
> I have seen other kinds of failures, such as frames stopping after ~30
> seconds and then a message about too many threads when closing.
> 
> Regards,

OK, although I think this exposes a bug in the H.264 decoder, see:
http://thread.gmane.org/20120214162613.GA30952@titan.codemill.se

(also this patch seems to fix ticket #997, you may add a note in the
commit message).
-- 
FFmpeg = Free and Faithless Minimal Philosophical Explosive Gadget


More information about the ffmpeg-devel mailing list