MarrySunshine / xld

Automatically exported from code.google.com/p/xld
0 stars 0 forks source link

FLAC Transcode optionally allow imperfections #331

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the only option for FLAC transcoding is error free with no option for 
"best effort"

The feature request here is to add an option in the decoder to allow for bit 
imperfection with logging/warning. 

The idea here is for the transcoding process to have conceptual feature parity 
with the ripping process. 

Original issue reported on code.google.com by mike.s...@gmail.com on 8 May 2015 at 2:01

GoogleCodeExporter commented 9 years ago
To work around this on the command line, I've written a little shell script 
that does the conversion with the bad data into a wav, then convert to alac... 
just makes more sense that XLD could do this directly:
len=${#1}
flac -d -F "$@" 
xld -f alac "${1:0:len-5}.wav"
rm "${1:0:len-5}.wav"
zip -m "${1:0:len-5}-bad-flac-file.zip" "$1"

Original comment by mike.s...@gmail.com on 10 May 2015 at 1:38