How to convert DTS Audio into Multi-Channel FLAC

July 27, 2013 by Christopher Silvertooth

If you happen to own some DTS Encoded Audio Discs such as Sting – Ten Summoner’s Tales DTS or have a collection of DVD Audio discs then you may have run into a problem of converting the DTS files into another multi-channel format without loss of quality.  DVD Extractor works pretty well for converting DVD Audio to FLAC and I recommend buying it for $40 if you are going to be doing this frequently.  But if you managed to get a hold of some DTS encoded music that was in the wav container ( fileaname.wav ) then this may be of use to you.

Step 1.  Install brew – http://brew.sh

Step 2. Install ffmpeg – brew install ffmpeg

Step 3.  In the terminal.app change to the directory you have your .wav DTS encoded files in.

Screen Shot 2013-07-27 at 9.08.34 PM

Step 4.  Run the following command:

for file in *.wav; do name=$(echo $file | sed "s/\\.wav//g"); ffmpeg -acodec dts -i "$name".wav -vn -sn -acodec flac "$name".flac; done

This will iterate through each of your DTS encoded *.wav files. It will then process them with ffmpeg and output the result as a multi-channel flac file – you will probably see some errors but it should still convert.

Screen Shot 2013-07-27 at 9.07.30 PM

You can validate this by opening the newly created flac file in Audacity. I couldn’t tell you if it is 100% the same quality as the original DTS file but in theory it should be. Maybe someone with some advanced Audio tools could validate this.

The other problem I have run into is you may get a DTS encoded album that is only 1 big .wav with a .cue file.  The .cue  file is supposed to tell your software the breakpoints for each track.  In order to split the DTS .wav file into each of the songs for an album I used the folllowing program XLD.

Step 1.  Create a folder to store the .wav and .cue file in.  Then place both files in that folder.

Step 2.  Open the .cue file with XLD.  This should show you all the individual tracks for said album.  See below picture.

Screen Shot 2013-07-27 at 9.01.56 PM

Step 3.  You need to set your preferences in XLD.  Open the preferences and set the following.  Output : WAV

Step 4.  Click Transcode.  This should break the single DTS .wav file into multiple .wav files for each track on the album – assuming the .cue was done correctly.

Step 5.  Now that you have all the .wav files following my steps above to convert to multi-channel flac.

Cheers,

Chris

apple / random thoughts / tools

Comments

  1. Tom says:

    Thanks for the suggested method above.

    My query is that I have acquired some multichannel files with a .dts suffix which play as 5.1 in VLC player and are tagged as being created by AVS online technologies Audio creator, I was told to change the .dts to .wav and burn in Nero but Nero throws that out. The files are 16 bit / 48k so are not suitable to burn to a cd and only to a DVD as data. Where did they come from and what did the ripper expect anyone to do with them? I have converted them to 16 bit / 44.1k wav and burnt to CD with Nero 14 but they only play as stereo in my standalone disc player. One of the albums is Bjork’s Volta a DVD-A album which I own and I have tried to replicate the .dts files to no avail. I have asked everyone and gone onto loads of forums. Everyone seems to think they came from a DVD-video and are DTS files. You are the first person who seems to have an inkling about the genre. Any suggestions would be appreciated.

  2. Axel Pavel says:

    Hi ! I understand you want to have a Dts Cd(wav!) using files .dts(means 48k…).
    I am doing the same but first you must to extract/split all mono channels from .dts song(ex:dbpowerAmp_split ch.plugin or Transcode_split to 6 m.ch) split to wav 44.1k ,you will have 6 mono wavs …fL,fR,C,Lfe,sR,sL…
    Use Minetonka DtsCd soft to encode monos to dtsCd wavs…
    When ready,burn all the wavs using Burrrn or ImgBurn…
    With DvdA(mlp files) ,extract the songs (DvdExtractor ) ,do the same…split channels and you can have after that all what you want(with mono wavs…).
    I have already obtained DtsHd Master Audio songs starting from ,mlps(dvdA),dts,dts wavs or even stereo files using DtsHd Master Audio Suite(gives you all dts formats…) and Steinberg WaveLabs 6(for stereo to 6 mono surround files)…I used also Wav2Ac3Enc to have DolbyDig. files too…
    I used AudioMuxer to obtain an mkv file with Ac3 sound and after that i used tsmuxer to add the other sound formats including Dts hd resulting a m2ts multisound file playable on standalone mediaplayers(hdmi output) …
    After that,using multiAVCHD soft you can create Bluray format AVCHD multisound discs on Dvds(imgBurn)_playable on Bluray sa players…Seems to be difficult ? is very interesting and the sound (ess.DtsHd MA ) is really Great…!
    Good Luck!

  3. marialandoney says:

    Just google search Step by Step Guide on How to Convert MKV DTS to AC3 with iDealshare VideoGo, you will find a detailed guide.

  4. laurent says:

    Thanks a lot Chris, great method that perfectly worked for me!

Leave a Reply

Your email address will not be published. Required fields are marked *