0

I live in the UK and have a music subscription with Presto Music https://www.prestomusic.com a great selection of classical music and jazz. It comes via my router and an ethernet cable to my Raspberry Pi 4B 8GB connected by HDMI output to my TV with nice speakers. But I have found that streaming encoded at 192kHz is too much for my Pi to process, and it stutters. Up to 96kHz it had been ok but newer albums are streamed at 192kHz.

This happens in Raspian Chromium and also Ubuntu or Manjaro with Firefox. Tweaking browser settings doesn't help, I had a go at installing ffmpeg which made it worse. By a process of elimination I find the only factor causing the stuttering is the kHz of the stream.

I opened VLC and tried to play the stream through that by copying the URL of the music but it didn't work.

If I listen on my PC or my iPhone there is no problem.

I have done some research but not found an answer, or one that I understand; I'm a beginner. Do I need to install more software? Would a USB-DAC solve the problem? I'd prefer that to a HAT because the Pi is in a nice FLIRC case. Most DAC seem to be for headphones but I only to connect to my TV's line-in.

Hope this is the right section to post in. Please can anyone advise?

Thanks, Matthew

9
  • Are you running any other demanding apps on your RPi?
    – Seamus
    Commented Nov 14, 2023 at 21:08
  • not running any other apps just Firefox to log-in to my streaming account and select what to listen to, thanks
    – mnsh
    Commented Nov 16, 2023 at 14:45
  • Have you run (for example) htop to get an idea of resource utilization?
    – Seamus
    Commented Nov 16, 2023 at 20:00
  • yes, when playing 96kHz the four bars at the top are mostly green with some red at the ends, music is not interrupted, and when playing 192kHz they quickly go mostly red which coincides with the stutter
    – mnsh
    Commented Nov 20, 2023 at 15:50
  • the MPEG4-SLS codec is what is coming in from Presto Music who use Orastream
    – mnsh
    Commented Nov 20, 2023 at 16:02

1 Answer 1

1

I bought a HiFiBerry DAC+ and a bigger case for the Pi and this solved the problem. Enjoying the music!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.