Hi-res audio skips & stutters at beginning of tracks

Need help with MPD?
Post Reply
Lomax
Posts: 4
Joined: July 8th, 2016, 2:55 pm

Hi-res audio skips & stutters at beginning of tracks

Post by Lomax »

I've been using MPD with great success for a while now, running behind UPMPDCLI on a RaspberryPi 2 as a UPnP streaming "target". However, recently I have started getting into high resolution audio, and I've run into a strange issue with playback. Whenever I start a 24/44.1 24/48 or 24/96 track, it stutters and skips for a few seconds at the beginning. almost as if it's trying to catch up with data that is out of sync. This usually stops after a short while, maybe a handful of seconds, but sometimes the track is ended and it moves on to the next item in the playlist. If I click to go back to the previous track then it stutters for a while again, but once the stuttering has stopped it usually ends up playing through without further issues. Any idea what could be causing this?

Ran
Posts: 151
Joined: February 25th, 2013, 3:47 am

Re: Hi-res audio skips & stutters at beginning of tracks

Post by Ran »

Can you provide more info on your setup and network? Also, what version of MPD?

Lomax
Posts: 4
Joined: July 8th, 2016, 2:55 pm

Re: Hi-res audio skips & stutters at beginning of tracks

Post by Lomax »

Thanks Ran. MPD version 0.16.7 is running under Raspbian (kernel 4.0.6-v7+) with UPMPDCLI as front-end (Upmpdcli 1.1.3, libupnpp 0.14.1, libupnp 1.6.19.jfd2) on a RaspberryPi 2. Other than an SSH daemon it runs no other applications. MPD audio config looks like this:

Code: Select all

audio_output {
        type             "alsa"
        name             "NuForce USB Audio - USB Audio"
        device           "hw:1,0"
        auto_resample    "no"
        auto_format      "no"
        auto_channels    "no"
}
replaygain                 "off"
mixer_type                 "none"
All other MPD and UPMPDCLI settings are defaults.

max
Forum team
Posts: 1127
Joined: January 15th, 2013, 3:43 pm

Re: Hi-res audio skips & stutters at beginning of tracks

Post by max »

MPD 0.16.7 is ancient and thus unsupported. Please do not waste people's time with questions about it.

Lomax
Posts: 4
Joined: July 8th, 2016, 2:55 pm

Re: Hi-res audio skips & stutters at beginning of tracks

Post by Lomax »

I'm terribly sorry - I had no idea; it is the latest version shipped by the Raspbian repos. Is there an official repo for MPD binaries that I can use?

espakman
Posts: 3
Joined: July 29th, 2016, 7:14 am

Re: Hi-res audio skips & stutters at beginning of tracks

Post by espakman »

You can install a more recent mpd raspbian package via the upmpdcli website:
https://www.lesbonscomptes.com/upmpdcli/downloads.html

Lomax
Posts: 4
Joined: July 8th, 2016, 2:55 pm

Re: Hi-res audio skips & stutters at beginning of tracks

Post by Lomax »

I can confirm that with my current Raspbian build this is no longer a problem. Versions installed:

Music Player Daemon 0.19.1
Upmpdcli 1.2.12
libupnpp 0.15.1

Post Reply