<?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のトピックRe: Dynamically Record Video</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1850247#M222724</link>
    <description>&lt;P&gt;Thanks for the response, I got good results using the appsink approach.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 23:40:47 GMT</pubDate>
    <dc:creator>itaigolan</dc:creator>
    <dc:date>2024-04-18T23:40:47Z</dc:date>
    <item>
      <title>Dynamically Record Video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1844586#M222354</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;Hi, I’m displaying a video from v4l2src in a waylandsink and while I’m doing that I want to dynamically record the video to an mp4. I want to allow a user provided input to determine when to start recording to an mp4 and when to stop the recording. The recording pipeline I’m currently using is:&lt;BR /&gt;gst-launch-1.0 v4l2src ! vpuenc_h264 ! h264parse ! mp4mux ! filesink location=sample.mp4 -e&lt;/P&gt;&lt;P&gt;I tried connecting the recording pipeline to a tee and then deleting it when I’m done recording and I was able to get video to record but that approach causes problems after starting and stopping recording multiple times. Does anyone know a way I can approach this, preferably by just pausing the recording section of the pipeline?&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Apr 2024 00:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1844586#M222354</guid>
      <dc:creator>itaigolan</dc:creator>
      <dc:date>2024-04-11T00:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Record Video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1844747#M222360</link>
      <description>&lt;P&gt;what processor and bsp version do you use？ and what kind of problem do you have?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 03:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1844747#M222360</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-04-11T03:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Record Video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1845459#M222408</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;The processor is imx8mp and we are running Mickledore. My question is how do I set up a system where I can dynamically start and stop video recording while constantly displaying the video on a waylandsink.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 20:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1845459#M222408</guid>
      <dc:creator>itaigolan</dc:creator>
      <dc:date>2024-04-11T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Record Video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1845950#M222435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227072"&gt;@itaigolan&lt;/a&gt;,&lt;BR /&gt;I would implement a gstreamer &lt;STRONG&gt;Tee&lt;/STRONG&gt; that sinks in an &lt;STRONG&gt;Appsink&lt;/STRONG&gt;. After that, every time a new recording event occurs, I will start a recording pipeline using &lt;STRONG&gt;Appsrc&lt;/STRONG&gt;. This would be my best bet.&lt;BR /&gt;&lt;BR /&gt;You might alternatively look at &lt;STRONG&gt;Ridgerun Interpipe&lt;/STRONG&gt; that can do similar stuff:&lt;BR /&gt;&lt;A href="https://developer.ridgerun.com/wiki/index.php/GstInterpipe_-_GstInterpipe_Overview" target="_self"&gt;https://developer.ridgerun.com/wiki/index.php/GstInterpipe_-_GstInterpipe_Overview&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Using pause or start/stop does not work well with MP4 because MP4 needs a proper file header that contains all key frame positions of the stream. A more robust file format for this is &lt;STRONG&gt;Mpeg-TS&lt;/STRONG&gt;. H.264 elementary stream embeds very well in *.ts files and TS muxer are available in stock Gstreamer.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 08:39:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1845950#M222435</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2024-04-12T08:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Record Video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1850247#M222724</link>
      <description>&lt;P&gt;Thanks for the response, I got good results using the appsink approach.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 23:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-Record-Video/m-p/1850247#M222724</guid>
      <dc:creator>itaigolan</dc:creator>
      <dc:date>2024-04-18T23:40:47Z</dc:date>
    </item>
  </channel>
</rss>

