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 699344 - Gstreamer plays only first 40 seconds of attached flac file
Gstreamer plays only first 40 seconds of attached flac file
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-30 16:43 UTC by Jonathan Ryshpan
Modified: 2013-04-30 17:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Ryshpan 2013-04-30 16:43:29 UTC
Amarok and kmplayer. both using the phonon backend, play only the first 40 seconds of the attached file.  xmms and kmplayer using the mplayer back end both play it completely.  If I recode the file in the following way:
$ flac -d Sexta.flac
$ mv Sexta.wav Sexta-ed.wav
$ flac Sexta-ed.wav
Amarok and kmplayer both play Sexta-ed.flac completely, so the file seems to be defective in some way, but a way that a coded should be able to deal with.

It appears that phonon calls on gstreamer to decode flac files.
Comment 1 Tim-Philipp Müller 2013-04-30 17:00:35 UTC
Bugzilla only allows attachements up to 750k-1024k or so, perhaps you could make the file available elsewhere?

I suspect this is a known issue with the last 0.10 releases. It's probably fixed in GStreamer 1.x, so you would have to ask those applications to update to the new GStreamer API, as 0.10 is not maintained any longer.

You should be able to confirm the issue and/or check if it's fixed with:

 $ gst-launch-0.10 playbin2 uri=file:///path/to/foo.flac

vs.

 $ gst-launch-1.0 playbin uri=file:///path/to/foo.flac
Comment 2 Jonathan Ryshpan 2013-04-30 17:45:20 UTC
It is all as you write; 

$ gst-launch-1.0 ...

plays the whole file, 

while

$ gst-launch-0.10" ...

plays only the first 40 seconds.  I will notify the developers of my distro, namely Fedora-18.

Many thanks for this extremely quick response.
Comment 3 Tim-Philipp Müller 2013-04-30 17:57:42 UTC
Yeah, sorry 'bout that. I *think* the problem was in flacparse, so it might be possible to isolate and cherry-pick some patches from the 0.10 branch in git (gst-plugins-good/gst/audioparsers/gstflacparse.c)