<html><head></head><body><div>On Sun, 2022-10-09 at 10:02 -0700, Bill Hofmann via gstreamer-devel wrote:</div><div><br></div><div>Hi Bill,</div><div><br></div><div>What version of GStreamer are you running?</div><div><br></div><div>In 1.20 compositor gained support for doing compositing using multiple threads, did you check if that's active for you?</div><div><br></div><div>Cheers</div><div> Tim</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">One more piece of data, which I GUESS answers my question. This pipeline shows the same (terrible) framerate, which suggests that this is a compositor issue:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="gmail_default"><font face="monospace">gst-launch-1.0 souphttpsrc name="pipe2" location="<a href="http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/late.m3u8">http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/late.m3u8</a>" ! parsebin name=pb ! vaapih265dec ! \</font></div><div class="gmail_default"><font face="monospace">video/x-raw,format=P010_10LE ! compositor background=transparent  ! queue ! fpsdisplaysink video-sink="kmssink connector-id=308 plane-id=31"</font></div></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">So - in the attempt to blend/dissolve two P010 streams, neither compositor nor glshader will work? Compositor because of performance, glshader because the format is not supported?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">-Bill</div></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 7, 2022 at 2:32 PM Bill Hofmann <<a href="mailto:bill@theliquidview.com">bill@theliquidview.com</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Folks:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Running into a challenge perhaps the insight of the list would help.  I'm using compositor,  proxysrc and proxysink to mix two 4k h.265 10b streams together (and animating alpha to fade from one to the other).</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">If I look at the framerate of each of the "source" pipelines using fpsdisplaysink inline, they're showing pretty darn close to the source framerate (29.97), but when I look at the output on the screen, the framerate is around 10fps (if I put fpsdisplaysink after the compositor). </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Note that when the alpha on one of two streams is 0, I set_state(Gst.State.PAUSED), so I'd think that decoder performance wouldn't constrain this in steady state, even if it does so during transitions.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">The pipeline with a single stream directly to kmssink runs at source framerate as well - *that's* fine.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Is this a problem with compositor? A problem with queueing?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thoughts? What additional info would you need?  This is using a slightly modified version of <a href="https://github.com/matthew1000/gstreamer-cheat-sheet/blob/master/python_examples/gstproxy_02_playbin.py" target="_blank">https://github.com/matthew1000/gstreamer-cheat-sheet/blob/master/python_examples/gstproxy_02_playbin.py</a>, btw.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">-Bill</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Pipelines:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="gmail_default"><font face="monospace">PIPELINE1 = """</font></div><div class="gmail_default"><font face="monospace">souphttpsrc name="pipe1" location="<a href="http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/early.m3u8" target="_blank">http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/early.m3u8</a>" ! parsebin name=pb ! vaapih265dec !</font></div><div class="gmail_default"><font face="monospace">video/x-raw,format=P010_10LE  ! proxysink name="video_sink"</font></div><div class="gmail_default"><font face="monospace">pb. ! queue ! fdkaacdec ! scaletempo ! volume volume=0.9 ! proxysink name="audio_sink"</font></div><div class="gmail_default"><font face="monospace">"""</font></div></blockquote><div class="gmail_default"><font face="monospace"><br></font></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="gmail_default"><font face="monospace">PIPELINE2 = """</font></div><div class="gmail_default"><font face="monospace">souphttpsrc name="pipe2" location="<a href="http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/late.m3u8" target="_blank">http://127.0.0.1/1D2E355A-BD2C-4807-91EA-4C2236D2DBED/0/late.m3u8</a>" ! parsebin name=pb ! vaapih265dec !</font></div><div class="gmail_default"><font face="monospace">video/x-raw,format=P010_10LE ! proxysink name="video_sink"</font></div><div class="gmail_default"><font face="monospace">pb. ! queue ! fdkaacdec ! scaletempo ! volume volume=0.9 ! proxysink name="audio_sink"</font></div><div class="gmail_default"><font face="monospace">"""</font></div></blockquote><div class="gmail_default"><font face="monospace"><br></font></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="gmail_default"><font face="monospace">PIPELINE3 = """</font></div><div class="gmail_default"><font face="monospace">proxysrc name=video_src_1 ! videomix.</font></div><div class="gmail_default"><font face="monospace">proxysrc name=audio_src_1 ! alsasink</font></div><div class="gmail_default"><font face="monospace">proxysrc name=video_src_2 ! videomix.</font></div><div class="gmail_default"><font face="monospace">proxysrc name=audio_src_2 ! alsasink</font></div><div class="gmail_default"><font face="monospace">compositor name=videomix background=transparent ! queue !</font></div><div class="gmail_default"><font face="monospace">kmssink connector-id=308 plane-id=31</font></div><div class="gmail_default"><font face="monospace">"""</font></div></blockquote><font face="monospace"><br></font><div><font face="monospace"><br></font></div></div></blockquote></div></blockquote><div><br></div><div><span></span></div></body></html>