Clementine: Gapless still not perfect in 1.2

Created on 14 Dec 2013  路  9Comments  路  Source: clementine-player/Clementine

_From [email protected] on October 30, 2013 19:12:49_

What steps will reproduce the problem? 1. Add songs to playlist that should be gapless (second half of Abby Road for example)

  1. Play songs
  2. Notice a split second gap between tracks What is the expected output? What do you see instead? tracks should play back to back with no gaps at all. The current behavior is better than previous versions, but is still not the behavior expected (playback from a CD would not have any gaps at all, that's what I would like to see) What version of the product are you using? On what operating system? Clementine 1.2 on Linux (arch) Please provide any additional information below. There is already an open issue for this, however it is restricted to MP3 files (I have noticed it with m4a and flac as well) and I cannot comment on it due to not having commit permissions.

_Original issue: http://code.google.com/p/clementine-player/issues/detail?id=3933_

Priority-Medium bug imported

Most helpful comment

Quick bump to say this problem also/still exists in version 1.3.1 on macOS.

While I'm there, huge thanks for your work on Clementine, which allows me to basically never launch the calamity that is iTunes 馃榿

All 9 comments

_From [email protected] on November 21, 2013 11:19:56_

I have the same problem too, I tested with some mp3 songs that should be gapless and i have the gapp
Tested on Clementine 1.2 on Windows 8.1 (x64)

_From [email protected] on November 28, 2013 16:57:17_

This may be related to issue 3974 .

_From [email protected] on December 04, 2013 08:21:56_

What formats do you listen to?

As far as I can see, the problem lies with Gstreamer which is not gapless for all formats.
I checked gapless playback for various formats and:
it is gapless for wav, flac, ape, wavpack, ogg, opus, ALAC (m4a) but it is not gapless for mp3 and AAC (m4a).

So I am surprised that Benjamin found problems with gapless also for flac. What sort of m4a did you try? Apple Lossless (ALAC), or AAC (lossy)?

_From [email protected] on December 04, 2013 08:28:48_

To comment #3

I think this is a Gstreamer issue, because I encountered the same behaviour with Amarok using the Gstreamer backend (with the Xine backend Amarok was never gapless for any format). It was gapless for the formats for which Clementine is also gapless, but it was not gapless for the same formats: mp3 and AAC (m4a).

If Clementine has the implementation of gapless playback from Amarok - i.e if the code is basically the same - then this implementation might be faulty, but if Clementine's implementation of gapless is independent of Amarok, then the issue is likely to be with Gstreamer.

_From [email protected] on December 04, 2013 12:52:13_

Now I tested with gst-play-1.0 the various formats (gst-play-1.0 --gapless file1 file2), and found that Gstreamer is NOT gapless for mp3 and m4a (AAC), whereas it is gapless for wav, flac, ape, wavpack, alac, ogg and opus.

So unless Gstreamer fixes this issue, Clementine will never be gapless for mp3 and m4a (AAC).

I don't believe this depends on gstreamer. Exaile uses gstreamer for playback and handles gapless flac just fine, while Clementine 1.2.1 does not.

I just ran a few more tests with Exaile 3.3.2. It plays .mp3 and .m4a files with a gap, but plays .flac with no gap. So, at least for .flac, Clementine should be able to achieve gapless. (I'm using the ALSA audio sink in both programs.)

Is this relevant? GStreamer 1.6 just came out a few weeks ago.

https://coaxion.net/blog/2014/08/concatenate-multiple-streams-gaplessly-with-gstreamer/

Quick bump to say this problem also/still exists in version 1.3.1 on macOS.

While I'm there, huge thanks for your work on Clementine, which allows me to basically never launch the calamity that is iTunes 馃榿

Was this page helpful?
0 / 5 - 0 ratings