Hi,<br><br>I have an avi file which contains audio/x-raw-int (and video, but my question is just about the audio).<br>There is the caps:<br>caps = audio/x-raw-int, endianness=(int)1234, channels=(int)2, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, codec_data=(buffer)1000000000000100000000001000800000aa00389b71<br>
and<br>(type: 118, taglist, audio-codec=(string)\&quot;Uncompressed\\ 16-bit\\ PCM\\ audio\&quot;;) <br><br>Using identity and -v, I can see that buffer duration is around 10 sec and the total is 20 sec.<br>So there is only 2 audio buffers.<br>
<br>Is there a gstreamer element that can change or split this buffer duration ? (Usually audio buffer duration is about 20 or 50 ms)<br><br>There is also the &quot;gst_query_set_latency&quot; but what would be the inpact on the video (video buffer duration) ?<br>
<br>Usually I configure the audio latency (=audio buffer duration) when using alsasrc, but how to do that with an avi file?<br><br>Finally I can see :<br><br>Implementation:<br>      Has getrangefunc(): gst_base_transform_getrange<br>
      Has custom eventfunc(): gst_base_transform_src_event<br>      Has custom queryfunc(): 0xb7916800<br>        Provides query types:<br>                (3):    latency (Latency)<br><br>in gst-inspect-0.10 audioresample<br>
<br>So audioresample is able to only change the latency ? any example ?<br><br>Sincerely<br><br>Julien<br>