<?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>topic Re: Vpuenc_h264 maximum encoder size in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1088327#M159580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this is your typo or not, try to change 1928 in your command to 1920, I can use this command successfully in my board with "width=(int)1920"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2020 02:16:47 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2020-07-15T02:16:47Z</dc:date>
    <item>
      <title>Vpuenc_h264 maximum encoder size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1088326#M159579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had a real tough time trying to use the vpuenc_h264 with an image bigger than 1920x1080 in the imx8m mini, the reference manual says that the VPU can work with a maximum size of 4080x4080 and if we use the encoder for h264 it could work for 60fps at1920x1080.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For that reason, I try to change the maximum size of the encoder in the gstvpuenc code to be grater than 1920x1080 but it is not working correctly when I run the following pipeline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #1d1c1d; background: rgba(var(--sk_foreground_min,29,28,29),0.04); font-size: 12px; margin: 4px 0px; padding: 8px;"&gt;GST_DEBUG=3 gst-launch-1.0 videotestsrc ! "video/x-raw, format=(string)NV12, width=(int)1928, height=(int)1080,
framerate=(fraction)10/1" ! vpuenc_h264 ! h264parse ! mpegtsmux name=mux ! queue !
filesink location=/tmp/test1280.ts enable-last-sample=false sync=false async=false&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #1d1c1d; background: rgba(var(--sk_foreground_min,29,28,29),0.04); font-size: 12px; margin: 4px 0px; padding: 8px;"&gt;OMX H264 ! HantroHwEncOmx_encoder_create_h264 H264EncInit failed! (-3) openmax_il/source/encoder/encoder_h264.c:772
0:00:00.093342500 3265 0x391a6850 ERROR
 vpuenc gstvpuenc.c:774:gst_vpu_enc_open_vpu:&amp;lt;vpuenc_h264-0&amp;gt; opening new VPU handle failed: failure
0:00:00.093379375 3265 0x391a6850 ERROR
 vpuenc gstvpuenc.c:947:gst_vpu_enc_handle_frame:&amp;lt;vpuenc_h264-0&amp;gt; gst_vpu_enc_open_vpu failed.&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I didn't find how to solve that error in the imx-vpuwrap or in the libgstvpu. So I want to ask If it is possible to encode a bigger frame using a lower framerate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also include the image of the VPU aspects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="encoder.PNG"&gt;&lt;IMG alt="encoder.PNG" src="https://community.nxp.com/t5/image/serverpage/image-id/115543iB01E258D3815DF0A/image-size/large?v=v2&amp;amp;px=999" title="encoder.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1088326#M159579</guid>
      <dc:creator>mauricio_monter</dc:creator>
      <dc:date>2020-11-02T14:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Vpuenc_h264 maximum encoder size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1088327#M159580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this is your typo or not, try to change 1928 in your command to 1920, I can use this command successfully in my board with "width=(int)1920"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 02:16:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1088327#M159580</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-07-15T02:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vpuenc_h264 maximum encoder size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1242053#M170531</link>
      <description>&lt;P&gt;I'm seeing the same error when trying to use a fractional framerate, such as 59.94 and 29.97 commonly used in video cameras.&amp;nbsp; It seems the encoder will only accept fractional framerates that are a multiple of 0.5.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GST_DEBUG=3 gst-launch-1.0 videotestsrc ! "video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, \
framerate=(fraction)59940/1000" ! vpuenc_h264 ! h264parse ! mpegtsmux name=mux ! queue ! \
filesink location=/tmp/test1280.ts enable-last-sample=false sync=false async=false&lt;/LI-CODE&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OMX H264 ! HantroHwEncOmx_encoder_create_h264 H264EncInit failed! (-3) openmax_il/source/encoder/encoder_h264.c:773
0:00:00.117026000   937 0xaaaacba0c590 ERROR                 vpuenc gstvpuenc.c:861:gst_vpu_enc_open_vpu:&amp;lt;vpuenc_h264-0&amp;gt; opening new VPU handle failed: failure
0:00:00.117061375   937 0xaaaacba0c590 ERROR                 vpuenc gstvpuenc.c:1045:gst_vpu_enc_handle_frame:&amp;lt;vpuenc_h264-0&amp;gt; gst_vpu_enc_open_vpu failed.&lt;/LI-CODE&gt;&lt;P&gt;Please let me know if I should create a new topic for this.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 01:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vpuenc-h264-maximum-encoder-size/m-p/1242053#M170531</guid>
      <dc:creator>pete_sensoray</dc:creator>
      <dc:date>2021-03-09T01:12:13Z</dc:date>
    </item>
  </channel>
</rss>

