<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 18 mai 2019 05 h 10, horai <<a href="mailto:ivo.hora@seznam.cz">ivo.hora@seznam.cz</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If it is not correct, just give me a hint and I will do what is necessary.<br>
Anyway, I rebuild gstreamer-plugin-base as well as gtreamer-plugin-good with<br>
kernel header of 4.19.* in the system. Now it was compiled with dma-buf.h<br>
included and the following message is gone:<br>
gstdmabuf.c:93:gst_dmabuf_mem_unmap:<dmabufallocator2> Using DMABuf without<br>
synchronization. <br>
<br>
Anyway, the following warning is still present:<br>
pi@raspberrypi:~ $ ./playFile <br>
Setting pipeline to PAUSED ...<br>
0:00:01.449266020 23614  0x1feda80 WARN                 basesrc<br>
gstbasesrc.c:3600:gst_base_src_start_complete:<filesrc0> pad not activated<br>
yet<br>
Pipeline is PREROLLING ...<br>
0:00:01.457391198 23614  0x1de5320 WARN                    v4l2<br>
gstv4l2object.c:4194:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> Failed to<br>
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This one can be ignored. It's really minor, the driver should have returned ENOTTY instead of EINVAL, but the outcome is the same. This is normally to read back the pixel aspect ratio, but the video parsers does that for us already.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
0:00:01.468336190 23614  0x1de5320 WARN            v4l2videodec<br>
gstv4l2videodec.c:810:gst_v4l2_video_dec_decide_allocation:<v4l2h264dec0><br>
Duration invalid, not setting latency<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This one should be fixed, should be info, and should say that framerate is not set (duration is calculated from it).</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
0:00:01.477499274 23614  0x1de5320 WARN          v4l2bufferpool<br>
gstv4l2bufferpool.c:807:gst_v4l2_buffer_pool_start:<v4l2h264dec0:pool:src><br>
Uncertain or not enough buffers, enabling copy threshold<br>
0:00:01.508788331 23614 0x6f313830 WARN          v4l2bufferpool<br>
gstv4l2bufferpool.c:1263:gst_v4l2_buffer_pool_dqbuf:<v4l2h264dec0:pool:src><br>
Driver should never set v4l2_buffer.field to ANY<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That one means that clutter sink didn't fully replied to the allocation query. This warning is valid, because you may end up with a image copies, that would cause jitter. Clutter sink is a bit unmaintained.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">What I'm thinking now is that you're options are limited on the PI at the moment. I'd try and get glimagesink working, and would use GstVideoOverlay to embed it in your application. To check if dmabuf upload is working, use the following log level:</div><div dir="auto"><br></div><div dir="auto">GST_DEBUG=glupload:7</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>