<?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のトピックAdjust Brightness with Gstreamer</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adjust-Brightness-with-Gstreamer/m-p/1869046#M223956</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;I'm using an imx8mp on a variscite dart board and a basler camera. I have a pipeline that can display the video at 60fps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, width=1280, height=960, framerate=60/1 ! imxvideoconvert_g2d ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to do is modify the brightness of the video. I tried adding a videobalance into the pipeline:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, width=1280, height=960, framerate=60/1 ! videobalance brightness=0.3 ! imxvideoconvert_g2d ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However when I do that the framerate of the video drops to single digits. I also saw that we could possibly do this through the v4l2src but I haven't tried it and we're planning to use a custom camera so we don't think that that approach would work with our camera. Does anyone know of a way to modify the brightness of the video while maintaining my framerate?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 17:06:47 GMT</pubDate>
    <dc:creator>itaigolan</dc:creator>
    <dc:date>2024-05-20T17:06:47Z</dc:date>
    <item>
      <title>Adjust Brightness with Gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adjust-Brightness-with-Gstreamer/m-p/1869046#M223956</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;I'm using an imx8mp on a variscite dart board and a basler camera. I have a pipeline that can display the video at 60fps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, width=1280, height=960, framerate=60/1 ! imxvideoconvert_g2d ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to do is modify the brightness of the video. I tried adding a videobalance into the pipeline:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, width=1280, height=960, framerate=60/1 ! videobalance brightness=0.3 ! imxvideoconvert_g2d ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However when I do that the framerate of the video drops to single digits. I also saw that we could possibly do this through the v4l2src but I haven't tried it and we're planning to use a custom camera so we don't think that that approach would work with our camera. Does anyone know of a way to modify the brightness of the video while maintaining my framerate?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adjust-Brightness-with-Gstreamer/m-p/1869046#M223956</guid>
      <dc:creator>itaigolan</dc:creator>
      <dc:date>2024-05-20T17:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Brightness with Gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adjust-Brightness-with-Gstreamer/m-p/1869807#M224016</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The MX8MP and basler don't have any brightness control but the current development state the controlling the display brightness directly with the PWM. and&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-c"&gt;&lt;CODE&gt;USB_VIDEO_VIRTUAL_CAMERA_VC_INPUT_TERMINAL_ID,      /* ID of the Unit or Terminal to which this Terminal is
                                                           connected */
    0x00U, 0x00U, /* This field indicates the maximum digital magnification, multiplied by 100U */
    0x02U,        /* Size of the bmControls field, in bytes: n */
    0x00U, 0x01U, /* Brigthness control */&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but it;s the only thing we have.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adjust-Brightness-with-Gstreamer/m-p/1869807#M224016</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-05-21T14:16:18Z</dc:date>
    </item>
  </channel>
</rss>

