i found out that i was misunderstanding the progressreport and actually the blocksize was working, and now i understand a little better my problem. When i use an audioparse on my plugin the blocksize parameter is ignored on filesrc and gnomevfssrc, i used identity + -v and already made a debu=filesrc:5 and when there is a audioparse on the pipe the size read by the sources seens to always be 4096. Is there an explanation for this?<br>
<br>best regards,<br>Katcipis<br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 12:01 PM, Tiago Katcipis <span dir="ltr">&lt;<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font size="2">My problem seens to be simple but im having some problem on resolving it. Im streaming audio but when i use an alaw decoder the size of the audio packets that arrive at my appsink are enormous (something like 10k each buffer) and this is giving me some problems, i want to determine the size of the buffers that arrives at appsink, but appsink blocksize property seens to be completely useless, and the filesrc / gnomevfssrc blocksize seens to be useless to, the size os my buffers dont change when i use blocksize. It is interesting that when i use decodebin on adpcm ima the size of the buffers are small (great for me), it seens that someone on decodebin for ima adpcm does this for me, but i cant do it on alaw decoding.<br>

<br>i started to try some things and i noticed this:<br><br style="color: rgb(255, 0, 0);"></font><font size="2"><span style="color: rgb(255, 0, 0);">gst-launch audiotestsrc ! progressreport ! appsink</span><br><br>this launch will report 5 seconds each, but if i run this<br>

<br></font><font size="2"><span style="color: rgb(255, 0, 0);">gst-launch audiotestsrc ! progressreport ! appsink sync=false</span><br><br>it will report thousands of seconds each buffer. It has something to do with the clock but im not being able to control it. can someone give me a lead on the best way to determine the size of the arriving buffer on my appsink ?<br>

<br>best regards<br>Katcipis<br clear="all"><br>-- <br>&quot;it might be a profitable thing to learn Java, but it has no intellectual value whatsoever&quot; Alexander Stepanov<br></font>
</blockquote></div><br><br clear="all"><br>-- <br>&quot;it might be a profitable thing to learn Java, but it has no intellectual value whatsoever&quot; Alexander Stepanov<br>