Các bước để burn flac/ape to CD trên linux. Các công cụ dùng gồm:
-ffmpeg và flac
-shntool
-cdrecord
Bước chung là từ flac hoặc ape convert sang wav rồi tạo cue/iso để burn.
-Tạo wav từ flac:
flac -d *.flac hoặc
find . -type f -name “*.flac” | xargs -i ffmpeg -i {} {}.wav
-Tạo wav từ ape:
find . -type f -name “*.ape” | xargs -i ffmpeg -i {} {}.wav
-Fix Sector Boundary Errors (nếu có) bằng shntool
shntool fix *.wav
-Burn
cdrecord -v speed=4 dev=ATA:1,0,0 -audio /tmp/prefix-of-music-files*.wav