Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Problem: [PROBLEM] 9.x: MPD crashing ad-hoc / stops playing
#45
(10-20-2024, 11:52 AM)kurt1970 Wrote: @Tim Curtis, for the time being, I had to reinstall the original file, as soon as - with whatever radio station - it hits a drop, I keeps playing radio silence for ever.

The updated mpdmon "works" on my end with the SuperStereoHiRes7 (24/96K) station but I had to set the Message threshold to 5 in Radio manager in order to avoid eventual MPD crash. 

Code:
http://icecast.centaury.cl:7570/SuperStereoHiRes7

And by "works" I mean that buffer under-runs were detected, MPD was restarted and play was resumed during a ~6 hour test however these buffer under-runs always occurred at track change which caused the beginning of the new track to be cut off because of the MPD restart. This makes the playback experience unlistenable.

Below is the MPD verbose log for two of their streams that are playing the exact same set of tracks. One decodes to 24/96K with metadata and the other decodes to 16/44.1K without any metadata.

It's only the 24/96K decoded stream that constantly buffer under-runs. The 16/44.1K stream has no issues whatsoever.

Code:
# This decodes to 24/96K PCM and has metadata

Oct 20 08:13 : playlist: play 30:"http://icecast.centaury.cl:7570/SuperStereoHiRes7"
Oct 20 08:13 : decoder_thread: probing plugin vorbis
Oct 20 08:13 : decoder_thread: probing plugin oggflac
Oct 20 08:13 : decoder: audio_format=96000:24:2, seekable=false
Oct 20 08:13 : alsa_output: opened _audioout type=COPY
Oct 20 08:13 : alsa_output: buffer: size=8..65536 time=83..682667
Oct 20 08:13 : alsa_output: period: size=4..32768 time=41..341334
Oct 20 08:13 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Oct 20 08:13 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Oct 20 08:13 : alsa_output: buffer_size=48000 period_size=12000
Oct 20 08:13 : output: opened "ALSA Default" (alsa) audio_format=96000:24:2

# This decodes to 16/44.1K PCM and has no metadata

Oct 20 08:13 : playlist: play 31:"http://icecast.centaury.cl:7560/SuperStereoNoData7"
Oct 20 08:13 : decoder_thread: probing plugin vorbis
Oct 20 08:13 : decoder_thread: probing plugin oggflac
Oct 20 08:13 : decoder: audio_format=44100:16:2, seekable=false
Oct 20 08:13 : alsa_output: opened _audioout type=COPY
Oct 20 08:13 : alsa_output: buffer: size=16..131072 time=362..2972155
Oct 20 08:13 : alsa_output: period: size=8..65536 time=181..1486078
Oct 20 08:13 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Oct 20 08:13 : alsa_output: format=S16_LE (Signed 16 bit Little Endian)
Oct 20 08:13 : alsa_output: buffer_size=22050 period_size=4410
Oct 20 08:13 : output: opened "ALSA Default" (alsa) audio_format=44100:16:2

Some options:

1. Post an issue to the MPD repo about the buffer under-runs for only the 24/96K stream
2. Contact the broadcaster and ask them to add metadata to the 16/44.1K stream
3. Try other broadcasters. There doesn't seem to be anything unique about the track list in these streams
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub


Messages In This Thread
RE: [PROBLEM] 9.1.2: MPD crashing ad-hoc - by Tim Curtis - 10-20-2024, 12:49 PM

Forum Jump: