<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I personally use MPEG-TS as the container because I also like to
      stream over RTP.</p>
    <p><br>
    </p>
    <p>gst-launch-1.0 v4l2src !
      video/x-raw,framerate=10/1,format=YUY2,width=1280,height=720 !
      videoconvert ! x264enc key-int-max=30 speed-preset=1
      tune=zerolatency ! video/x-h264,profile=high ! mpegtsmux name=mux
      ! filesink location=/tmp/test.ts pulsesrc !
"audio/x-raw,format=S32LE,layout=interleaved,rate=44100,channels=2,channel-mask=(bitmask)0x3"
      !  audioconvert ! avenc_aac ! queue ! mux. -e -v --gst-debug=*:3</p>
    <p><br>
    </p>
    <p>Also, I haven't worked with RTSP only RTP</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 28.09.2021 08.34,
      <a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a> wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:mailman.4746.1632810871.906.gstreamer-devel@lists.freedesktop.org">
      <pre class="moz-quote-pre" wrap="">When combining audio and video into a single file you need a muxer such as
mp4mux:
<a class="moz-txt-link-freetext" href="https://gstreamer.freedesktop.org/documentation/isomp4/mp4mux.html?gi-language=c" moz-do-not-send="true">https://gstreamer.freedesktop.org/documentation/isomp4/mp4mux.html?gi-language=c</a>

I think there are many examples of using mp4mux in the mailing list
archives:
<a class="moz-txt-link-freetext" href="https://www.google.com/search?q=mp4mux&sitesearch=lists.freedesktop.org" moz-do-not-send="true">https://www.google.com/search?q=mp4mux&sitesearch=lists.freedesktop.org</a>

Sorry I haven't done anything with rtsp, but the archive might have some
example pipelines for that.

On Mon, Sep 27, 2021 at 4:22 PM James via gstreamer-devel <
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a>> wrote:

</pre>
      <blockquote type="cite" style="color: #007cff;">
        <pre class="moz-quote-pre" wrap="">Has anybody a pipeline that they can show me please

* h264 video from v4l2 * audio from pulse * save to file

and

same as above but also to rtsp

thanks
James

</pre>
      </blockquote>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”</pre>
  </body>
</html>