Bug 380441 - Gapless playback support
Summary: Gapless playback support
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
: 474595 476681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-01 21:50 UTC by Paul Konecny
Modified: 2024-04-12 23:59 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Konecny 2017-06-01 21:50:47 UTC
Hi, 

when I was playing Pink Floyd's "The Dark Side of the Moon" I noticed that there is a slight gap between the tracks that should not be there. 
Does Elisa support gapless playback yet? I haven't found any setting for this. 
Thanks in advance!

Cheers!
Comment 1 Matthieu Gallien 2017-06-02 10:09:14 UTC
Hello, currently there its no support for custom audio settings like gapless playing or cross fade.
Before working on this, I will implement support for ReplayGain. So, you have to be patient our do it yourself. I will be happy to help you in this case.
Comment 2 Paul Konecny 2017-06-04 23:49:45 UTC
I'd love to but unfortunately I haven't got any programming skills whatsoever. Best I can do is report bugs and nice-to-haves I guess. Anyway Elisa looks very promising! Thanks for your efforts!
Comment 3 Matthieu Gallien 2017-12-10 19:55:17 UTC
https://phabricator.kde.org/T7531 has been created to not forget your feature request.
Sorry for the waiting time but we keep an eye on this.
Comment 4 Paul Konecny 2017-12-12 18:39:08 UTC
Thanks! If there's something (except for programming unfortunately) I can help you with, please let me know.
Comment 5 ebray187 2022-06-02 23:51:13 UTC
It's been 5 years since this bug was created, but I don't lose hope that one day someone with the necessary knowledge will solve it. In any case, I find it curious that you can read on the Elisa Wiki in the Goals section that the development is "Focused on music player (managing your music collection is not a development priority)"¹; but you indeed can manage a music library, can generate backgrounds with a nice blur effect from the cover art, and other miscellaneous stuff like song ratings, etc. but can't properly play an album like The Dark Side of the Moon (1973) in 2022.
Is there any update on this?
Anyway, thanks for all the work!

------
1. https://community.kde.org/Elisa#Release_Plans
Comment 6 Felix Ernst 2023-09-07 09:15:19 UTC
Some information:

So there are two backends to make sure that Elisa can play music on any platform.

I wanted to try to quickly exchange the media player with one that has already loaded the next song. I started implementing this in the QMediaPlayer backend because I thought that one was used on Linux. However, I quickly noticed that my development setup uses the libvlc backend. So I looked if I could implement it for the libvlc backend instead.

If you use the original VLC media player application to play a music playlist there still is a gap between songs. That makes me think that if even VLC doesn’t manage to implement gapless playback with their own library it probably isn’t really possible to have gapless playback using their library.

Nevertheless, I looked a bit at the libvlc API to see if there is anything but it didn’t seem to me like the quickly exchanging would be possible there.

Just now I had the idea of searching for “vlc gapless playback” and found https://forum.videolan.org/viewtopic.php?t=144695.

There they confirm my suspicions: “It’s pretty clear (from the developer comments on the problem) that implementing gapless support continues to be incredibly difficult and that it presents some complex problems in a multithreaded environment.”

So yea, it seems really hard to implement this even if one has months of time and the necessary funding at hand. And even if it was fixed for the libvlc backend it wouldn’t be fixed for the other backend yet.
Comment 7 Jack Hill 2023-09-07 09:48:28 UTC
BTW gapless support may appear at some point in the VLC 4 timeline (https://code.videolan.org/videolan/vlc/-/merge_requests/94). But then there is not really any expected release date for VLC 4.0, and the comments on that MR suggest that the feature may end up being pushed into a later version of VLC anyway.

But hopefully with Qt6 using ffmpeg as the default multimedia backend we can drop the VLC backend and then gapless can be implemented as two overlapping media players, as you suggested.
Comment 8 Jack Hill 2023-09-17 09:46:41 UTC
*** Bug 474595 has been marked as a duplicate of this bug. ***
Comment 9 Jack Hill 2023-11-07 19:30:57 UTC
*** Bug 476681 has been marked as a duplicate of this bug. ***
Comment 10 yannssolo 2024-04-12 23:59:29 UTC
This is in my opinion the most important feature to implement in order to be considered as a true and solid media player. Some others do it, some do not...but in any ways very important for Elisa to be adopted. Currently, i do not because of this, deadbeef does it, and far to be perfect but better for 2 things : gapless and much better cover art search.