<div dir="ltr"><div>here is the default gstreamer version on ubuntu 22.04 <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>gst-inspect-1.0 --version<br>gst-inspect-1.0 version 1.20.3<br>GStreamer 1.20.3<br><a href="https://launchpad.net/distros/ubuntu/+source/gstreamer1.0">https://launchpad.net/distros/ubuntu/+source/gstreamer1.0</a><br></div></blockquote><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Jun 2023 at 09:12, tapas .. <<a href="mailto:tapascst@gmail.com">tapascst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I guess va-api is replacing vaapi. <br></div><div dir="ltr"><span>videoconvert ==> vapostproc</span></div><div dir="ltr"><span>vaapih264enc ==><span><span>vah264enc</span></span></span></div><div dir="ltr"><br></div><div dir="ltr">try it out and good luck.</div></blockquote><div><br></div><div>That doesn't help anything. current gstreamer which comes with ubuntu 22.04 doesn't have  <span>vapostproc/vah264enc</span></div><div><span><br></span></div><div><span>But I tried below and it didn't help. I see same issue of getting stuck</span></div><div><span><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span>gst-launch-1.0 ximagesrc use-damage=0 show-pointer=false ! video/x-raw,framerate=30/1 ! queue ! <span style="background-color:rgb(0,255,255)"><b>vaapipostproc</b></span> width=1920 height=1080 ! queue ! <b><span style="background-color:rgb(0,255,255)">vaapih264enc</span></b> dct8x8=true cabac=true rate-control=cbr bitrate=1000 keyframe-period=30 max-bframes=1 ! queue ! flvmux name=mux ! queue ! progressreport ! queue ! rtmpsink sync=false async=true location="rtmp://xxxxx" pulsesrc do-timestamp=true device="alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" ! queue ! audioconvert ! queue ! voaacenc bitrate=128000 ! queue ! mux.</span></div></blockquote></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Jun 2023 at 08:27, cfd new <<a href="mailto:newcfd@yahoo.com" target="_blank">newcfd@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div></div>
        <div><br></div><div dir="ltr">I guess va-api is replacing vaapi. <br></div><div dir="ltr"><span>videoconvert ==> vapostproc</span></div><div dir="ltr"><span>vaapih264enc ==><span><span>vah264enc</span></span></span></div><div dir="ltr"><br></div><div dir="ltr">try it out and good luck.</div><div dir="ltr"><br></div><div dir="ltr">   Joe<br></div>
        
        </div><div id="m_-7223839897761460450m_7009283004430692668yahoo_quoted_6475127072">
            <div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
                
                <div>
                    On Thursday, June 8, 2023, 10:46:57 a.m. EDT, tapas .. via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="m_-7223839897761460450m_7009283004430692668yiv4369495342"><div dir="ltr">I can broadcast my desktop to a rtmp server successfully using <br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">```<br>gst-launch-1.0 ximagesrc use-damage=0 show-pointer=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! x264enc ! queue ! flvmux name=mux ! queue ! progressreport ! queue ! rtmpsink sync=false async=true location="rtmp://xxxxxx" pulsesrc do-timestamp=true device="alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" ! queue ! audioconvert ! queue ! voaacenc bitrate=128000 ! queue ! mux. <br>```<br></blockquote><br><br>But If I try to do same using hw acceleration vaapi then it does not work !! <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">```<br>gst-launch-1.0 ximagesrc use-damage=0 show-pointer=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! vaapih264enc dct8x8=true cabac=true rate-control=cbr bitrate=1000 keyframe-period=30 max-bframes=1 ! queue ! flvmux name=mux ! queue ! progressreport ! queue ! rtmpsink sync=false async=true location="rtmp://xxxx" pulsesrc do-timestamp=true device="alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" ! queue ! audioconvert ! queue ! voaacenc bitrate=128000 ! queue ! mux.<br>```<br></blockquote><br>It is just stuck at below if i use hw acceleration: <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> letting pipeline to PAUSED ... Pipeline is live and does not need<br>> PREROLL ... Got context from element 'vaapiencodeh264-0':<br>> gst.vaapi.Display=context,<br>> gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\<br>> vaapidisplayglx0"; Pipeline is PREROLLED ... Setting pipeline to<br>> PLAYING ... Redistribute latency... New clock: GstPulseSrcClock<br></blockquote><br><br></div>
</div></div>
            </div>
        </div></div></blockquote></div>
</blockquote></div>