Roon OS Missing Codecs

Roon OS Missing Codecs

Background

Roon does not ship with patented codecs such as MP3 and AAC on any platform.
  1. On Android/iOS, Roon does not decode audio formats.
  2. On Windows/Mac, it uses the built-in system codecs.
  3. On Linux, Roon expects to find the codecs installed as part of the Linux based operating system.
  4. On Roon Server Partner hardware devices, the partner is expected to license the codecs required and provide them in their operating system.
Because Roon OS (the operating system behind Roon Optimized Core Kit is optimized to do nothing but run Roon in the most efficient manner possible, it lacks the general-purpose packages that come along with a large server or desktop Linux OS install.

Missing Codecs?

If you visit the web UI of Roon OS, it may tell you that you are missing codecs (with a link to this page.) To rectify this situation, you will need to make the codecs accessible to Roon OS. This is done by placing the `ffmpeg` file in the `Codecs` folder of Roon OS's shared `data` directory.

Note, the file must be called `ffmpeg` and must live in the `/Data/Codecs/` directory in your Roon OS's network share (so make sure you uncompress the .xz file). The ffmpeg must be a statically linked Linux ELF x64 binary. One place you can get those here: http://johnvansickle.com/ffmpeg/

How To Add Codecs: Step By Step
  1. Download ffmpeg - Roon will need access to the required codecs via the `/Data/Codecs/` directory. You will need to download these codecs on another computer before placing them on ROCK.
    1. For example, grab https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz and uncompress it. Remember, no additional files from that package are required, only ffmpeg. You will need to uncompress the file twice. 
    2. If you are using Windows and do not have the ability to uncompress .tar files, we recommend downloading the open-source program 7-Zip 
  2. Connect To Roon OS - Roon OS exposes a shared network folder called `Data`. You can access this SMB share by following the instructions here here
  3. Copy Codecs to Roon OS - Place the ffmpeg file in the `Codecs` folder, which you can find in Roon OS's `Data` directory
  4. Restart Your Server - Restart Roon Server using the Roon OS web interface

    • Related Articles

    • Roon OS Data Directory

      Roon OS automatically exposes a shared network folder (SMB share) called `/Data`. Be careful modifying files or folders in this directory, as this could lead to permanent data corruption and/or loss. Some reasons you might want to access the shared ...
    • Roon OS CDROM

      Overview Starting with RoonOS Build 175, CD audio extraction support is included: Roon OS will "rip" CDs. Further stability improvements of this feature have been recently released with RoonOS (Operating System) Build 254.  You can verify which ...
    • Installing Roon

      Operating Systems covered in this article: macOS Windows Linux iOS and Android Minimum Requirements See the FAQ: What are the minimum requirements? for more information about the hardware and software platforms supported by Roon. Installing Roon on ...
    • FAQ: What audio file formats does Roon support?

      Built-In Support Roon supports the following formats at resolutions up to 32bit 768khz: WAV WAV64 AIFF FLAC ALAC (Apple Lossless) OGG Roon also supports uncompressed DSD64, DSD128, DSD256, and DSD512 content in the DSF and DFF file formats. OS ...
    • Starting with Roon Server

      What is Roon Server? Roon Server is media server software that runs on a powerful computer, NAS, or turnkey appliance (like Nucleus or ROCK), located on the network within your home. (For more information on how it fits in with Control and Output ...
    Visit the Roon Community!
    Need help? Thousands of Roon subscribers and audio enthusiasts are chatting over on our community site right now, join them! You don't even need a Roon subscription to sign up.