<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 22/03/17 04:15, David Ventura wrote:<br>
    <blockquote
cite="mid:%3CCA+UPfZ5MtpRZ9djxdH-RA5OSBsfNyAVMzyzu=eoTK9-VLHqzrQ@mail.gmail.com%3E"
      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>
    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<br>
    <br>
    <blockquote
cite="mid:%3CCA+UPfZ5MtpRZ9djxdH-RA5OSBsfNyAVMzyzu=eoTK9-VLHqzrQ@mail.gmail.com%3E"
      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="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>
      </div>
    </blockquote>
    <br>
  </body>
</html>