<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 22 déc. 2019 07 h 30, moritz.vieli <<a href="mailto:moritz.vieli@gmail.com">moritz.vieli@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, best to try latest as usual.<br>
--> I know. Unfortunately, I am still unable to build Gstreamer on the<br>
Raspberry from the sources (but I am still a Linux noob ;)).<br>
<br>
I'm convinced there is something that could be improved there, assuming you<br>
are ready to spend the time.<br>
--> As long as I can help, sure!<br>
<br>
You should maybe share<br>
a little more info about what you are doing.<br>
--> I am developing a system to play audio, video, MIDI and lighting shows<br>
in sync. Gstreamer is used as the backend. Everything worked fine on the<br>
Raspberry Pi 3 and I am trying to port it to the Raspberry Pi 4 now. I had<br>
to switch from glimagesink to kmssink, because of a problem with the colors<br>
(see<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Wrong-colors-on-Raspberry-Pi-4-td4692614.html" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Wrong-colors-on-Raspberry-Pi-4-td4692614.html</a>),<br>
that's why I first suspected kmssink to be responsible for the seeking<br>
issues. However, it turns out, it really seems to be an issue with<br>
v4l2h264dec. I just tested it with avdec_h264 and it worked fine. However,<br>
this decoder is too slow on the Raspberry and everything stutters. This is<br>
the current pipeline for video files:<br>
uridecodebin ! queue ! kmssink<br>
<br>
Also, you should check<br>
your kernel logs too, as there is a good deal of work done by the<br>
driver.<br>
--> There are indeed errors, as soon as I seek:<br>
Dec 22 11:02:35 xxx kernel: bcm2835-codec bcm2835-codec:<br>
bcm2835_codec_stop_streaming: Timeout waiting for buffers to be returned - 5<br>
outstanding<br>
Dec 22 11:02:35 xxx kernel: bcm2835_mmal_vchiq: buffer_from_host:<br>
msg_context not allocated, buf 7147fe8b<br>
(2nd message repeated 7 times)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">If you find how to contact them, would be nice to send that to the Raspberry Pi folks to get their feedback. I knew they were moving, but wasn't involved much. It is though one of my goal for 2020 to make sure these things get fixed on popular SBC like the Raspberry PI and Amlogic. Nvidia has moved to, but have fork over 50% of the code, without really filling any upstream issues.</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>
Additionally, I found another error thrown from my app:<br>
(unknown:1570): GStreamer-CRITICAL **: 10:29:30.813:<br>
gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size'<br>
failed<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This one has been fixed upstream. It should make it in the next stable release. I don't have a link handy, but if you can't find it, let me know, I can search for that later.</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>
Please let me know, if you need any further information and thanks a lot for<br>
your support!<br>
<br>
<br>
<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><br>
</blockquote></div></div></div>