<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>At first I got tcpserversink working with mpegtsmux.<br><br>gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! \<br>
muxout. \<br>pulsesrc device="alsa_input.pci-0000_00_1b.0.analog-stereo" \<br>! queue ! audioconvert ! voaacenc bitrate=65536 ! \<br>muxout. \<br>mpegtsmux name=muxout ! queue ! tcpserversink host=192.168.2.13 port=5000<br>
<br>client: cvlc tcp://<a href="http://192.168.2.13:5000">192.168.2.13:5000</a><br><br></div>I played the stream (video+audio) for quite long. When I got back I wanted to start including tee for hdd saving. But then I found out the audio piping was not working anymore. Only if I use matroskamux (because i used it earlier) and save to disk i get audio, but then only for a bit.  But mpegtsmux with tcpservsink gicves no audio anymore. <br>
</div><br>I'm expecting some faulty syntax from me?<br><br></div>vlc says: <br>[0x7f3b08001d58] ts demux error: MPEG-4 descriptor not found<br>[0x7f3b08e23a48] packetizer_mpeg4audio packetizer: AAC channels: 1 samplerate: 44100<br>
[0x7f3b08001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 10, expected 1) for PID 0<br>[0x7f3b08001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 10, expected 1) for PID 32<br>
Fontconfig warning: FcPattern object size does not accept value "0"<br>Fontconfig warning: FcPattern object size does not accept value "0"<br>Fontconfig warning: FcPattern object size does not accept value "0"<br>
Fontconfig warning: FcPattern object size does not accept value "0"<br><br></div>Thanks!<br>Bart<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 9, 2014 at 3:52 PM, Dušan Poizl <span dir="ltr"><<a href="mailto:poizl@maindata.sk" target="_blank">poizl@maindata.sk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    matroska is not suitable for streaming. it is intended that you can
    seek in file when you open it. much better option is using RTP or
    MPEG-TS. so try replace matroskamux/demux with mpegtsmux and
    tsdemux.<br>
    <br>
    <div>Dňa 09.05.2014 15:31, Bart Koppe wrote
      / napísal(a):<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
          </div>
          Just still stuck how I can forward the matroskamux to
          tcpserversink on its own, any advise here? How to make it
          stream in stead of saving it to a file? (once I get there I
          will use tee to do both)<br>
        </div>
        Thanks,<br>
        Bart<br>
        <div><br>
          <div>
            <div>
              <div>
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Fri, May 9, 2014 at 2:18
                    AM, Luis de Bethencourt <span dir="ltr"><<a href="mailto:luis@debethencourt.com" target="_blank">luis@debethencourt.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                      <div dir="ltr">Hi,
                        <div><br>
                        </div>
                        <div>You want to split the data with a tee just
                          before filesink.</div>
                        <div><br>
                        </div>
                        <div>So the data out of the matroskamux is split
                          into two, one split going to filesink and the
                          other to tcpserversink.</div>
                        <div><br>
                        </div>
                        <div>You have an example of how to use tee here:</div>
                        <div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html</a><br>

                        </div>
                        <div><br>
                        </div>
                        <div>Luis</div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">
                          <div>
                            <div>On 8 May 2014 11:08, Bart
                              Koppe <span dir="ltr"><<a href="mailto:bk@a-bort.org" target="_blank">bk@a-bort.org</a>></span>
                              wrote:<br>
                            </div>
                          </div>
                          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                            <div>
                              <div>
                                <div dir="ltr">
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>Hi,<br>
                                          </div>
                                          I've been experimenting with
                                          gstreamer for a while now and
                                          got quite far for my level of
                                          experience :) <br>
                                        </div>
                                        So now I can capture video and
                                        sound muxed together from my
                                        C920 to a file!<br>
                                      </div>
                                      <br>
                                      gst-launch-1.0 v4l2src
                                      device=/dev/video1 !
                                      video/x-h264,width=1280,height=720,framerate=30/1
                                      ! h264parse ! \<br>
                                      muxout. \<br>
                                      pulsesrc
                                      device="alsa_input.usb-046d_HD_Pro_Webcam_C920_F1894590-02-C920.analog-stereo"
                                      \<br>
                                      ! queue ! audioconvert ! voaacenc
                                      bitrate=65536 ! \<br>
                                      muxout. \<br>
                                      matroskamux name=muxout
                                      streamable=true ! \<br>
                                      filesink location=muxed-long.mp4<br>
                                      <br>
                                    </div>
                                    As a next step I would like to also
                                    stream the muxed audio+video
                                    directly to tcpserversink. <br>
                                  </div>
                                  <div>Any tips how to forward the mux
                                    to tcp? (and still capture)<br>
                                  </div>
                                  <div><br>
                                  </div>
                                  Thanks!<span><font color="#888888"><br>
                                      Bart<br>
                                      <div>
                                        <div><br clear="all">
                                          <div>
                                            <div>
                                              <div>
                                                <div><br>
                                                  -- <br>
/\/\/\---------------------------------|<br>
                                                  Bart Koppe<br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </font></span></div>
                                <br>
                              </div>
                            </div>
_______________________________________________<br>
                            gstreamer-devel mailing list<br>
                            <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
                            <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      _______________________________________________<br>
                      gstreamer-devel mailing list<br>
                      <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
                      <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <br>
                  -- <br>
                  /\/\/\---------------------------------|<br>
                  Bart Koppe<br>
                  mediakunstenaar | <a href="http://bartkoppe.net" target="_blank">http://bartkoppe.net</a><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/\/\/\---------------------------------|<br>

Bart Koppe<br>

mediakunstenaar | <a href="http://bartkoppe.net" target="_blank">http://bartkoppe.net</a><br>

<a href="mailto:bk@a-bort.org" target="_blank">bk@a-bort.org</a><br>


tel +3640704051<br>

[aim/msn/skype bartkoppe]<br>


</div>