Log in

View Full Version : eac3to - audio conversion tool


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 [284] 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

MeteorRain
19th February 2017, 20:13
eac3to main.ts main.aac
TS, 1 audio track, 0:58:40
1: AAC, 2.0 channels, 198kbps, 48kHz
Track 1 is used for destination file "main.aac".
a01 Extracting audio track number 1...
a01 Creating file "main.aac"...
eac3to processing took 1 minute, 52 seconds.
Done.

It's a file recorded from TV broadcasting with HEVC Main10 video stream and AAC audio stream. It has about -450ms delay, and since eac3to can't recognize the video, it cannot figure out the actually delay.

I believe it only happens when a TS file is given, as with MKV it seems to work fine.

gzuz
25th February 2017, 13:01
Hey again guys,

I demuxed a TrueHD stream from a BD, and eac3to reported a delay of 125ms in relation to the video stream.

That means the 125ms audio delay is originally included in the BD, correct? I assume I don't need to "fix" the delay when muxing into an. mkv, because that's how it got out of the studio.

Am I right? Thanks in advance!

tebasuna51
25th February 2017, 18:16
I demuxed a TrueHD stream from a BD, and eac3to reported a delay of 125ms in relation to the video stream.
:logfile:

I assume I don't need to "fix" the delay when muxing into an. mkv
You need fix the delay because eac3to can't apply the delay over a TrueHD, like do automatically with other audio track.

gzuz
25th February 2017, 23:39
:logfile:


You need fix the delay because eac3to can't apply the delay over a TrueHD, like do automatically with other audio track.


