avdec_h264 Error Messages

Tim Müller tim at centricular.com
Mon Aug 8 14:26:03 UTC 2016


On Mon, 2016-08-08 at 10:07 -0400, Brian Panneton wrote:

Hi Brian,

> These keep coming up as well and I can't seem to catch the errors
> within code.
> 
> 0:00:12.830815243  4277      0x35e9cf0 ERROR                  libav
> :0:: get_buffer() failed (-1 2 (nil))
> 0:00:12.830839083  4277      0x35e9cf0 ERROR                  libav
> :0:: decode_slice_header error
> 0:00:12.830853090  4277      0x35e9cf0 ERROR                  libav
> :0:: mmco: unref short failure
> 
> I noticed that when these errors come up my processing seems to hang.
> If these are not critical errors that it might be due to something
> else within my pipeline.

You can only capture those by installing a log handler with
gst_debug_add_log_function(), but I really don't recommend it, since it
might be expected and harmless in some cases. Again, without context
it's hard to comment further. It indicates data corruption that should
usually be recoverable.

It might be better to add a watchdog element that posts an error message after a certain time without any buffers flowing.

Not sure why your processing comes to a halt, what does your pipeline look like?

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list