Author Topic: Spontaneous skips: why?  (Read 5264 times)

crism

  • Newbie
  • *
  • Posts: 9
    • View Profile
Spontaneous skips: why?
« on: September 24, 2013, 08: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.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: Spontaneous skips: why?
« Reply #1 on: September 28, 2013, 02:17:04 »
Can you send me one of these files by email (as a link if it is too big) ?

crism

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Spontaneous skips: why?
« Reply #2 on: October 03, 2013, 02:25:58 »
Can you send me one of these files by email (as a link if it is too big) ?

Done. Thanks, Quentin!

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: Spontaneous skips: why?
« Reply #3 on: October 05, 2013, 00: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

crism

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re : Re: Spontaneous skips: why?
« Reply #4 on: October 05, 2013, 01:56:29 »
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.

bdog

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Spontaneous skips: why?
« Reply #5 on: October 08, 2013, 11: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?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: Spontaneous skips: why?
« Reply #6 on: October 12, 2013, 02:39:07 »
crism: sorry but I still haven't seen any email from you (checked all accounts, including spam folders).

crism

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Spontaneous skips: why?
« Reply #7 on: October 12, 2013, 02:47:42 »
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.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: Spontaneous skips: why?
« Reply #8 on: October 12, 2013, 03: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) :
Code: [Select]
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

crism

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Spontaneous skips: why?
« Reply #9 on: October 12, 2013, 08: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.