DTS to AC3 (Dolby Digital 5.1) for
multichannel sources
(back)
The following methods describe the conversion
of multichannel sources. If you've got stereo sources or want to use a filter to
downmix to stereo you may use Foobar2000 directly to encode to Dolby Digital
(AC3)!
For that purpose use this guide: convert stereo
DTS to Dolby Digital
Methoden:
| [1] | Foobar2000/Aften
Methode [NEW] (fast)
This is the fastest method. Encodes DTS
directly into Dolby Digital AC3.
Hint: if Foobar2000/Aften crashes
SRC Secret Rabbit Code Resampler does not
work properly and crashes sometimes! |
| [2] | Foobar2000/Tranzcode
Method (secure)
This method is a bit slower because DTS
tracks get separated into 6 mono Waves. But it is most secure and works
with problematic files as well. |
| [3] | GraphEdit
ffdshow Method (fast) (change of sampling frequency possible DVD->CD, CD->DVD) This method is faster than the
Foobar2000/Tranzcode method. But sometimes ffdshow may not decode DTS
correctly. Then you will end up with clicks in the final AC3 track. |
| [4] | For converting stereo DTS tracks use the DTS to AC3 2.0 Stereo Method which is for that purpose the fastest! |
[1] Foobar2000 /
Aften Methode
(special
installer) über das DTS-Plugin
Foobar2000 is able to convert DTS into all
formats for which an encoding plugin exits.
If a specific sampling frequency is needed (KHz) set up Foobar's Resampler
(SSRC) DSP filter.
The conversion is done through Foobar's Diskwriter.
All format specific options are adjusted in the diskwriter settings tab.
Step by Step guide:
Setting up Foobar2000 for the conversion of DTS 5.1 to AC3 5.1
Needed Software:
First you have to set up Foobar2000 for the
conversion.
To change the settings of the fromats follow these easy steps:
Foobar2000->Preferences->Diskwriter
activate "Use DSP", this ensures foobar2000 applies the DSP filters you insert in the DSP tab

Set up Aften AC3 encoder


-v 0 -b 448 - %dFor other bitrates as
448KBit/s use desired
number from list below!
Allowed bitrates: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320,
384, 448, 512, 576, 640
-Dispay name: Aften
Conversion:
In the playlist right click on the file/files you'd like to convert and choose "Convert->Run conversion". Select "Aften" from the list. Choose directory and name your output file.
Finished.
[1] Foobar2000 / Tranzcode Method
(Foobar special
installer)
This general method can be used for every Dolby Digital encoder which supports separate WAV files for every channel as input:
First: Separate
into 6 mono WAVs with Foobar2000 (universal method), steps 1-7
or Separate into 6 mono WAVs with
Tranzcode (fast method)
Now you can use any Dolby Digital encoder and feed in the separate channels.
Methods in detail (in suggested order):
(1)
DTS nach AC3 mit BeSweet
(2) DTS nach AC3 mit FFMPEG
(3) DTS nach AC3 mit SoftEncode
(1) Procedure for converting into AC3 with BeSweet:
First: Separate
into 6 mono WAVs with Foobar2000, steps 1-7
or Separate into 6 mono WAVs with Tranzcode
(fast method)
Use a text editor to create a
text file with the 6 mono Wavs for BeSweet. Use exact order. Change
extension to ".MUX"
Dateiname.wavFL.wav
Dateiname.wavC.wav
Dateiname.wavFR.wav
Dateiname.wavSL.wav
Dateiname.wavSR.wav
Dateiname.wavLFE.wav
Extension has to be ".mux"
Or use BeSweet Mux
Wizzard to create such a file (in BeLight it's already integrated):

Load MUX-file into BeSweet.
Choose AC3 as destination format under AC3/OGG/PCM options and click
"Create 5.1". Choose desired bitrate. Finished.
| If you used Tranzcode to separate DTS
into 6 mono WAVs zu, you can now use SSRC in BeSweet to change the
sampling frequency. Only use SSRC if you need to! DVD->CD 48Khz->44,1KHz CD->DVD 44,1KHz->48KHz Adjust settings in GUI or append this to the commandline: "-ssrc( --rate 44100 )" od. "-ssrc ( --rate 48000 )" |

Following software needed:
ffmpeg *latest* CVS version: http://ffdshow.faireal.net/mirror/ffmpeg/
gui4ffmpeg: http://www.videohelp.com/tools?tool=gui4ffmpeg
First: Separate
into 6 mono WAVs with Foobar2000, steps 1-7
or Separate into 6 mono WAVs with Tranzcode
(fast method)
Use a text editor to create a
text file with the 6 mono Wavs for BeSweet. Use exact order. Change
extension to ".MUX"
Dateiname.wavFL.wav
Dateiname.wavC.wav
Dateiname.wavFR.wav
Dateiname.wavSL.wav
Dateiname.wavSR.wav
Dateiname.wavLFE.wav
Or use BeSweet Mux
Wizzard to create such a file (in BeLight it's already integrated):

Load the MUX-file into BeSweet
and choose PCM (Wave) 16 Bit 5.1 Wave as destination format

start gui4ffmpeg, deactivate
"Process Video Enconding" and activate "6 Channels" in
the "Process Audio Encoding" settings.
Load the multichannel wave file. Choose bitrate and click "Save
File". Name AC3 output file. Finished.
The result will be a Dolby Digital file with correct channel order.
(ffmpeg.exe and gui4ffmpeg.exe have to be in the same folder).
(3) Procedure for high quality conversion using Sonic Foundry Soft Encode:
See english guide in the doom9.org
Forum
http://forum.doom9.org/showthread.php?s=&threadid=91239&highlight=azidts
Needed software:
Before we begin we have to install/register the
filter once. (E.g..: Start->execute->"cmd"-> "regsrv32
/s dtsac3source.ax"). Registering the filter is only needed once!
Connect filters in Graphedit:
"DTS/AC3 Source Filter" -> "ffdshow Audio Decoder" -> "File Writer"



(back)