missing attack of sound with playbin after seek to beginning
matthieu.imbert at gmail.com
Mon Feb 20 09:57:35 UTC 2023
I have some minimal test case to reproduce the issue here:
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.
The behavior is even worse with this test case than with my full
- with debian stable / pulse is works well
- with debian testing / pipewire I can only hear the first play, and
there's no sound after that
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?
On Sat, Feb 18, 2023 at 9:53 AM Matthieu Imbert <matthieu.imbert at gmail.com>
> I'm developing a software that plays sound using gstreamer playbin (in
> python, with qt).
> 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:
> - 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)
> - on the same laptop, in a virtualbox VM in debian stable (debian 11),
> with gstreamer 1.18, pulseaudio, the issue does not occur
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel