<div dir="ltr"><div>While it does help, it's way, way worse than it should be. Is this 'normal'? Is there any way to play back a gstreamer pipeline smoothly on a pi? This is 1280x720@25. Lowering the source bitrate helps a little, but it's not even that high to begin with.<br><br></div>David<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 March 2017 at 07:56, Matthew Waters <span dir="ltr"><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
On 22/03/17 04:15, David Ventura wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div>Hi. I've been trying to play either a udp h264 stream or a
video file with hardware acceleration.<br>
<br>
</div>
With this command I get VERY choppy playback, low cpu usage and
a lot of banding:<br>
<div><br clear="all">
gst-launch-1.0 -qe udpsrc port=5002 do-timestamp=true ! queue
! application/x-rtp, payload=96 ! rtpjitterbuffer latency=10 !
rtph264depay ! h264parse ! omxh264dec ! glimagesink <br>
</div>
</div>
</blockquote>
<br></span>
Adding a small queue after the decoder at least would decouple video
decoding from actual rendering which probably helps here.<br>
<br>
As you have low CPU usage I assume you built gst-omx and
gst-plugins-bad correctly for zerocopy decoding which is good :)<br>
<br>
Cheers<br>
-Matt<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>adding<br>
<br>
enable-last-sample=false qos=false<br>
<br>
</div>
<div>to the glimagesink makes it somewhat better, but still
horrible.<br>
<br>
Similar thing (banding, low fps, low cpu usage) happens with:
<br>
gst-launch-1.0 filesrc location=file.mp4 ! qtdemux ! h264parse
! omxh264dec ! glimagesink<br>
<br>
</div>
<div>I compiled this version on my own, I'm running 1.11.1 right
now.<br>
<br>
</div>
<div>What can I do about this? <br>
</div>
<div>-- <br>
<div class="m_241831504208025624gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div><b>Stack</b> is the new term for "I have no idea
what I'm actually
using".</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Stack</b> is the new term for "I have no idea what I'm actually
using".</div></div></div></div></div>
</div>