<div dir="ltr"><p>Thanks, in the end I used the YUV stream that did not give that problem and also was great quality!</p>
<p>gst-launch v4l2src device=/dev/video1 ! 'video/x-raw-yuv,format=(fourcc)YUY2,width=1024,height=576,framerate=15/1' ! \<br>tee name=t_vid ! queue leaky=1 ! \<br>xvimagesink sync=false t_vid. ! queue ! \<br>videorate ! 'video/x-raw-yuv,framerate=20/1' ! queue leaky=1 ! ffmpegcolorspace ! x264enc ! h264parse ! \<br>
mux. pulsesrc device="alsa_input.pci-0000_04_04.0.analog-stereo" ! 'audio/x-raw-int,rate=44100,channels=2,depth=16' ! queue ! \<br>audioconvert ! voaacenc bitrate=65536 ! aacparse ! \<br>mux. mpegtsmux name=mux ! \<br>
tee name=t ! \<br>queue ! filesink location=captured.mp4 t. ! \<br>queue ! tcpserversink host=192.168.22.170 port=5000</p></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 9:27 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On So, 2014-05-11 at 15:41 +0200, Bart Koppe wrote:<br>
> Would there be a reason to choose matroskamux or webmux above mpegtsmux?<br>
<br>
</div>Well, Matroska supports many more codecs but is not that well suited for<br>
streaming. In the end both should be fine for your use case, assuming<br>
that all the clients can handle them.<br>
<div class=""><br>
> My audio dropping presumably had to do with the framerate (I used 30). Now<br>
> I set it to 15/1 and now i see the video stop a few mini-seconds every<br>
> second or so..<br>
><br>
> How can I smooth this out?<br>
<br>
</div>You could try if videorate could make your stream more happy (in front<br>
of the encoder).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</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><div dir="ltr">/\/\/\---------------------------------|<br>

Bart Koppe<br>

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

</div>
</div>