<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックGstreamer resize video window</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1389083#M184686</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to make the window size of my gstreamer video smaller than full screen.&lt;BR /&gt;I need to view two cameras on the same HDMI screen (1920x1080). (for the left camera and the right camera)&lt;BR /&gt;my original video resolution is 720x480.&lt;BR /&gt;how may I change the width and the height of the window?&lt;BR /&gt;I am using apalis-imx8, ixora carrier board, with OS multimedia image. BSP5.&lt;/P&gt;&lt;P&gt;this command is working fine but with full screen window:&lt;BR /&gt;&lt;STRONG&gt;gst-launch-1.0 rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! autovideosink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have used this command:&lt;BR /&gt;&lt;STRONG&gt;gst-launch-1.0 rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! videoscale ! video/x-raw,width=720,height=480 ! autovideosink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it showed me window like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ramaofi_0-1639903804728.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165592iAEADEF3CF4BF3C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ramaofi_0-1639903804728.jpeg" alt="ramaofi_0-1639903804728.jpeg" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;1639382719414&lt;/SPAN&gt;&lt;SPAN class=""&gt;2040×1530 125 KB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;this command was not working with imx8, but when using it with my laptop it is working properly " native ubuntu OS laptop". I can resize the window size here by changing the value of the width and the height in this command.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 19 Dec 2021 08:51:35 GMT</pubDate>
    <dc:creator>ramaofi</dc:creator>
    <dc:date>2021-12-19T08:51:35Z</dc:date>
    <item>
      <title>Gstreamer resize video window</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1389083#M184686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to make the window size of my gstreamer video smaller than full screen.&lt;BR /&gt;I need to view two cameras on the same HDMI screen (1920x1080). (for the left camera and the right camera)&lt;BR /&gt;my original video resolution is 720x480.&lt;BR /&gt;how may I change the width and the height of the window?&lt;BR /&gt;I am using apalis-imx8, ixora carrier board, with OS multimedia image. BSP5.&lt;/P&gt;&lt;P&gt;this command is working fine but with full screen window:&lt;BR /&gt;&lt;STRONG&gt;gst-launch-1.0 rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! autovideosink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have used this command:&lt;BR /&gt;&lt;STRONG&gt;gst-launch-1.0 rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! videoscale ! video/x-raw,width=720,height=480 ! autovideosink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it showed me window like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ramaofi_0-1639903804728.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165592iAEADEF3CF4BF3C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ramaofi_0-1639903804728.jpeg" alt="ramaofi_0-1639903804728.jpeg" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;1639382719414&lt;/SPAN&gt;&lt;SPAN class=""&gt;2040×1530 125 KB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;this command was not working with imx8, but when using it with my laptop it is working properly " native ubuntu OS laptop". I can resize the window size here by changing the value of the width and the height in this command.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Dec 2021 08:51:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1389083#M184686</guid>
      <dc:creator>ramaofi</dc:creator>
      <dc:date>2021-12-19T08:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer resize video window</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1389117#M184698</link>
      <description>&lt;P&gt;Hi Rama&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for gstreamer resize one can look at sect.7.3.17 Video conversion&amp;nbsp;&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank" rel="noopener" data-dtmsubaction="i.MX Linux User’s Guide​ link"&gt;i.MX Linux User’s Guide​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 23:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1389117#M184698</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-12-19T23:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer resize video window</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1390557#M184859</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it worked.&lt;/P&gt;&lt;P&gt;gst-launch-1.0 rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! imxvideoconvert_g2d ! video/x-raw, width=500, height=500 ! ximagesink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also I made it also for two videos composition.&lt;/P&gt;&lt;P&gt;gst-launch-1.0 imxcompositor_g2d name=comp \&lt;BR /&gt;sink_0::xpos=0 sink_0::ypos=0 sink_0::width=700 sink_0::height=500 \&lt;BR /&gt;sink_1::xpos=800 sink_1::ypos=0 sink_1::width=700 sink_1::height=500 ! \&lt;BR /&gt;video/x-raw,format=RGB16 ! waylandsink \&lt;BR /&gt;rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! imxvideoconvert_g2d ! video/x-raw,width=640,height=480 ! comp.sink_0 \&lt;BR /&gt;rtspsrc location=rtsp://172.22.0.195:554/h264 latency=150 ! decodebin ! imxvideoconvert_g2d ! video/x-raw,width=640,height=480 ! comp.sink_1&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 06:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-resize-video-window/m-p/1390557#M184859</guid>
      <dc:creator>ramaofi</dc:creator>
      <dc:date>2021-12-22T06:40:48Z</dc:date>
    </item>
  </channel>
</rss>

