View Full Version : DTS with eac3to
maldon
6th May 2020, 16:48
I was trying to convert a .wav audio file to .dts audio file with eac3to but I can't and the program says:
The DTS Surcode encoder doesn't seem to be installed
Where can I find "Surcode DTS Encoder" or any other alternative and how should I install it?
Also, I cannot change the bitrate in any .dts file. For example, I have this:
DTS 2.0 960 Kbps 16 bit
And I want:
DTS 2.0 896 Kbps 16 bit (like the original DTS Core)
Any way to do this?
amichaelt
6th May 2020, 17:43
Where can I find "Surcode DTS Encoder"
You'll find it from an authorized retailer like in the following link:
https://www.bhphotovideo.com/c/product/439464-REG/Minnetonka_SDVW_SurCode_DVD_DTS.html
It's proprietary, commercial software.
SeeMoreDigital
6th May 2020, 17:58
I was trying to convert a .wav audio file to .dts audio file with eac3to but I can't and the program says... Please be more specific... What programme?
filler56789
6th May 2020, 18:12
Please be more specific... What programme?
eac3to -test
filler56789
6th May 2020, 18:15
I was trying to convert a .wav audio file to .dts audio file with eac3to but I can't and the program says:
The DTS Surcode encoder doesn't seem to be installed
Where can I find "Surcode DTS Encoder" or any other alternative and how should I install it?
Also, I cannot change the bitrate in any .dts file. For example, I have this:
DTS 2.0 960 Kbps 16 bit
And I want:
DTS 2.0 896 Kbps 16 bit (like the original DTS Core)
Any way to do this?
Forget Surcode's DTS Compressor, just pipe eac3to's output to ffdcaenc.
Surcode was designed for DVD-Video compatibility, therefore it is VERY-limited and outdated.
tebasuna51
7th May 2020, 03:01
And I want:
DTS 2.0 896 Kbps 16 bit (like the original DTS Core)
For what you want this?
For a 2.0 audio is too much bitrate.
BTW try this:
ffdcaenc (http://forum.doom9.org/showthread.php?p=1688150#post1688150) -i input.wav -o output.dts -b 896
maldon
7th May 2020, 11:28
For what you want this?
For a 2.0 audio is too much bitrate.
BTW try this:
ffdcaenc (http://forum.doom9.org/showthread.php?p=1688150#post1688150) -i input.wav -o output.dts -b 896
Because the original DTS Core has that unusual bitrate. I'm going to try with ffdcaenc as you all say (I've never used it) and I'll tell you the results.
filler56789
7th May 2020, 11:51
Because the original DTS Core has that unusual bitrate. I'm going to try with ffdcaenc as you all say (I've never used it) and I'll tell you the results.
For a 2.0 audio is too much bitrate.
BTW try this:
ffdcaenc (http://forum.doom9.org/showthread.php?p=1688150#post1688150) -i input.wav -o output.dts -b 896
tebasuna51 is correct. For 2.0 audio, even the DVD-Video specifications indicate a lower maximum bitrate,
namely 503.25 kbps (sampling rate = 48 kHz).
960 kbps is not unusual for Blu-Ray. But it should be unusual for 2.0 DTS.
Yes, not every «professional» user of the Master Audio Suite knows very-well what they do :D
maldon
9th May 2020, 15:39
Where should i place the “ffdcaenc.exe” file? I have placed it inside the "UsEac3to" folder and then I’ve done the following:
I run “UsEac3To.exe” and I fed it with the .dts file that I want to modify, “audio.dts”. I want to try this but I guess I have to change something:
ffdcaenc -i input.wav -o output.dts -b 896
But, what?. Something like that?:
ffdcaenc -i audio.dts -o output.dts -b 896
In both cases Useac3to says the same thing:
Command line parameter "i" is unknown. <ERROR>
I don't know what I need to change or maybe I need to install ffdcaenc in a different way.
SeeMoreDigital
9th May 2020, 21:16
@maldon,
Out of interest... Why do you want to generate 2-channel/stereo DTS encodes?
Dolby Digital (AC3) and Dolby Digital Plus (EAC3) works very well and is pretty easy to encode using UsEac3To (as a front-end).
Cheers
tebasuna51
10th May 2020, 00:43
If you use UsEac3to load the input and select Output format "dca-ext", then 'Add' and you obtain:
stdout.wav | ffdcaenc -i - -o %_2eng.dts -l -b 1509.75
Is the standard bitrate for 5.1, modify the bitrate to: -b 896
Maybe you want some other parameters, for instance change the duration from 25 to 23.976 fps, modify to:
stdout.wav -25 -changeTo23.976 | ffdcaenc -i - -o %_2eng.dts -l -b 896
SeeMoreDigital
10th May 2020, 09:05
As previously mentioned the 896 bit-rate that maldon is selecting is too high for 2-channel stereo encodes.
Especially when you consider that many of the newer movie DVD releases which offered 5.1 channel DTS audio, were encoded at 754.5 kbps!
maldon
11th May 2020, 13:08
@maldon,
Out of interest... Why do you want to generate 2-channel/stereo DTS encodes?
Dolby Digital (AC3) and Dolby Digital Plus (EAC3) works very well and is pretty easy to encode using UsEac3To (as a front-end).
Cheers
As previously mentioned the 896 bit-rate that maldon is selecting is too high for 2-channel stereo encodes.
Especially when you consider that many of the newer movie DVD releases which offered 5.1 channel DTS audio, were encoded at 754.5 kbps!
Because I wanted the DTS Core to be the same as the original:
DTS-HD Master Audio English 1196 kbps 2.0 / 48 kHz / 1196 kbps / 16-bit (DTS Core: 2.0 / 48 kHz / 896 kbps / 16-bit)
If you use UsEac3to load the input and select Output format "dca-ext", then 'Add' and you obtain:
stdout.wav | ffdcaenc -i - -o %_2eng.dts -l -b 1509.75
Is the standard bitrate for 5.1, modify the bitrate to: -b 896
Maybe you want some other parameters, for instance change the duration from 25 to 23.976 fps, modify to:
stdout.wav -25 -changeTo23.976 | ffdcaenc -i - -o %_2eng.dts -l -b 896
The result:
DTS, 2.0 channels, 1:28:10, 960kbps, 48kHz
The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
Patching bitdepth to 24 bits...
Decoding with libav/ffmpeg...
Reducing depth from 64 to 24 bits...
Writing WAV...
Creating file "stdout.wav"...
Writing the destination file failed. <ERROR>
Aborted at file position 524288. <ERROR>
It seems that the DTS file I have has some problem, Medianfo says it has 16 bits, but for Useac3to it seems to be 64.
Patching bitdepth to 24 bits...
Reducing depth from 64 to 24 bits...
And also this. What happened?
The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
I don't quite understand it, but maybe the bits are the reason for those errors. Well, it doesn't matter if it's hopeless. The point is to start with my first DTS conversions.
By the way, with ffdcaenc it is impossible to convert from wav to DTS-HD Master Audio?
SeeMoreDigital
11th May 2020, 15:11
Because I wanted the DTS Core to be the same as the original:
DTS-HD Master Audio English 1196 kbps 2.0 / 48 kHz / 1196 kbps / 16-bit (DTS Core: 2.0 / 48 kHz / 896 kbps / 16-bit)Hmmm....
It would seem that you are not aware that it's possible to extract the original lossy DTS core from a DTS-HD MA stream then?!
This is why it's important to fully explain what you what to do and why you want to do it!
tebasuna51
11th May 2020, 21:49
The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
...
Reducing depth from 64 to 24 bits...
These messages are from a old eac3to version, than can't decode DTS-MA. Please use the last version (http://madshi.net/eac3to.zip) with libdcadec.dll
By the way, with ffdcaenc it is impossible to convert from wav to DTS-HD Master Audio?
Of course, you can obtain only the DTS core, like you say at first post.
If you want obtain a DTS-MA you can't fix the bitrate.
filler56789
11th May 2020, 23:54
There IS something weird in there...
896 kbps is not a valid (or exact) bitrate for 48 kHz DTS audio...
with a granularity of 4 bytes per audio frame, the bitrate must be an integer multiple of 3 kbps at 48 kHz :confused:
The result:
DTS, 2.0 channels, 1:28:10, 960kbps, 48kHz
Definitely an outdated version of eac3to. 960 kbps is the "transmission bitrate", a very-useless metadata field invented by DTS, Inc. themselves.
The latest version of eac3to is able to calculate the actual bitrate of the DTS "core" streams correctly.
tebasuna51
12th May 2020, 13:02
There IS something weird in there...
896 kbps is not a valid (or exact) bitrate for 48 kHz DTS audio...
with a granularity of 4 bytes per audio frame, the bitrate must be an integer multiple of 3 kbps at 48 kHz :confused:
ffdcaenc can obtain a granularity of 2 bytes.
Using -b 896 I obtain:
Number of PCM Sample Blocks .: 15 ( 512 samples/frame)
Primary Frame Byte Size .....: 1195 ( 1196 bytes/frame)
Audio Channel Arrangement ...: 2 (2 L + R stereo)
Core Audio Samp. Frequency ..: 13 (48 kHz)
Transmission Bit Rate .......: 16 (960 Kb/s)
with a real bitrate of:
1196*8*48/512 = 897 Kb/s
But using -b 895.5 I obtain:
Number of PCM Sample Blocks .: 15 ( 512 samples/frame)
Primary Frame Byte Size .....: 1193 ( 1194 bytes/frame)
Audio Channel Arrangement ...: 2 (2 L + R stereo)
Core Audio Samp. Frequency ..: 13 (48 kHz)
Transmission Bit Rate .......: 16 (960 Kb/s)
with a real bitrate of:
1194*8*48/512 = 895.5 Kb/s
And eac3to, and MediaInfo, round to:
DTS, 2.0 channels, 0:02:55, 896kbps, 48kHz
Of course don't have sense that bitrate for a 2.0
filler56789
12th May 2020, 16:03
@tebasuna51: :goodpost:
ffdcaenc can obtain a granularity of 2 bytes
My bad, I really wasn't aware of that :o
Now I see that Alexei Andropov's job was even better than I thought :cool:
maldon
13th May 2020, 12:50
Hmmm....
It would seem that you are not aware that it's possible to extract the original lossy DTS core from a DTS-HD MA stream then?!
This is why it's important to fully explain what you what to do and why you want to do it!
No, I'm trying to explain that the original DTS-HD MA has a DTS Core of 896. I just wanted to show that there are Blu-ray releases with that kind of bitrates, besides the common 768 and 1509. I don't have that DTS-HD MA just a DTS 960 that I want to reduce to the original 896.
These messages are from a old eac3to version, than can't decode DTS-MA. Please use the last version (http://madshi.net/eac3to.zip) with libdcadec.dll
It works with this:
https://www.videohelp.com/download/eac3to334-UsEac3to129.zip
And this:
stdout.wav | ffdcaenc -i - -o %_.dts -l -b 895.5
The result:
Before:
960 kb/s, 48 kHz, 16 bits, 2 channels, DTS
After:
896 kb/s, 48 kHz, 24 bits, 2 channels, DTS
So, If I want to keep 16 bits, ¿where I must place -dontpatchdts?. I tried this, but no results:
stdout.wav -dontpatchdts | ffdcaenc -i - -o %_2eng.dts -l -b 895.5
Of course, you can obtain only the DTS core, like you say at first post.
If you want obtain a DTS-MA you can't fix the bitrate.
Well, I took a new .mkv file (with .FLAC audio) and I convert .FLAC to .WAV with Useac3to. Now, I want to convert .WAV to DTS-HD MA but I don’t know how. The reason is that I would like to know if that DTS-HD MA I obtain from the .WAV file would have a DTS Core.
SeeMoreDigital
13th May 2020, 13:18
No, I'm trying to explain that the original DTS-HD MA has a DTS Core of 896. I just wanted to show that there are Blu-ray releases with that kind of bitrates, besides the common 768 and 1509. I don't have that DTS-HD MA just a DTS 960 that I want to reduce to the original 896.Okay...
Well, I took a new .mkv file (with .FLAC audio) and I convert .FLAC to .WAV with Useac3to. Now, I want to convert .WAV to DTS-HD MA but I don’t know how. The reason is that I would like to know if that DTS-HD MA I obtain from the .WAV file would have a DTS Core.Not possible... Currently, 'free' DTS-HD MA software encodes don't exist.
Again... This is why it's important to fully explain what you what to do and why you want to do it!
tebasuna51
13th May 2020, 17:20
... I don't have that DTS-HD MA just a DTS 960 that I want to reduce to the original 896.
Before:
960 kb/s, 48 kHz, 16 bits, 2 channels, DTS
After:
896 kb/s, 48 kHz, 24 bits, 2 channels, DTS
I can't understand for what you want recode a DTS to obtain exactly a bitrate. You want deceive somebody?
A lossy encode don't have bitdepth, the info 16/24 bits are wrong. Internally are 32 bits floats samples in frequency domain.
For that the free encoder, also the old commercial encoder Surcode, put always 24 bit in the header field refering to the source, because decode the internal 32 float to 16 int losse precission.
I only know other commercial encoder DTS-HD Master Audio Suite, but with that you can't select exactly the bitrate.
Now, I want to convert .WAV to DTS-HD MA but I don’t know how. The reason is that I would like to know if that DTS-HD MA I obtain from the .WAV file would have a DTS Core.
You need buy a commercial encoder:
The suggested retail price for the DTS-HD Master Audio Suite is $1,495
and like I say before can select the core from:
maldon
15th May 2020, 12:54
No, I’m not trying to deceive anyone because the original DTS Core from Blu-ray and mine are not the same. I mean, the audio track included on the Blu-ray is not the original Italian dubbing. My DTS file is the original dubbing and I was wondering if it would be possible to get a DTS file with that bitrate and keeping its 16 bits, since -dontpatchdts doesn't seem to work in this case.
But the most important thing is that both audios are not the same length. My DTS is 9 seconds longer and I want to cut it to fit the length of the video. So, I open the previous version of "UsEac3to" and then I click "DelayCut" to see the Info (it's my DTS file not yet converted to 896):
====== INPUT FILE INFO ========================
File is dts
Bitrate (kbit/s) 960
Act rate (kbit/s) 960.000
File size (bytes) 634817280
Channels mode L+R (Stereo)
Sampling Frec 48000
Low Frec Effects LFE: Not present
Duration 01:28:10.144
Frame length (ms) 10.666667
Frames/second 93.750000
Num of frames 495951
Bytes per Frame 1280.0000
Size % Framesize 0
CRC present: NO
=============================================
====== TARGET FILE INFO ======================
Start Frame 0
End Frame 495950
Num of Frames 495951
Duration 01:28:10.144
NotFixedDelay 0.0000
=============================================
As we can see my file is 01:28:10.144 and must be 01:28:01.280
If I go to Cutting and select “Cut File” I can introduce numbers on Start (msec) and End (msec). Those numbers change the duration, but I don't know how to figure out which ones to include to get exactly the desired duration.
tebasuna51
15th May 2020, 20:01
No, I’m not trying to deceive anyone because the original DTS Core from Blu-ray and mine are not the same. I mean, the audio track included on the Blu-ray is not the original Italian dubbing. My DTS file is the original dubbing and I was wondering if it would be possible to get a DTS file with that bitrate and keeping its 16 bits, since -dontpatchdts doesn't seem to work in this case.
Good to know your problem, then:
- You can't replace the core of DTS-MA, you can add another track with your DTS, and delete or preserve the BD track.
- Like you can't replace the core is indiferent the bitrate and, of course, the bitdepth of your DTS. Try to preserve your DTS without recode lossing quality.
But the most important thing is that both audios are not the same length. My DTS is 9 seconds longer and I want to cut it to fit the length of the video.
This is other problem, sync your audio with the BD video.
I can say you how cut the DTS, but at the beggining, at end, in the midle?
Sometimes there are different credits at the beginning, or end, but you need compare the BD audio with your DTS to exactly cut the right parts.
Decode to wav with eac3to both DTS's and compare them with a audio editor like Audacity.
maldon
18th May 2020, 16:43
Good to know your problem, then:
- You can't replace the core of DTS-MA, you can add another track with your DTS, and delete or preserve the BD track.
- Like you can't replace the core is indiferent the bitrate and, of course, the bitdepth of your DTS. Try to preserve your DTS without recode lossing quality.
This is other problem, sync your audio with the BD video.
I can say you how cut the DTS, but at the beggining, at end, in the midle?
At the end, is 01:28:10.144 and must be 01:28:01.280.
SeeMoreDigital
18th May 2020, 18:31
Now we all know what you want to do. There's really no point in perusing this task any further!
It can't be done using free encoding applications and it's pretty pointless anyway!
tebasuna51
18th May 2020, 22:29
At the end, is 01:28:10.144 and must be 01:28:01.280.
If you want cut 8864 ms at end use DelayCut like this example:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.