<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Guys,</div>
<div> </div>
<div>I am streaming my laptop screen on my IP based display using gstreamer.</div>
<div>Here is the pipeline on both ends:</div>
<div> </div>
<div>Laptop:</div>
<div>C:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe -v dx9screencapsrc ! queue ! videoconvert ! x264enc ! "video/x-h264,profile=baseline" ! h264parse config-interval=-1 ! rtph264pay pt=96 config-interval=-1 ! udpsink host=<ipaddr> port=5004 sync=true</div>
<div> </div>
<div>IP Display:</div>
<div> </div>
<div>gst-launch -v udpsrc port=5004 ! application/x-rtp, payload=96 ! rtph264depay ! vpudec low-latency=true ! imxv4l2sink sync=false</div>
<div> </div>
<div>The problem is IP Display resolution is 1024x768 but the source plugin is generating 1920x1080, which is my laptop resolution..</div>
<div> </div>
<div>I need to convert this to the resolution of IP Display, I modified the pipeline on the laptop to following:</div>
<div>C:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe -v dx9screencapsrc  ! video/x-raw, width=1024,height=768,framerate=30/1 !queue ! videoconvert  ! x264enc  ! "video/x-h264,profile=baseline" ! h264parse config-interval=-1 ! rtph264pay pt=96 config-interval=-1
! udpsink host=<IPAddress> port=5004 sync=true</div>
<div> </div>
<div>It fails with the following error:</div>
<div>WARNING: erroneous pipeline: could not link dx9screencapsrc0 to queue0, dx9screencapsrc0 can't handle caps video/x-raw, width=(int)1024, height=(int)768, framerate=(fraction)30/1</div>
<div> </div>
<div>Looking at the caps of dx9screencapsrc using gst-inspect-1.0, it has cap for width and height.</div>
<div>How can I acheive my requirement of capturing the whole screen but converting it to 1024x768</div>
<div><font color="#242729"> </font></div>
<div><font face="Arial" size="2" color="#242729"><span style="font-size:10pt;">Thanks,</span></font></div>
<div><font color="#54B948"><b>Mohammad Jamal Mohiuddin<br>

</b><font color="#58585A"><b>Software Engineer, Retail Hosp/HW<br>

NCR Corporation India Pvt Ltd.<br>

</b></font><a href="mailto:MohammadJamal.Mohiuddin@ncr.com"><font color="blue"><b><u>MohammadJamal.Mohiuddin@ncr.com</u></b></font></a><b> | </b><a href="http://www.ncr.com"><font color="#34B056"><b>www.ncr.com</b></font></a></font></div>
<div> << OLE Object: Picture (Device Independent Bitmap) >> </div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>