<div dir="ltr">I can broadcast my desktop to a rtmp server successfully using <br><blockquote class="gmail_quote" 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 class="gmail_quote" 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 class="gmail_quote" 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>