Open Derpitron opened 2 years ago
Do you see this problem when playing songs from the songlist (e.g. in the paned browser), or only when using a playlist? Do you have any files other than mp3 (flac, m4a, ogg, wav, etc) that you could test this with?
Do you see this problem when playing songs from the songlist (e.g. in the paned browser), or only when using a playlist?
This problem is observed all of the views which have the Track List panel.
Do you have any files other than mp3 (flac, m4a, ogg, wav, etc) that you could test this with?
I don't have any files other than mp3 to test with.
I couldn't reproduce this with a fresh download of 4.5.0 portable.
Windows 10 Enterprise LTSC Version: 1809 Build 17763.3469
Stuff you could try, if no one else has any suggestions:
quodlibet-cmd.exe --debug
. Reproduce the issue and upload the log here. You can also go back to File > Preferences > Playback and click "Print Pipeline" and that will add some additional debugging information to the log.2. Where is the section "Print Pipeline"?
I believe you have to have started it with the "--debug" option I mentioned for that to appear.
I see you've updated the original post with the logs. Those Recalculate latency
lines look suspicious to me. Your buffer duration (in screenshot) looks low, I wonder if putting it on 2 or 3 seconds would improve things? The small buffer might be breaking GStreamer in gapless playback mode.
If it's a recalculate latency
issue, this might be an upstream bug with Gstreamer. I've been having issues where I can't seek FLAC files without it causing a delay lasting seconds before it kicks back in. I've tried uninstalling gst-libav
, switching between PipeWire and PulseAudio, disabling gapless, increasing the output buffer, still nothing.
I also tried Gmusicbrowser, which also uses Gstreamer as a backend, and still the same problem. This also occurs in Dolphin's (KDE) preview pane when Gstreamer is used as Phonon's backend. I'm running Arch Linux, with gstreamer 1.20.3-2
EDIT: Fixed by downgrading Gstreamer and its libraries to 1.20.2. I've reported my issue to upstream and referenced this one just in case.
@Viktini nice find. I think this is probably a different issue because the version in use is 4.5.0, on Windows. At the time of the release, the latest msys2 package for gstreamer was 1.20.1, so they are most likely using that.
@hydino2085143 incidentally, the mp3 format doesn't natively support gapless playback, it's basically hacked in and only works if you have a supported encoder / decoder combination. So if the suggestions I made above don't help, there's some chance the problem could be specific to your mp3 files. Maybe you could provide samples or at least say where they're from / how they're encoded? I don't have any I can test except stuff in my own collection, which is encoded with the latest version of LAME.
Edit: to confirm that mp3 is at fault here, you could also download this public domain album in FLAC.
Steps to reproduce
Expected Output
Audio should play one after the other seamlessly without cutting out, when using Gapless Playback.
Actual Output
Subsequent song is silent when playing in a sequence.
Output when running
Debug Log
Print Pipeline
Test System
Which version of Quod Libet?
4.5.0, at commit 7e82d050c765a1d6f3ee84009461aa07acd64b58
Which operating system
Windows 10 21H2
If it's audio-related, what back-end?
Unsure how to check the back-end