NULL caps question

Jorge Fernandez Monteagudo jorgefm at cirsa.com
Tue Feb 25 01:55:52 PST 2014


>> I would like to know how to solve a problem I have running the next pipeline:
>>
>> # gst-launch filesrc location=/home/root/video31_aac.mp4 ! qtdemux ! omx_mpeg4dec ! gpuvsink
>> Setting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>> Width :800, Height: 600
>>
>> (gst-launch-0.10:1518): GStreamer-CRITICAL **: gst_pad_fixate_caps: assertion `!gst_caps_is_empty (caps)' failed
>>
>> (gst-launch-0.10:1518): GStreamer-CRITICAL **: gst_pad_set_caps: assertion `caps == NULL || gst_caps_is_fixed (caps)' failed
>>
>> ** (gst-launch-0.10:1518): CRITICAL **: gst_render_bridge_set_caps: assertion `caps' failed
>>
>> I've checked the gpuvsink code and I've found the failed assert (snip)
>
>You should check where the first CRITICAL warning comes from, that's
>likely where the cause of the problem is. Run
>
> $ G_DEBUG=fatal_warnings gdb --args /usr/bin/gst-launch-0.10 ....
>
>then type 'bt' when it breaks at the warning.

Ufff, I get an endless

(gdb) bt
#0  0x4059b2dc in raise () from /lib/libc.so.6
#1  0x4059f6c8 in abort () from /lib/libc.so.6
#2  0x4059f6c8 in abort () from /lib/libc.so.6
#3  0x4059f6c8 in abort () from /lib/libc.so.6
#4  0x4059f6c8 in abort () from /lib/libc.so.6
#5  0x4059f6c8 in abort () from /lib/libc.so.6
#6  0x4059f6c8 in abort () from /lib/libc.so.6
#7  0x4059f6c8 in abort () from /lib/libc.so.6
...
#1948 0x4059f6c8 in abort () from /lib/libc.so.6
#1949 0x4059f6c8 in abort () from /lib/libc.so.6
#1950 0x4059f6c8 in abort () from /lib/libc.so.6
#1951 0x4059f6c8 in abort () from /lib/libc.so.6
#1952 0x4059f6c8 in abort () from /lib/libc.so.6
#1953 0x4059f6c8 in abort () from /lib/libc.so.6
#1954 0x4059f6c8 in abort () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---


>> Is it possible to force a caps from the command line?
>
>You can add a capsfilter before the sink, but that's just papering over
>some critical bug.
>
>Ideally you should also try to upgrade to 1.x if possible at all. 0.10
>hasn't been maintained for years now.

It's complicated. I'm using a TI demoboard with their own root filesystem with custom components. The working pipeline is:

gst-launch filesrc location=/home/root/video31_aac.mp4 ! qtdemux ! omx_mpeg4dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink display-mode=OMX_DC_MODE_1080P_60 enable-last-buffer=false

and I would like to use a component to get the video frame and paint it using OpenGL-ES instead of dumping it to the framebuffer...

Thanks anyway!
Jorge

Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.


More information about the gstreamer-devel mailing list