gmusicbrowser Forum

Main board => Questions => Topic started by: crism on September 24, 2013, 03:14:25

Title: Spontaneous skips: why?
Post by: crism on September 24, 2013, 03:14:25
I have a large(ish) music library, mostly in FLAC format, and continue to love using gmusicbrowser to play it.

However, some tracks start to play, then spontaneously move on to the next track in the queue.

The tracks are not damaged (at least not obviously); they play just fine in VLC or other media players.

The skip is consistent, at the same time; for instance, the one just now that provoked this post skips at 0?14? every time. When this happens, the skip count is incremented, so gmusicbrowser definitely doesn't think it's reached the end of the track.

This happens with probably about a dozen tracks out of almost ten thousand in my collection, but of course they are among my favorites.

The behavior did not always exist; for example, the track this evening did play successfully 4 times (at some point in the past). Once a track starts skipping, it seems irreversible.

Any idea what's going on here, or what I can do to fix it?

This is gmusicbrowser 1.1.9, using gstreamer for output, on Linux Mint 15 Olivia.
Title: Re: Spontaneous skips: why?
Post by: Quentin Sculo on September 27, 2013, 21:17:04
Can you send me one of these files by email (as a link if it is too big) ?
Title: Re: Spontaneous skips: why?
Post by: crism on October 02, 2013, 21:25:58
Quote from: Quentin Sculo on September 27, 2013, 21:17:04
Can you send me one of these files by email (as a link if it is too big) ?

Done. Thanks, Quentin!
Title: Re: Spontaneous skips: why?
Post by: Quentin Sculo on October 04, 2013, 19:57:41
Sorry but I haven't seen any email from you. Could you try again ? You can use the email squentin at gmail.com
Title: Re : Re: Spontaneous skips: why?
Post by: crism on October 04, 2013, 20:56:29
Quote from: Quentin Sculo on October 04, 2013, 19:57:41
Sorry but I haven't seen any email from you. Could you try again ? You can use the email squentin at gmail.com

I used the in-forum e-mail link on your profile. Direct e-mail is now queued up. (Currently on a wireless that won't allow SMTP connections.)

Thanks again.
Title: Re: Spontaneous skips: why?
Post by: bdog on October 08, 2013, 06:58:26
I have experienced this with flac files myself when running under debian 7.0 I did manage to track it down to a codec decoding problem (I think). I had installed the *-plugins-good and *plugins-bad *plugins-ugly. I think I found that something in ugly was causing some flac files to skip in gmuiscbrowser. It skipped with 1.1.10 & v1.1.9 I did not try any other versions.

Can the OP give any more details on OS and codecs installed?
Title: Re: Spontaneous skips: why?
Post by: Quentin Sculo on October 11, 2013, 21:39:07
crism: sorry but I still haven't seen any email from you (checked all accounts, including spam folders).
Title: Re: Spontaneous skips: why?
Post by: crism on October 11, 2013, 21:47:42
Quote from: Quentin Sculo on October 11, 2013, 21:39:07
crism: sorry but I still haven't seen any email from you (checked all accounts, including spam folders).

Well, crap—tried again just now. Perhaps the bad wireless caused a glitch last time... sorry for all the hassle.
Title: Re: Spontaneous skips: why?
Post by: Quentin Sculo on October 11, 2013, 22:39:48
Thanks, I've got it this time.
I did a few quick tests, and it seems to be a bug in the decodebin/decodebin2 plugins of gstreamer 0.10 (used by the playbin/playbin2 plugins). It seems to work with gstreamer 1.0, sadly gmb can't use gstreamer 1.0 currently. I currently don't know if it is possible to use gstreamer 1.0 with perl, I'll have to look into it, but even if it is possible it will probably be a while until I add support for it.

So sadly there is no easy fix, I could stop using playbin/playbin2, but that would be much work as they greatly simplify using gstreamer to play a file, and porting to gstreamer 1.0 is something I will have to do eventually anyway, at least I've got one more reason to do it.

Commands I've used to test it (replace PATH) :
works : gst-launch-0.10 filesrc location=/PATH/file.flac ! flacdec ! audioconvert ! audioresample ! pulsesink
stops at 14s : gst-launch-0.10 playbin uri=file:///PATH/file.flac
stops at 14s : gst-launch-0.10 playbin2 uri=file:///PATH/file.flac
stops at 14s : gst-launch-0.10 filesrc  location=/PATH/file.flac  !  decodebin2  !  audioconvert  ! audioresample ! pulsesink
works : gst-launch-1.0 playbin uri=file:///PATH/file.flac
Title: Re: Spontaneous skips: why?
Post by: crism on October 12, 2013, 03:30:42
Thanks for the quick detective work, Quentin. I can live with it for now, though it's a slight pain... the baffling part to me is that these files *did* play a few times, then stopped working, but I suppose an upgrade in gstreamer could account for that.

I'll keep my eyes open for a future version using gstreamer 1.0, and will muddle through meanwhile.

Thanks, and sorry for the e-mail hassles.