<div dir="ltr"><div>I have some minimal test case to reproduce the issue here: <a href="https://github.com/mimbert/gst-playbin-seek-test">https://github.com/mimbert/gst-playbin-seek-test</a></div><div><br></div><div>You just need to clone, instantiate the two vagrant VMs (one is debian stable with pulse, the other is debian testing with pipewire) and run the test case, which plays repeatedly a bass drum sound, waiting two seconds between end of play and seeking back to beginning and replay.</div><div><br></div><div>The behavior is even worse with this test case than with my full application:</div><div>- with debian stable / pulse is works well</div><div>- with debian testing / pipewire I can only hear the first play, and there's no sound after that</div><div><br></div><div>I would like to know if it may be related to me not using the gstreamer API properly (i'm new to gstreamer), an issue at OS/driver level (e.g. pipewire not stable enough yet), a bug in gstreamer?</div><div><br></div><div>cheers</div><div>Matthieu<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 18, 2023 at 9:53 AM Matthieu Imbert <<a href="mailto:matthieu.imbert@gmail.com">matthieu.imbert@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'm developing a software that plays sound using gstreamer playbin (in python, with qt).</div><div><br></div><div>When playing sounds that have a fast attack (such as bass drum samples, i can provide examples if needed), i have issues in some situations:</div><div><ul><li>on my development laptop in debian testing (debian 12), with gstreamer 1.22, pipewire, when I load the sound and play it the first time, i get the correct attack, but then when seeking to 0 and playing again, the attack of the sound is "eaten", which in some cases can deeply alter the audio rendering (on a bass drum sound with a short attack, the attack is really missing, it sounds really different)</li><li>on the same laptop, in a virtualbox VM in debian stable (debian 11), with gstreamer 1.18, pulseaudio, the issue does not occur</li></ul><div>I tried many things to solve that, like playing with seek flags, even trying introducing small delays between operations, and at this point i'm really lacking ideas, so any help, suggestions would be appreciated.</div><div><br></div><div>cheers,</div><div><br></div><div>Matthieu<br></div></div></div>
</blockquote></div>