<div>Hi Wim,</div>
<div>Thanks a lot for your prompt reply.</div>
<div> </div>
<div>I have tried this thing with queue2 too.</div>
<div> </div>
<div>The steps are mentioned below</div>
<div>1. Set max-size-bytes= 10MB(for queue's max capacity)</div>
<div>2. Set low-percent=high-percent=5 initially.</div>
<div> </div>
<div>Now I am listening to bus messages. On GST_MESSAGE_BUFFERING, when I get the percent vlaue, I am always getting either 0 or 100. </div>
<div> </div>
<div>Is it that restrictin based on number of bytes is not correct. rather we should restrict the percentage values based on time as explained in the link you have shared?</div>
<div> </div>
<div>Or Is there something wrong with my understanding?</div>
<div> </div>
<div>Regards,</div>
<div>Vikram<br></div>
<div class="gmail_quote">On Tue, Oct 23, 2012 at 3:23 PM, Wim Taymans <span dir="ltr"><<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="HOEnZb">
<div class="h5">On 10/23/2012 11:45 AM, Vijay Vikram wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi,<br>I am trying to use queue element in my pipeline for buffering. My goal is to start playback of content after some bytes are queued up.<br>
According to my understanding of the queue, I was trying the following<br>1. Set max-size-bytes= some bytes(for queue's max capacity)<br>2. Set min-threshold-bytes=some bytes(say 100k)<br>souphttpsrc is downloading the data.<br>
Now I was thinking that chunks will be queued up inside queue till the min-threshold(100k bytes) is reached and queue will start pushing the data downstream(thats a demux) after that.<br>But while testing, I realized that queue starts pushing as soon as it gets the first chunk.<br>
Looks like my understanding of queue is not correct.<br>Can someone help me out regarding this? If you can share some insight or some documentation to help me do this, that would be great of you.<br></blockquote><br></div>
</div>Don't use queue for this, the min-threshold-* is useless. Use queue2 to implement buffering and<br>check out the buffering documentation here:<br><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-buffering.html" target="_blank">http://gstreamer.freedesktop.<u></u>org/data/doc/gstreamer/head/<u></u>manual/html/chapter-buffering.<u></u>html</a><br>
<br>Wim<br><br><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Regards,<br>Vikram<br><br><br>______________________________<u></u>_________________<br>gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote><br>______________________________<u></u>_________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br></blockquote></div><br>