cuetools.net
cuetools.net copied to clipboard
Support raw PCM data as input
Currently CueTools (and FlaCCL in particular) supports WAV input, but not raw PCM data. I have a large set of raw data, mono, 16-bit unsigned little endian 44.1k that needs compression to FLAC. FlaCCL would be the perfect candidate for large datasets such as this.
@TokugawaHeavyIndustries Thanks for your report.
So, you have got a large dataset. Is ffmpeg
an option for you to convert the raw PCM files?
See e.g. https://stackoverflow.com/questions/11986279/can-ffmpeg-convert-audio-from-raw-pcm-to-wav
@c72578 ffmpeg is an option and is what is currently utilized. However, this raw PCM data is ~150-200GB in size. Processing on a single CPU core, ffmpeg takes hours. We're hoping to utilize FlaCCL to accelerate this processing.
In order to allow FlaCCL to process PCM data, we've simply been injecting a 78-byte WAV header, as WAV data is just PCM with a header.