GStreamer-CRITICAL **: gst_buffer_get_sizes_range: in vaapidecode

Tim Müller tim at centricular.com
Sat Oct 25 10:39:37 PDT 2014


On Sat, 2014-10-25 at 05:24 -0700, kasd wrote:

Hi,

> Failed to decode mpeg2-ts below error
> 
> gst-launch-1.0 filesrc location=$1 ! progressreport ! tsdemux !
> mpegvideoparse !
>  vaapidecode ! videoparse format=i420 width=1920 height=1080 ! vaapipostproc 
> width=1280 height=720 ! queue ! vaapiencode_h264 ! h264parse ! mp4mux !
> filesink location=$1.mp4

Not sure why you put the videoparse in there, it should not be needed.
It's only needed when reading raw unframed video from a file.


> (gst-launch-1.0:5346): GStreamer-CRITICAL **: gst_buffer_get_sizes_range:
> assertion 'GST_IS_BUFFER (buffer)' failed
> Caught SIGSEGV
> #0  0x00007fac482485bd in poll () from /usr/lib/libc.so.6
> #1  0x00007fac48771ca4 in ?? () from /usr/lib/libglib-2.0.so.0
> #2  0x00007fac48772032 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> #3  0x00007fac48cc474a in gst_bus_poll () from
> /usr/lib/libgstreamer-1.0.so.0
> #4  0x00000000004046e8 in ?? ()
> #5  0x0000000000403726 in ?? ()
> #6  0x00007fac48189040 in __libc_start_main () from /usr/lib/libc.so.6
> #7  0x0000000000403d1b in ?? ()
> Spinning.  Please run 'gdb gst-launch-1.0 5346' to continue debugging,
> Ctrl-C to quit, or Ctrl-\ to dump core.

It's crashing in a different thread, you should attach gdb and get a
stack trace of all threads with 'thread apply all bt'. You can also run
it with G_DEBUG=fatal_warnings to make it abort at the warning.

Cheers
 -Tim

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



More information about the gstreamer-devel mailing list