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 707172 - Gapless playback in playbin does not work
Gapless playback in playbin does not work
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.0.8
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-31 09:31 UTC by Marcin Lewandowski
Modified: 2014-07-22 07:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (537 bytes, text/x-vala)
2013-08-31 09:31 UTC, Marcin Lewandowski
Details
C version of testcase (generated by valac) (2.92 KB, text/x-csrc)
2013-08-31 09:31 UTC, Marcin Lewandowski
Details
Test file (16.73 KB, audio/mpeg)
2013-08-31 09:31 UTC, Marcin Lewandowski
Details
Test file (WAV mono) (86.18 KB, audio/x-wav)
2013-09-01 10:51 UTC, Marcin Lewandowski
Details

Description Marcin Lewandowski 2013-08-31 09:31:17 UTC
Created attachment 253677 [details]
Test case

I've created super-simple pipeline to test playbin gapless playback feature and it seems that it does not work any more.

When I run attached code, according to the docs, I should not hear any gaps, but they appear.
Comment 1 Marcin Lewandowski 2013-08-31 09:31:39 UTC
Created attachment 253678 [details]
C version of testcase (generated by valac)
Comment 2 Marcin Lewandowski 2013-08-31 09:31:54 UTC
Created attachment 253679 [details]
Test file
Comment 3 Tim-Philipp Müller 2013-08-31 13:07:17 UTC
Please try with a .wav file containing raw audio first.
Comment 4 Marcin Lewandowski 2013-09-01 10:50:27 UTC
When I passed WAV file it is even worse - it plays it only once.
Comment 5 Marcin Lewandowski 2013-09-01 10:51:05 UTC
Created attachment 253742 [details]
Test file (WAV mono)
Comment 6 Sebastian Dröge (slomo) 2013-09-02 09:43:56 UTC
Does this work properly with git master? There were many gapless and related changes
Comment 7 Marcin Lewandowski 2013-09-02 09:45:24 UTC
I will try to check with master but I go for holidays in 2 days and I am extremely busy before I leave. If I won't respond till Wednesday, please don't close the bug report.
Comment 8 Tim-Philipp Müller 2013-09-04 16:44:48 UTC
gst-play-1.0 --gapless file1.wav file2.wav

works perfectly fine for me, same with .flac files. (If I split a song into multiple wav/flac files, for example).

If you set the same URI again in about-to-finish it probably assumes it has not changed.
Comment 9 Marcin Lewandowski 2013-09-04 18:57:20 UTC
It can't be like that because in such case it would not have played mp3 file multiple times.
Comment 10 Sebastian Dröge (slomo) 2013-09-05 11:42:48 UTC
(In reply to comment #8)

> If you set the same URI again in about-to-finish it probably assumes it has not
> changed.

It doesn't fortunately, that would be a bug otherwise :)
Comment 11 Tobias Mueller 2014-01-19 22:02:18 UTC
So is this bug report OBSOLETE?
Comment 12 Sebastian Dröge (slomo) 2014-01-20 08:08:49 UTC
Maybe, or not. Depends on Marcin if there still is a problem or not, we can't reproduce it from his description.
Comment 13 Marcin Lewandowski 2014-01-20 21:43:47 UTC
Please give me some time to check this, I am working on another project right now but I will have to get back to the one in which I've encountered this bug in February.
Comment 14 Tim-Philipp Müller 2014-07-22 07:47:52 UTC
Let's close this for now then. If it's still an issue, someone else will file a new bug sooner or later.