How to build and use dsf2flac:


  1. Build Dependency:
    1. Need to use standard taglib instead of what comes with Debian/RHEL repos.
    2. wget https://taglib.org/releases/taglib-1.13.tar.gz
    3. tar -xzvf tag*gz
    4. cd tag*13
    5. mkdir build && cd build
    6. cmake ..
    7. make -j8
    8. sudo make install
  2. Build Main:
    1. git clone --recursive https://github.com/hank/dsf2flac.git
    2. cd dsf2flac
    3. ./autogen.sh
    4. make -j8
    5. sudo make install
-----------------------------------------------------------------------------------------------
Use:
dsf2flac -i some_audio_file.dsf

*Automatically creates new flac file with same file name.
*Does not transfer metadata, must re-add manually.

-----------------------------------------------------------------------------------------------
Sources/Guides:
Can't compile XBMC 12 because of TAGLIB problem | Stack Exchange
TagLib
GitHub - hank/dsf2flac: Code for converting DSF to FLAC files

Date: December 7th 2022 through January 9th 2023


Back