<html><head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class="hmmessage"><div>Le mardi 26 avril 2016 à 23:40 -0700, Ash 20001 a écrit :</div><blockquote type="cite"><div dir="ltr">Here is the pipeline graph when using decodebin. It contains all the information you ask below.<div>It is properly parsed NAL units, raw h264 elementary stream.<br></div></div></blockquote><div><br></div><div>I see that you are using High profile. Are you sure you have properly disabled B-Frames (frame reordering) in your encoder ? That would introduce latency that cannot be removed. Another way around (to make things simple) could be to force your encoder into producing constrained-baseline or baseline, where B-Frames don't exist.</div><div><br></div><blockquote type="cite"><div dir="ltr"><div><div><br><div><br><div>Subject: Re: decodebin - static linking of decoder and sink<br>From: sebastian@centricular.com<br>To: gstreamer-devel@lists.freedesktop.org<br>Date: Wed, 27 Apr 2016 09:34:40 +0300<br><br><pre>On Di, 2016-04-26 at 23:27 -0700, Ash 20001 wrote:<br>> I've tried to do it statically like you suggested but I can never get<br>> it working (it always fails with non-negotiated stream). I have a<br>> pipeline graph of what decodebin creates but I can't convert that to<br>> a static pipeline successfully.<br> <br>Try inserting a typefind between your appsrc and the decoder, and also<br>a h264parse after the typefind and before the decoder. The need for<br>them completely depends on what kind of data and how you provide to the<br>appsrc.<br> <br>What format and how are you providing it to appsrc? h264 byte-stream or<br>avc? Properly parsed into NAL units or AUs per buffer or just random<br>chunks of bytes?<br> <br>> But as you said it doesn't make any difference regarding latency.<br>> Right now it takes two frames before I get the pad-added signal from<br>> decodebin, not one frame. I guess this means the problem is in the<br>> decoder itself?<br> <br>If there is a "problem" at all, maybe this are just the inherent<br>limitations of the stream.<br> <br><pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-deve</a></pre></pre></div></div></div></div></div></blockquote></body></html>