<div dir="ltr">On 2 July 2015 at 16:05, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm looking at buffering a video onto a disk, for about an hour before<br>
sending it out. My pipeline looks something like this<br>
<br>
gst-launch v4l2src ! video/x-raw,width=720,height=480 ! videoconvert !<br>
x264enc bitrate=2000 ! mpegtsmux ! queue2 temp-template=/tmp/bufXXXX !<br>
udpsink host=192.168.33.12 port=5050<br>
<br>
Can someone tell how to configure the buffering period, say 10s, 100s or<br>
3600s? WHat should I configure queue2 as?<br>
<br>
~Bo<br></blockquote><div><br></div><div>Check out these two properties of queue:<br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue.html#GstQueue--min-threshold-time">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue.html#GstQueue--min-threshold-time</a><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue.html#GstQueue--max-size-time">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue.html#GstQueue--max-size-time</a><br><br></div><div>I recommend you play with them with values of 30 seconds or so to get an idea of how they work.<br><br></div><div>Enjoy,<br></div><div>Luis <br></div></div></div></div>