<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Hi Folks,</font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">I am working on a bin which has a ‘souphttpsrc’ and ‘queue’ as children. I am </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">connecting this bin in the following pipeline to play an avi file with xvid encoding.</font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">gst-launch httpplugin location=http://…/sample.avi ! avidemux name=avd avd.video_00 ! xviddec ! ffmpegcolorspace ! ximagesink</font></p>

<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">The pipeline works fine and the application shows the video. </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Now I want to know the amount of data present in the queue at any point during playback in terms of ns. I checked the queue properties and found that there is a property </font><font face="Times New Roman"><font size="3">‘</font><code><b style><span style="FONT-FAMILY:'Times New Roman';COLOR:black;FONT-SIZE:10pt">current-level-time</span></b></code><font size="3">’ which should give <b style>current amount of data in the queue (in ns)</b>. But it gives me some unexpected value (18446744073709551615)</font></font></p>

<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">But if try to get ‘<b style>current-level-bytes</b>’ property value, I am able to get values properly. </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><b style><font size="3"><font face="Times New Roman">Now my query is</font></font></b></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Is there some property that I need to set for the queue to give correct value in terms of time?</font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> </font></p>
<div style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"> Regards,</font></div>
<div style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Vikram</font> </div>