Suddenly Roon on Qnap hangs when playing m4a files

Thanks @Bart_Maguire that was very useful. I have now fixed it too, although I copied the new ffmpeg file in place of the old one, rather than update the PATH.

Here are the detailed steps to fix it (command line knowledge required)…

  1. Enable the QNAP Club repository in the App Center (if not already done)

Instructions here… https://www.qnapclub.eu/en/howto/1

  1. Go to the new repo in App Center and install ffmpeg - this will install version 4.3

  2. Open a SSH (putty) session

  3. Find where the current version of ffmpeg lives, mine (v3.3.6) was installed here…

cd /usr/local/medialibrary/bin

  1. Rename it to ffmpeg_OLD

mv ffmpeg ffmpeg_OLD

  1. Go to the location of the new version

cd /opt/ffmpeg

  1. copy it into /usr/local/medialibrary/bin (or wherever your original ffmpeg was located)

cp ffmpeg /usr/local/medialibrary/bin/.

  1. Restart the Roon Core

  2. Hopefully should now play AAC files. If you have any issues, rename ffmpeg_OLD back to ffmpeg again.

It looks like the QNAP installed version of ffmpeg has been compiled with most of the decoders disabled so hopefully they will fix this soon.

7 Likes