After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737215 - Gapless is not really gapless
Gapless is not really gapless
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.4.2
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-23 21:08 UTC by Richard Röjfors
Modified: 2014-09-23 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The mp3 used while testing (79.31 KB, audio/mp3)
2014-09-23 21:08 UTC, Richard Röjfors
Details

Description Richard Röjfors 2014-09-23 21:08:40 UTC
Created attachment 286935 [details]
The mp3 used while testing

I ran the following:
gst-play-1.0 --gapless file:///path/to/sine.mp3 file:///path/to/sine.mp3

And I found that there is a pop between the two "songs".

I tested with pulse and alsa sinks and hear the same pop. (--audiosink pulsesink / --audiosink alsasink)

I reproduced this on both 1.4.2 and 1.2.4

I attached the mp3 for convenience.
Comment 1 Sebastian Dröge (slomo) 2014-09-23 21:18:30 UTC
This might be related to bug #737055
Comment 2 Sebastian Dröge (slomo) 2014-09-23 21:21:16 UTC
Also note that MP3 is never really gapless by design, see bug #620323

And apart from that there will usually be a small discontinuity if you just play two sine waves as the second one won't start at the same place as the first ends.


Is it more gapless with a lossless audio codec like FLAC?
Comment 3 Richard Röjfors 2014-09-23 21:22:06 UTC
(In reply to comment #1)
> This might be related to bug #737055

I hoped so too, but its not. Actually my 1.4.2 had the patch from #737055 applied. And AFAIK the #737055 didn't change the pulse behaviour and I see this happening with both pulse and alsa sinks...
Comment 4 Richard Röjfors 2014-09-23 21:23:15 UTC
(In reply to comment #2)
> Also note that MP3 is never really gapless by design, see bug #620323
> 
> And apart from that there will usually be a small discontinuity if you just
> play two sine waves as the second one won't start at the same place as the
> first ends.
> 
> 
> Is it more gapless with a lossless audio codec like FLAC?

Good points, I'll take something and cut it in two and encode as flac...
Comment 5 Richard Röjfors 2014-09-23 21:28:17 UTC
(In reply to comment #2)
> Also note that MP3 is never really gapless by design, see bug #620323
> 
> And apart from that there will usually be a small discontinuity if you just
> play two sine waves as the second one won't start at the same place as the
> first ends.
> 
> 
> Is it more gapless with a lossless audio codec like FLAC?

You are completely right. Sorry for the buzz, we can close this.