<div dir="ltr">Dear All,<div><br></div><div>I am using mixure to get the effect of PIP.</div><div><br></div><div>At Client side i m using below pipeline.</div><div><br></div><div>







<p class="">pipeline = gst_parse_launch(" udpsrc port=5001 ! application/x-rtp, encoding-name=(string)H264, payload=(int)96, clock-rate=(int)90000  !  rtph264depay ! h264parse  ! vtdec   ! glvideomixer name=mix  sink_1::xpos=480 sink_1::ypos=360 sink_1::zorder=3  ! videoconvert ! glimagesink sync=false udpsrc port=5000 !application/x-rtp, encoding-name=(string)H264, payload=(int)96, clock-rate=(int)90000  ! rtph264depay !  h264parse  ! vtdec   !  videoscale ! video/x-raw, width=160, height=120 ! mix.", &error);</p><p class="">When i use videoscale as in the above pipeline, the instrumentation in Xcode shows 85% of CPU usage, where as if i remove the videoscale ie:</p><p class=""><br></p><p class="">pipeline = gst_parse_launch(" udpsrc port=5001 ! application/x-rtp, encoding-name=(string)H264, payload=(int)96, clock-rate=(int)90000  !  rtph264depay ! h264parse  ! vtdec   ! glvideomixer name=mix  sink_1::xpos=480 sink_1::ypos=360 sink_1::zorder=3  ! videoconvert ! glimagesink sync=false udpsrc port=5000 !application/x-rtp, encoding-name=(string)H264, payload=(int)96, clock-rate=(int)90000  ! rtph264depay !  h264parse  ! vtdec   ! mix.", &error);</p><div><br></div><p class="">then CPU usage dropped into 50 to 55% approximately. </p><p class=""><br></p><p class="">The issue is when videoscale is used, the video has lots of patches..</p><p class="">What is the best approach to attain video scaling without affecting the streaming performance?  </p><p class=""><br></p><p class=""><br></p><p class=""><br></p><p class=""><br></p><p class=""><br></p><p class=""><br></p></div></div>