<?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のトピックiMX8M Video record performance issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817593#M125973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using OV5640 with iMX8M on Linux OS.&lt;/P&gt;&lt;P&gt;I tried to record video and found some issues.&lt;/P&gt;&lt;P&gt;1. there is no HW encoder:&lt;/P&gt;&lt;P&gt;It will cause the performance issue.&lt;/P&gt;&lt;P&gt;I dump encoder with following command.&lt;/P&gt;&lt;P&gt;#gst-inspect-1.0 | grep enc&lt;BR /&gt;y4menc: y4menc: YUV4MPEG video encoder&lt;BR /&gt;webp: webpenc: WEBP image encoder&lt;BR /&gt;adpcmenc: adpcmenc: ADPCM encoder&lt;BR /&gt;wavenc: wavenc: WAV audio muxer&lt;BR /&gt;alaw: alawenc: A Law audio encoder&lt;BR /&gt;sbc: sbcenc: Bluetooth SBC audio encoder&lt;BR /&gt;mulaw: mulawenc: Mu Law audio encoder&lt;BR /&gt;png: pngenc: PNG image encoder&lt;BR /&gt;speex: speexenc: Speex audio encoder&lt;BR /&gt;removesilence: removesilence: RemoveSilence&lt;BR /&gt;pnm: pnmenc: PNM image encoder&lt;BR /&gt;subenc: srtenc: Srt encoder&lt;BR /&gt;subenc: webvttenc: WebVTT encoder&lt;BR /&gt;bz2: bz2enc: BZ2 encoder&lt;BR /&gt;audiovisualizers: spectrascope: Frequency spectrum scope&lt;BR /&gt;encoding: encodebin: Encoder Bin&lt;BR /&gt;flac: flacenc: FLAC audio encoder&lt;BR /&gt;coretracers: latency (GstTracerFactory)&lt;BR /&gt;siren: sirenenc: Siren Encoder element&lt;BR /&gt;vorbis: vorbisenc: Vorbis audio encoder&lt;BR /&gt;jpeg: jpegenc: JPEG image encoder&lt;BR /&gt;theora: theoraenc: Theora video encoder&lt;BR /&gt;dtls: dtlsenc: DTLS Encoder&lt;BR /&gt;dtls: dtlssrtpenc: DTLS-SRTP Encoder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see any hw encoder, like h264 or h263.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I found the record task will&amp;nbsp;switch out.&lt;/P&gt;&lt;P&gt;it will cause the record is not continuous. (you can check the attached video)&lt;/P&gt;&lt;P&gt;is there any suggestion to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jimmy&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2018 03:00:10 GMT</pubDate>
    <dc:creator>jsu</dc:creator>
    <dc:date>2018-09-12T03:00:10Z</dc:date>
    <item>
      <title>iMX8M Video record performance issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817593#M125973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using OV5640 with iMX8M on Linux OS.&lt;/P&gt;&lt;P&gt;I tried to record video and found some issues.&lt;/P&gt;&lt;P&gt;1. there is no HW encoder:&lt;/P&gt;&lt;P&gt;It will cause the performance issue.&lt;/P&gt;&lt;P&gt;I dump encoder with following command.&lt;/P&gt;&lt;P&gt;#gst-inspect-1.0 | grep enc&lt;BR /&gt;y4menc: y4menc: YUV4MPEG video encoder&lt;BR /&gt;webp: webpenc: WEBP image encoder&lt;BR /&gt;adpcmenc: adpcmenc: ADPCM encoder&lt;BR /&gt;wavenc: wavenc: WAV audio muxer&lt;BR /&gt;alaw: alawenc: A Law audio encoder&lt;BR /&gt;sbc: sbcenc: Bluetooth SBC audio encoder&lt;BR /&gt;mulaw: mulawenc: Mu Law audio encoder&lt;BR /&gt;png: pngenc: PNG image encoder&lt;BR /&gt;speex: speexenc: Speex audio encoder&lt;BR /&gt;removesilence: removesilence: RemoveSilence&lt;BR /&gt;pnm: pnmenc: PNM image encoder&lt;BR /&gt;subenc: srtenc: Srt encoder&lt;BR /&gt;subenc: webvttenc: WebVTT encoder&lt;BR /&gt;bz2: bz2enc: BZ2 encoder&lt;BR /&gt;audiovisualizers: spectrascope: Frequency spectrum scope&lt;BR /&gt;encoding: encodebin: Encoder Bin&lt;BR /&gt;flac: flacenc: FLAC audio encoder&lt;BR /&gt;coretracers: latency (GstTracerFactory)&lt;BR /&gt;siren: sirenenc: Siren Encoder element&lt;BR /&gt;vorbis: vorbisenc: Vorbis audio encoder&lt;BR /&gt;jpeg: jpegenc: JPEG image encoder&lt;BR /&gt;theora: theoraenc: Theora video encoder&lt;BR /&gt;dtls: dtlsenc: DTLS Encoder&lt;BR /&gt;dtls: dtlssrtpenc: DTLS-SRTP Encoder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see any hw encoder, like h264 or h263.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I found the record task will&amp;nbsp;switch out.&lt;/P&gt;&lt;P&gt;it will cause the record is not continuous. (you can check the attached video)&lt;/P&gt;&lt;P&gt;is there any suggestion to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jimmy&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 03:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817593#M125973</guid>
      <dc:creator>jsu</dc:creator>
      <dc:date>2018-09-12T03:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Video record performance issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817594#M125974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The i.MX8MQ processor does not have any HW encoder so your finding makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure to look at the i.MX8MQ block diagram to learn about the available features:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-8-processors/i.mx-8m-family-armcortex-a53-cortex-m4-audio-voice-video:i.MX8M" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-8-processors/i.mx-8m-family-armcortex-a53-cortex-m4-audio-voice-video:i.MX8M"&gt;i.MX 8M Applications Processor | Arm® Cortex®-A53, Cortex-M4 | 4K display resolution |NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817594#M125974</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2018-09-12T20:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Video record performance issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817595#M125975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimmy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try suggestions provided on&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/476358?commentID=1029609#comment-1029609" title="https://community.nxp.com/thread/476358?commentID=1029609#comment-1029609"&gt;https://community.nxp.com/thread/476358?commentID=1029609#comment-1029609&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or ffmpeg to do the software encode&lt;BR /&gt;root@imx8mqevk:~# /usr/bin/time -f "Elapsed time %E CPU used %P" nice -10&lt;BR /&gt;ffmpeg -y -f rawvideo -r:v 24 -video_size 1920x1080 -pixel_format yuv420p -i&lt;BR /&gt;Kimono1_1920x1080_24.yuv -c:v libx264 -preset ultrafast -crf 32 encoded.mkv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 00:33:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Video-record-performance-issue/m-p/817595#M125975</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-09-13T00:33:39Z</dc:date>
    </item>
  </channel>
</rss>

