Bulk transcode TTA to FLAC

Done on ubuntu command line with bash and sed.
Proper escaping (and ordering of escaping) is a major pain, I should say...

find -type f -and -name "*.tta" -and -exec bash -c "ffmpeg -i '{}' \"\`echo '{}' | sed -e 's/ /_/g' -e 's/\.tta$/\.flac/g'\`\"" \;

UPD: This did not keep metadata on the files, so I had to use even more brutal method... :D

1 comment:

software said...

I just find a professional TTA Converter and a step by step guide on how to convert TTA to all popular audio formats like TTA to MP3, TTA to WAV, TTA to FLAC, TTA to AAC, TTA to M4A, TTA to ALAC, TTA to AIFF, TTA to WMA and etc at http://www.bigasoft.com/articles/how-to-convert-tta-to-mp3-flac-wav.html

If the TTA audio is with a .cue file which contains multiple tracks, this guide also helps you to split them into individual songs