eac3to v3.31
------------------------------------------------------------------------------
M2TS, 2 video tracks, 9 audio tracks, 26 subtitle tracks, 2:20:03, 24p /1.001
1: Chapters, 40 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: VC-1, 480p24 /1.001 (3:2), 83ms
4: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 125ms
5: TrueHD/AC3, English, 5.1 channels, 48kHz, dialnorm: -27dB, 125ms
(embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
6: AC3, Czech, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
7: AC3, Hungarian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
8: AC3, Polish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
9: AC3, Russian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
10: AC3, Thai, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
11: AC3, Turkish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
12: E-AC3, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB, 83ms
13: Subtitle (PGS), English
14: Subtitle (PGS), Chinese
15: Subtitle (PGS), Arabic
16: Subtitle (PGS), Indonesian
17: Subtitle (PGS), Bulgarian
18: Subtitle (PGS), Croatian
19: Subtitle (PGS), Czech
20: Subtitle (PGS), Estonian
21: Subtitle (PGS), Modern Greek
22: Subtitle (PGS), Hebrew
23: Subtitle (PGS), Hungarian
24: Subtitle (PGS), Icelandic
25: Subtitle (PGS), Latvian
26: Subtitle (PGS), Lithuanian
27: Subtitle (PGS), Polish
28: Subtitle (PGS), Romanian
29: Subtitle (PGS), Russian
30: Subtitle (PGS), Serbian
31: Subtitle (PGS), Slovenian
32: Subtitle (PGS), Thai
33: Subtitle (PGS), Turkish
34: Subtitle (PGS), Czech
35: Subtitle (PGS), Hungarian
36: Subtitle (PGS), Turkish
37: Subtitle (PGS), English
38: Subtitle (PGS), Chinese
Creating file "C:\lol\chap.txt"...
[s13] Extracting subtitle track number 13...
[v02] Extracting video track number 2...
[a05] Extracting audio track number 5...
[a05] Extracting TrueHD stream...
[a05] Removing TrueHD dialog normalization...
[v02] Creating file "C:\lol\mov.vc1"...
[a05] Creating file "C:\lol\sound.thd"...
[s13] Creating file "C:\lol\eng.sup"...
Video track 2 contains 201466 frames.
Video track 3 contains 201465 frames.
Subtitle track 13 contains 1473 captions.
eac3to processing took 5 minutes, 11 seconds.
Done.


Thanks for the reply @tebasuna51. How do I proceed about applying the delay? Do I just do it via eac3to? Thank you.

tebasuna51
26th February 2017, 04:23
eac3to can't apply delay to a thd.

When add the .thd in MkvToolNix GUI, select the track and put the Delay (125).

gzuz
26th February 2017, 15:39
eac3to can't apply delay to a thd.

When add the .thd in MkvToolNix GUI, select the track and put the Delay (125).

Thanks man. I actually thought I have to apply a negative delay. But I realized it's a positive delay when I muxed the files. :D

Thanks again for the help, it's appreciated!

Weirdo
6th March 2017, 10:42
Is the -shutdown parameter confirmed as not working? It has never worked for me (Win 8/10, admin account).

NanoBot
13th March 2017, 15:07
Hi,

i just learned that FLAC has recently been updated to version 1.3.2. Does anyone already has compiled a new libflac.dll ( to be used with eac3to ) of the new version ?

LigH
14th March 2017, 09:10
Not yet on RareWares; asked in Hydrogenaud.io for it. The media-autobuild_suite unfortunately builds different DLLs.

heerschop
15th March 2017, 20:10
Not yet on RareWares; asked in Hydrogenaud.io for it.

Flac.dll 1.3.2 is available on RareWares.
http://www.rarewares.org/files/lossless/

flac_dll-1.3.2-git-20170314-icl.zip
flac_dll-1.3.2-git-20170314-x64-icl.zip

LigH
16th March 2017, 00:17
"That escalated quickly." ;) - A pity that their forum notifications seem to be broken for me. Thanks for notifying me (us) here. Plus: Lossless (http://www.rarewares.org/lossless.php) web page.

tormento
17th March 2017, 20:54
Just found, dunno if #old:

aften.dll git-20091226-icl11_1_054 (https://github.com/wieslawsoltes/wavtoac3encoder)
dcadec.dll 0.2.0 (https://github.com/foo86/dcadec/releases)

Tested and working.

If somebody has other newer and working dll's to replace, please post.

hubblec4
20th March 2017, 13:02
Just found, dunno if #old:

aften.dll git-20091226-icl11_1_054 (https://github.com/wieslawsoltes/wavtoac3encoder)
dcadec.dll 0.2.0 (https://github.com/foo86/dcadec/releases).

Thanks for this info.

Sparktank
20th March 2017, 13:44
Just found, dunno if #old:

aften.dll git-20091226-icl11_1_054 (https://github.com/wieslawsoltes/wavtoac3encoder)
dcadec.dll 0.2.0 (https://github.com/foo86/dcadec/releases)

Tested and working.

If somebody has other newer and working dll's to replace, please post.

Might be impossible to get newer dcadec DLL's now that foo86 has moved everything to FFMPEG.

The git for FFMPEG should be more updated than GitHub.

commits from foo86:
https://git.ffmpeg.org/gitweb/ffmpeg.git?a=search&h=HEAD&st=author&s=foo86

commits about avcodec/dca in general:
https://git.ffmpeg.org/gitweb/ffmpeg.git?a=search&h=HEAD&st=commit&s=avcodec%2Fdca

Madshi might have to remove dcadec DLL's in favor of FFMPEG udpates.

Which means, we'd just have to wait for madshi to update his modified libraries whenever FFMPEG goes through major updates.

tebasuna51
20th March 2017, 18:13
The same for aften dll's, maybe are fast thanks to wisodev optimizations, but with the same problems than old aften (https://forum.doom9.org/showthread.php?p=1794293#post1794293)

The AC3 encoder included in ffmpeg is the preferred.

wish_ihadalife
22nd March 2017, 02:36
Hello all,

I have been lurking the doom9 forums for quite some time now, and been experimenting to get eac3to work, but I am a little stuck.

Running a test on my command line, I am getting the following messages:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\User\Documents\Conversions>C:\Users\User\Documents\eac3to\eac3to.exe -t
est
eac3to (v3.31) is up to date
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder doesn't seem to be installed
http://www.arcsoft.com/products/totalmediatheatre
Sonic Audio Decoder (3.31.0.0) doesn't seem to be installed
Haali Matroska Muxer (2013-04-14) is installed
Nero AAC Encoder (1.5.4.0) is installed
Surcode DTS Encoder (1.0.29.0) is installed

Does anybody know where I can find/buy the Nero Audio decoder? As well as the ArcSoft and Sonic ones? Also, which versions will work best?

Are Libav / ffmpeg the same program?


Thank you for all of your help. I usually use Headac3e and tsMuxer, but I am hearing this is a much better encoder. Would love to get started, thank you for your support!

Sorry for all the questions, just trying to get started!

LigH
22nd March 2017, 05:34
Welcome.

Are Libav / ffmpeg the same program?

Depends on the desired meaning...

The ffmpeg project contains libraries for the handling of containers (libavformat) and contents (libavcodec).

During some stage of development, some developers split and created a fork of ffmpeg, named libav. It doesn't matter much, probably, from which fork you prefer to use the codec libraries as long as they are up to date, so they can handle modern HD audio formats as well.

Does anybody know where I can find/buy the Nero Audio decoder? As well as the ArcSoft and Sonic ones?

In most recent versions, the libav* libraries should be able to handle most formats with satisfying quality. To use 3rd party decoders, you would possibly have to have bought this software a while ago, or use "codec packs" regardless of software licenses... (see forum rules).

Also, which versions will work best?

Toughest question, regarding the ArcSoft decoder; several versions have different (dis-)advantages. I believe only "fanatic" audiophiles care. Home users won't recognize a difference to the results of libav* decoders while just listening in their living rooms, especially after compressing with another lossy format...

sneaker_ger
22nd March 2017, 11:31
ArcSoft has pretty much been replaced by DcaDec. The only thing it cannot decode compared to ArcSoft is DTS Express and that's only because the version in eac3to is outdated. The newer one in ffmpeg can decode it.

tebasuna51
22nd March 2017, 13:37
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
ArcSoft DTS Decoder doesn't seem to be installed
Sonic Audio Decoder (3.31.0.0) doesn't seem to be installed
- DirectShow Nero Audio Decoder (not free) is only needed to decode audio AAC.
You can extract the AAC track from a .mkv and use other free tool (ffmpeg,...) to recode, if you need recode, most the times is better preserve the AAC track as is.
Install not free Nero 7 for only this function is not recommended.

- ArcSoft (not free) DTS Decoder is only needed to decode DTS Express (some comentary audio tracks in BD's) like sneaker_ger say.
Also ffmpeg can be used for that.
The included decoder (dcadec) is equal, or best, than ArcSoft for DTS standard and HD.

- Sonic Audio Decoder (not free) is not needed at all.
It was used at first time to compare outputs, but now it is not recommended.

You can work with eac3to without these 3 commercial soft's.

nevcairiel
24th March 2017, 01:45
dcadec can only decode the lossy stream "core"

This is wrong. libdcadec can decode the full lossless DTS-HD parts, even the "strange setup" streams that ArcSoft does not decode lossless in all cases.

gonzalo76
24th March 2017, 02:28
Just one question,

When I had eac3to v3.27, I could decode DTS Master Audio with ArcSoft Decoder:

eac3to v3.27
command line: "C:\Program Files (x86)\eac3to\eac3to.exe" "F:\BDRips\Bob Marley & The Wailers\Legend\Blu-ray\FullDisc\BD_VOLUME\BDMV\STREAM" 1) 4:"D:\MyBDRips\1_4_audio.flac" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 1:07:21, 24p /1.001
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 2.0 channels, 24 bits, 96kHz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 96kHz
(core: DTS-96/24, 5.1 channels, 24 bits, 1509kbps, 96kHz)
5: TrueHD/AC3, English, 5.1 channels, 96kHz
(embedded: AC3, 5.1 channels, 640kbps, 48kHz)
[a04] Extracting audio track number 4...
[a04] Decoding with ArcSoft DTS Decoder...
[a04] Encoding FLAC with libFlac...
[a04] Creating file "D:\MyBDRips\1_4_audio.flac"...
[a04] The original audio track has a constant bit depth of 24 bits.
Video track 2 contains 96897 frames.
eac3to processing took 41 minutes, 17 seconds.
Done.

I recently updated to eac3to v3.31 and now, I can not decode DTS Master Audio stream anymore.

[22:11:40] Retrieving features
[22:11:40] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV"
[22:11:41] Feature Retrieval Completed
[22:11:41] Retrieving streams
[22:11:41] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV" 1) -progressnumbers
[22:11:46] Stream Retrieval Completed
[22:11:58] Extracting streams
[22:11:59] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV" 1) 4:"D:\MyBDRips\Bob Marley & The Wailers\Legend\Blu-ray\FullDisc\BD_VOLUME\BDMV\1_4_audio.flac" -progressnumbers
[22:12:04] a04 Extracting audio track number 4...
[22:12:04] a04 Decoding with libDcaDec DTS Decoder...
[22:12:04] a04 libDcaDec reported the warning "XLL output not lossless".
[22:12:04] a04 Encoding FLAC with libFlac...
[22:12:05] a04 Creating file "D:\MyBDRips\Bob Marley & The Wailers\Legend\Blu-ray\FullDisc\BD_VOLUME\BDMV\1_4_audio.flac"...
[22:12:15] Stream Extraction Completed

C:\Program Files (x86)\eac3to>eac3to -test
eac3to (v3.31) is up to date
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder (1.1.0.0) works fine
Sonic Audio Decoder (3.31.0.0) doesn't seem to be installed
Haali Matroska Muxer doesn't seem to be installed
http://haali.net/mkv
Nero AAC Encoder could not be located
http://www.nero.com/eng/nero-aac-codec.html
Copy NeroAacEnc.exe to the eac3to or to the Windows folder.
Surcode DTS Encoder doesn't seem to be installed
http://www.surcode.com

I read that "libDcaDec is now default for all DTS tracks except XSA / low bitrate"...

Does anybody know what's going on?

Thank you very much

gonzalo76
24th March 2017, 02:36
This is wrong. libdcadec can decode the full lossless DTS-HD parts, even the "strange setup" streams that ArcSoft does not decode lossless in all cases.

And do you know why I have this warning message?

[22:12:04] a04 Decoding with libDcaDec DTS Decoder...
[22:12:04] a04 libDcaDec reported the warning "XLL output not lossless".

Midzuki
24th March 2017, 03:22
And do you know why I have this warning message?

[22:12:04] a04 Decoding with libDcaDec DTS Decoder...
[22:12:04] a04 libDcaDec reported the warning "XLL output not lossless".

The latest eac3to uses an outdated build of libdcadec.

wish_ihadalife
24th March 2017, 05:50
- DirectShow Nero Audio Decoder (not free) is only needed to decode audio AAC.
You can extract the AAC track from a .mkv and use other free tool (ffmpeg,...) to recode, if you need recode, most the times is better preserve the AAC track as is.
Install not free Nero 7 for only this function is not recommended.


Are you confusing Nero Audio Decoder and Nero AAC Encoder? (which I already have) Or are they similar in any way?



- ArcSoft (not free) DTS Decoder is only needed to decode DTS Express (some comentary audio tracks in BD's) like sneaker_ger say.
Also ffmpeg can be used for that.
The included decoder (dcadec) is equal, or best, than ArcSoft for DTS standard and HD.


Yeah, it seems as if you need a very early version of ArcSoft... I tried installing ArcSoft TotalMedia Theatre 6.7 and eac3to doesn't seem to pick up the DTS Decoder. Even when I moved it into System Folders.

Midzuki
24th March 2017, 06:41
P.S.:

I recently updated to eac3to v3.31 and now, I can not decode DTS Master Audio stream anymore.

[22:11:40] Retrieving features
[22:11:40] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV"
[22:11:41] Feature Retrieval Completed
[22:11:41] Retrieving streams
[22:11:41] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV" 1) -progressnumbers
[22:11:46] Stream Retrieval Completed
[22:11:58] Extracting streams
[22:11:59] Arguments: "F:\BDRips\Bob Marley & The Wailers\Legend \Blu-ray\FullDisc\BD_VOLUME\BDMV" 1) 4:"D:\MyBDRips\Bob Marley & The Wailers\Legend\Blu-ray\FullDisc\BD_VOLUME\BDMV\1_4_audio.flac" -progressnumbers
[22:12:04] a04 Extracting audio track number 4...
[22:12:04] a04 Decoding with libDcaDec DTS Decoder...
[22:12:04] a04 libDcaDec reported the warning "XLL output not lossless".
[22:12:04] a04 Encoding FLAC with libFlac...
[22:12:05] a04 Creating file "D:\MyBDRips\Bob Marley & The Wailers\Legend\Blu-ray\FullDisc\BD_VOLUME\BDMV\1_4_audio.flac"...
[22:12:15] Stream Extraction Completed

IIRC, you may use the -arcsoft switch for forcing eac3to to use the well-known DTSDecoderDll.DLL.

gonzalo76
24th March 2017, 07:02
The latest eac3to uses an outdated build of libdcadec.

OK, I downloaded the latest release version 0.2.0 (https://github.com/foo86/dcadec/releases), released on 4 Jan 2016. The warning message "XLL output not lossless" disappeared now!!!

But instead of 24 bits, the decoded file has 16 bits, with libDcaDec DTS Decoder and also with ArcSoft DTS Decoder :confused:

Decoding with libDcaDec DTS Decoder...

eac3to v3.31
command line: "C:\Program Files (x86)\eac3to\eac3to.exe" "D:\BDrips\Def Leppard\
Viva! Hysteria\BDMV" 2) 1:"D:\BDrips\Def Leppard\Viva! Hysteria\2_1_chapter.txt"
3:"D:\BDrips\Def Leppard\Viva! Hysteria\2_3_audio.flac" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 0:38:44, 24p /1.001
1: Chapters, 8 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48kHz
(core: DTS, 2.0 channels, 1509kbps, 48kHz)
Creating file "D:\BDrips\Def Leppard\Viva! Hysteria\2_1_chapter.txt"...
[a03] Extracting audio track number 3...
[a03] Decoding with libDcaDec DTS Decoder...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "D:\BDrips\Def Leppard\Viva! Hysteria\2_3_audio.flac"...
[a03] The original audio track has a constant bit depth of 16 bits.
[a03] Superfluous zero bytes detected, will be stripped in 2nd pass.
[a03] Starting 2nd pass...
[a03] Decoding FLAC...
[a03] Reducing depth from 24 to 16 bits...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "D:\BDRips\Def Leppard\Viva! Hysteria\2_3_audio.flac"...
[a03] The processed audio track has a constant bit depth of 16 bits.
Video track 2 contains 55725 frames.
eac3to processing took 10 minutes, 50 seconds.
Done.

Decoding with ArcSoft DTS Decoder...

==> ..\BDMV\PLAYLIST\01002.mpls
>> M2TS, 1 video track, 2 audio tracks, 1:25:21, 24p /1.001 (16 chapters)
> 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz

> 4: DTS Master Audio, English, 2.0 channels, 24 bits, 48kHz

> eac3to v3.31
command line: "eac3to.exe" "D:\BDrips\Def Leppard\Viva! Hysteria\BDMV\PLAYLIST\01002.mpls"
1) 4:"D:\BDrips\Def Leppard\Viva! Hysteria\Output.wav" -arcsoft -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1:25:21, 24p /1.001
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48kHz
(core: DTS, 2.0 channels, 1509kbps, 48kHz)
[a04] Extracting audio track number 4...
[a04] Decoding with ArcSoft DTS Decoder...
[a04] Writing WAV...
[a04] Creating file "D:\BDrips\Def Leppard\Viva! Hysteria\Output.wav"...
[a04] The original audio track has a constant bit depth of 16 bits.
[a04] Superfluous zero bytes detected, will be stripped in 2nd pass.
[a04] Starting 2nd pass...
[a04] Reading WAV...
[a04] Stripping zero bytes...
[a04] Writing WAV...
[a04] Creating file "D:\BDrips\Def Leppard\Viva! Hysteria\Output.wav"...
Video track 2 contains 122783 frames.
eac3to processing took 6 minutes, 37 seconds.
Done.



Thank you.

Sparktank
24th March 2017, 07:46
IIRC, all decoders for DTS (dcadec, arcsoft) do the same thing with "XLL output no lossless".
Except, they were all silent, so the only difference was that the recent dcadec allowed the message to be seen.

One user did make a custom build that just hid the message again for the placebo users who want that message "out of sigh of mind".

Arcsoft has so many versions, and no one has thoroughly tested the last version (1.09), so we can't really say if it behaves the same as previous versions or has different negative behaviours like some versions of Arcsoft.

For Arcsoft, v1.0.0.0 is the most known version to handle most scenarios.

But Dcadec should be the same and handle all formats (including Strange Setup, which Arcsoft requires a specific version) except for DTS Express.

Sparktank
24th March 2017, 07:48
[a03] The original audio track has a constant bit depth of 16 bits.
[a03] Superfluous zero bytes detected, will be stripped in 2nd pass.

Superfluous means "unnecessary", so it was really 16bit stored in a 24bit.

Midzuki
24th March 2017, 09:59
.........

But Dcadec should be the same and handle all formats (including Strange Setup, which Arcsoft requires a specific version) except for DTS Express.

dcadec 0.2.0 is really outdated. Since April of 2016, dcadec supports DTS Express, even the multichannel (5.1) streams.

https://github.com/foo86/dcadec/issues/33

sneaker_ger
24th March 2017, 10:22
The problem is development of the (external) dcadec library has stopped. It's all in ffmpeg now.

nevcairiel
24th March 2017, 11:13
eac3to already uses ffmpeg for other formats, so that wouldn't be a big hurdle - assuming madshi updates to a recent ffmpeg at some point in the future.

tebasuna51
24th March 2017, 12:18
Are you confusing Nero Audio Decoder and Nero AAC Encoder? (which I already have) Or are they similar in any way?

The Nero Audio Decoder needed by eac3to are Directshow filters included in Nero 7 package (plus a extra plugin). All not free, but there are some hacks to install the required filters without install the full Nero 7 package.

The Nero AAC Encoder (NeroAacEnc.exe) is a free standalone encoder than can be used by eac3to to output .m4a (AAC in mp4 container).
There are also a free standalone NeroAacDec.exe than can decode AAC inside mp4 container (.mp4 or .m4a), but can't be used by eac3to. You need run it in command line mode.

Yeah, it seems as if you need a very early version of ArcSoft... I tried installing ArcSoft TotalMedia Theatre 6.7 and eac3to doesn't seem to pick up the DTS Decoder. Even when I moved it into System Folders.

The lastest versions of ArcSoft don't have a required (by eac3to) checkactivate.dll. You need include this dll from previous versions to work with latest versions.

There are hacks (in this forum) to install the required (by eac3to) ArcSoft files without install the full ArcSoft TotalMedia Theatre package.

BTW, ArcSoft decoder is only needed to decode XSA / low bitrate (DTS Express in BD's), with the last libdcadec.dll you can decode any other DTS (standard or HD) the same (or better like with Strange Setup 7.1) than with ArcSoft.

Of course a great improvement of eac3to is (if possible):

- Add full dcadec decoder to support XSA / low bitrate, like is already in ffmpeg.

- Add AAC decoder from ffmpeg (maybe need some workaround to avoid license problems, similar to used with ArcSoft, Nero 7, Sonic or Surcode DTS)

- Add AC3 encoder from ffmpeg.

Sparktank
24th March 2017, 15:26
commits from foo86:
https://git.ffmpeg.org/gitweb/ffmpeg.git?a=search&h=HEAD&st=author&s=foo86

commits about avcodec/dca in general:
https://git.ffmpeg.org/gitweb/ffmpeg.git?a=search&h=HEAD&st=commit&s=avcodec%2Fdca


Those are the latest commits made for dcadec so far on ffmpeg.

gonzalo76
24th March 2017, 16:36
IIRC, you may use the -arcsoft switch for forcing eac3to to use the well-known DTSDecoderDll.DLL.

I did it! :thanks:

dcadec 0.2.0 is really outdated. Since April of 2016, dcadec supports DTS Express, even the multichannel (5.1) streams.

https://github.com/foo86/dcadec/issues/33

So, 0.2.0 is the latest version (and also outdated), right?

What decoder should I use to extract DTS Master Audio 2.0, 5.1, 6.1 and 7.1 now :confused: I was using ArcSoft DTS Decoder (1.1.0.0).

Thank you very much for all your help! :thanks:

gonzalo76
24th March 2017, 16:48
IIRC, all decoders for DTS (dcadec, arcsoft) do the same thing with "XLL output no lossless".
Except, they were all silent, so the only difference was that the recent dcadec allowed the message to be seen.

One user did make a custom build that just hid the message again for the placebo users who want that message "out of sigh of mind".

Arcsoft has so many versions, and no one has thoroughly tested the last version (1.09), so we can't really say if it behaves the same as previous versions or has different negative behaviours like some versions of Arcsoft.

For Arcsoft, v1.0.0.0 is the most known version to handle most scenarios.

But Dcadec should be the same and handle all formats (including Strange Setup, which Arcsoft requires a specific version) except for DTS Express.

Yes, Arcsoft, v1.0.0.0 is the version I'm using.

Superfluous means "unnecessary", so it was really 16bit stored in a 24bit.

Oops, I guess I made a newbie question, sorry!

Thank you very much for all your help!

:thanks:

tebasuna51
24th March 2017, 17:04
What decoder should I use to extract DTS Master Audio 2.0, 5.1, 6.1 and 7.1 now :confused: I was using ArcSoft DTS Decoder (1.1.0.0)

To extract don't need any decoder.

To decode DTS MA let the eac3to default libdcadec.dll.

rivera
3rd April 2017, 09:32
I am confused, please help.

Tried with several different files - got same result.
After conversion mpg -> mkv, m2ts -> mkv, mediainfo does not contain any info about audio stream.
But audio stream can be played in MPC-HC.

Here is an example.
Input file:
General
ID : 1 (0x1)
Complete name : E:\Temp\pana (ac3).m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 265 MiB
Duration : 4 min 6 s
Overall bit rate mode : Variable
Overall bit rate : 9 036 kb/s
Maximum Overall bit rate : 35.5 Mb/s

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 27
Duration : 4 min 6 s
Bit rate mode : Variable
Bit rate : 8 327 kb/s
Maximum bit rate : 24.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (29970/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.134
Stream size : 247 MiB (93%)
Writing library : x264 core 61
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / psy_rd=1.000000 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=8327 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=9000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format settings, Endianness : Big
Codec ID : 129
Duration : 4 min 6 s
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 7.51 MiB (3%)
Service kind : Complete Main

Usage:
eac3to "pana (ac3).m2ts" "pana (ac3).mkv"

Output file:
General
Unique ID : 47257860322188542931018185783133792477 (0x238D88678FA5573A5F64972DBB12E8DD)
Complete name : E:\Temp\pana (ac3).mkv
Format : Matroska
Format version : Version 1
File size : 244 MiB
Duration : 4 min 6 s
Overall bit rate mode : Variable
Overall bit rate : 8 325 kb/s
Encoded date : UTC 2017-04-03 08:27:59
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.13.138.14
ErrorDetectionType : Per level 1
CRC_Error_Pos : 231

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 4 min 6 s
Bit rate mode : Variable
Bit rate : 8 327 kb/s
Maximum bit rate : 24.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (29970/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.134
Stream size : 240 MiB (98%)
Writing library : x264 core 61
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / psy_rd=1.000000 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=8327 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=9000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Default : No
Forced : No

LigH
3rd April 2017, 09:37
Is your MPC-HC set up to search external audio sources with the same file name? Check the filters submenu whether the audio source is the loaded file or an additional file.

rivera
3rd April 2017, 09:41
Is your MPC-HC set up to search external audio sources with the same file name? Check the filters submenu whether the audio source is the loaded file or an additional file.
Audio source is INSIDE of the loaded file.

tebasuna51
3rd April 2017, 10:43
Please put the eac3to log.

I can't reproduce your problem, my log:

eac3to v3.31
command line: eac3to "test.m2ts" "test.mkv"
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 0:00:21, 25p
1: h264/AVC, 720p25
2: AC3, 2.0 channels, 192kbps, 48kHz
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[v01] Muxing video to Matroska...
[a02] Creating file "test - 2 - AC3, 2.0 channels, 192kbps, 48kHz.ac3"...
Added fps value (25) to MKV header.
Video track 1 contains 525 frames.
eac3to processing took 1 second.
Done.

In my folder:
03/04/2017 11:29 1.050.624 test.m2ts
03/04/2017 11:30 528.384 test - 2 - AC3, 2.0 channels, 192kbps, 48kHz.ac3
03/04/2017 11:30 160.886 test.mkv
there are 2 files the .ac3 and the .mkv (by size is impossible than contain the audio also)

rivera
3rd April 2017, 11:13
there are 2 files the .ac3 and the .mkv (by size is impossible than contain the audio also)
OMG, seems I got the point!
The output file does not contain audio stream, this stream is demuxed into .ac3 file!
I thought that "eac3to input.m2ts output.mkv" generates ONE file which includes both video & audio streams...

Now I understand why I was asked about external audio tracks in MPC-HC.

Bandits
9th April 2017, 00:17
Rogue One original disc M2TS shows 72p /1.001 and video track shows 24p/1.001

M2TS, 1 video track, 4 audio tracks, 5 subtitle tracks, 2:13:56, 72p /1.001
1: Chapters, 49 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: AC3, English, 2.0 channels, 320kbps, 48kHz
5: AC3, French, 5.1 channels, 640kbps, 48kHz
6: AC3, Spanish, 5.1 channels, 640kbps, 48kHz
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
10: Subtitle (PGS), French
11: Subtitle (PGS), Spanish
v02 The video bitstream framerate field doesn't seem to match the timestamps.

Is there going to be any issues with extracting these tracks? Or anything special I should be doing?

tebasuna51
9th April 2017, 03:56
Extract as always and put the log. Seems a eac3to mistake.

XadoX
13th April 2017, 07:15
Is there a way while using windows PowerShell to output the eac3to options as list, like usualy with cmd?

LigH
13th April 2017, 07:30
You mean something similar to "eac3to > eac3to.txt"? This never really worked well, due to the strange output formatting used. I never understood why it is necessary to prepend every output line with 80 backspace chars. As if a CRLF is not enough to start at the left margin.

XadoX
13th April 2017, 07:34
I only ask because in Windows 10 1703 CMD is defaulty replaced by PowerShell.
While using Powershell with eac3to the output is not shown as list. Instead every output is shown only in the first line.
So I have to use a pipe like you explained and thats not realy comfortable.

Brazil2
13th April 2017, 11:59
I only ask because in Windows 10 1703 CMD is defaulty replaced by PowerShell.
https://www.tenforums.com/tutorials/22882-show-command-prompt-windows-powershell-win-x-menu-windows-10-a.html

;)

LigH
13th April 2017, 12:32
Additionally, "Take Command" by JP Software (former 4DOS / 4NT) is an enhanced CMD-like command interpreter (Lite version is free to use).

It saved my day by avoiding surprises when comparing both LFN and SFN against wildcard patterns, matching more files than desired...

Brazil2
13th April 2017, 12:56
Additionally, "Take Command" by JP Software (former 4DOS / 4NT) is an enhanced CMD-like command interpreter (Lite version is free to use).
While you're at it, I like ColorConsole:
http://www.softwareok.com/?seite=Freeware/ColorConsole

r0lZ
14th April 2017, 08:04
I recommend to redirect the eac3to help to a file, and load the file in a good text editor to remove the BS characters. Due to the extremely bizarre formatting options of eac3to, it's the only method that gives good results.