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

frencher
24th March 2013, 12:01
How exactly is AVC/MVC related to audio?

Same output of MakeMKV with Bluray 3D

Tuturial with MakeMKV HERE (http://www.hdfever.fr/2012/09/02/tutoriel-riper-un-blu-ray-3d-en-mkv-avcmvc-full-hd-3d-avec-makemkv/)

LigH
24th March 2013, 12:07
AVC is a video format.
MVC is a video subformat.

eac3to is an audio converter. What exactly is it supposed to support? I'd expect eac3to to ignore video completely, instead.

frencher
24th March 2013, 13:15
AVC is a video format.
MVC is a video subformat.

eac3to is an audio converter. What exactly is it supposed to support? I'd expect eac3to to ignore video completely, instead.

What is nice is that eac3to can combine in .mkv or streams .h264 same as MakeMKV and readable with stereo player.
eac3to can already pick and remux into a video stream .mkv and extract by .mpls or .SSIF fux the AVC/MVC.
eac3to also covers video and is not only dedicated audio has been developped even if the basis for that.
Being able to combine directly. Developer mkv can help other applications mvc encoders, readers free 3D bluray, and many are seeking a solution as there only to count the number of post http://forum.doom9.org/showthread.php?t=155246 this topic
I work elsewhere on player encoder and stream BD 3D AVC/MVC which is in my signature

Infineon
24th March 2013, 13:21
Overdrive, I've just checked and these files were put into the SysWow64 already but were not in System32 so I copied them in. Unfortunately this didn't change anything. I think I might have a PATH issue though, I've added the path to the System variables rather than user, hopefully this is correct? However, I notice that if I try to run any of the exe files in my eac3to folder by just typing their name in a command prompt such as 'C:\eac3to.exe' they do not launch, instead it says - 'eac3to' is not recognized as an internal or external command, operable program or batch file'.

If I type 'PATH' into a command prompt here is the output, I can see that the variable I've added is in fact the correct path for my eac3to executables folder (it's the last entry at the end):

C:\>path
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Com
mon Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Comm
on Files\Microsoft Shared\Microsoft Online Services;C:\Program Files\Common File
s\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Sh
ared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Win
dows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared
;C:\Program Files (x86)\QuickTime\QTSystem\; D:\Installs\Multimedia\Ripping\eac3
to\eac3to327

I'm wondering why this path doesn't work... any thoughts?

Infineon
24th March 2013, 13:35
Sorry I've just seen there was a space before the start of the path entry for eac3to, removing it fixed the problem and it's now working. Sadly HdBrStreamextractor still doesn't see the ArcSoft decoder and resorts to libav. I wonder if I should try just using the standard eac3to.exe command line executable to run the extraction? It's a bit complex for me though, I also have this GUI version: 'yr_eac3to_more_gui.exe' even this looks complex for me but I'll give it a try :)

filler56789
24th March 2013, 13:45
Sorry I've just seen there was a space before the start of the path entry for eac3to, removing it fixed the problem and it's now working.

Me thinks you deserve to be punished. http://forum.videohelp.com/attachments/2671-1279232225/uglylol.gif

Enjoy :p

Infineon
24th March 2013, 13:50
Probably ;) but it's still not working. I've just tried running eac3to using a GUI, this was the output:

eac3to v3.27
command line: "D:\Installs\Multimedia\Ripping\eac3to\eac3to327\eac3to.exe" "C:\Users\MyUser\Desktop\00003.m2ts" 3: "C:\Users\MyUser\Desktop\test
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1:30:08, 60i /1.001
1: h264/AVC, 1080i60 /1.001 (16:9)
2: RAW/PCM, 2.0 channels, 24 bits, 96kHz
3: DTS Master Audio, 5.1 channels, 24 bits, 96kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
This audio conversion is not supported. <ERROR>

Infineon
24th March 2013, 14:09
I had left the 'wav' type off the end of that command to make it 'test.wav', when I fixed that and ran again I got: 'The program can't start because MSVCP71.dll is missing from your computer. Try reinstalling the program to fix this problem.' - But it worked !!! OMG...

Now this noob just needs to work out how to cut up a 9GB WAV file :) I think I can get the chapter data out into txt file using the hdbrextractor ui easily enough. Can anyone recommend a good way to chop up a wav based on chapter info txt file? Then I just need to FLAC encode - simple enough, even for me!

DarkSpace
24th March 2013, 22:33
Can anyone recommend a good way to chop up a wav based on chapter info txt file?
Take a look at mkvmerge (http://www.bunkus.org/videotools/mkvtoolnix/downloads.html), it allows you to load the Chapters.txt and split the output at chapter points.

Infineon
24th March 2013, 22:37
Thanks I'll do that. Been finding Foobar pretty useful too using cue files.

frencher
25th March 2013, 01:22
What is nice is that eac3to can combine in .mkv or streams .h264 same as MakeMKV and readable with stereo player.
eac3to can already pick and remux into a video stream .mkv and extract by .mpls or .SSIF fux the AVC/MVC.
eac3to also covers video and is not only dedicated audio has been developped even if the basis for that.
Being able to combine directly. Developer mkv can help other applications mvc encoders, readers free 3D bluray, and many are seeking a solution as there only to count the number of post http://forum.doom9.org/showthread.php?t=155246 this topic
I work elsewhere on player encoder and stream BD 3D AVC/MVC which is in my signature

Nobody is interested in developing a BluRay Player free...
Many of us seek a solution to some BluRay Disc capricious whose structure is complicated.
We would welcome author of eac3to has been about our problem reading and re-encoding that eac3to could solve for a small additional function.
cordially

LigH
25th March 2013, 09:27
eac3to is an audio converter.

I doubt it will ever be a complete Blu-ray authoring tool.

But I may have misunderstood. You may like to explain in french again, your english translation partially makes little sense...

LeXXuz
25th March 2013, 11:59
Is eac3to having problems with partitions >2TB?

I found anything but one post in this long thread where someone reports almost the same issue I seem to have.

I am unable to demux streams from a BD structure if those files are on a 3TB NTFS partition.

Usually I use eac3to in megui but I also tried to demux directly via command line. It's no use. Browsing BD structure, listing streams and playlists, all works fine.

However, when I start a demuxing job eac3to stops right at the beginning after writing just some bytes to the destination path and that's it. No more disc activity, no error message, nothing.

I tested this with several external 3TB drives by now. It does not work, even if the destination path is my 'small' internal hard drive. :(

robertcollier4
25th March 2013, 17:38
I frequently downmix DTS 5.1 audio to 2.0 stereo for playing on my hardware player using "eac3to -downStereo" or "eac3to -downDpl". However with both I frequently have the problem (with DTS sources specifically) that explosions and sound effects are super loud and the dialogue are too quiet. What I want to do is basically "boost" Center channel.

The current co-efficients being used (http://forum.doom9.org/showthread.php?p=1600695#post1600695) by -downStereo are:
FL' = FL + 0.7071 x FC + BL
FR' = FR + 0.7071 x FC + BR

What I want is something like:
FL' = FL + 0.85 x FC + BL
FR' = FR + 0.85 x FC + BR

Can I somehow use custom co-efficients with eac3to? or what tool can I use to convert DTS to WAV with custom co-efficients? Thanks. I am using Windows and would prefer a command line utility.

---------------------------------------------------------------
UPDATE: I have found custom channel mixing from DTS can be done with ffmpeg.exe. For tracks in which eac3to downmixing coefficients result in too quiet dialogue, I have done extensive testing and found that mixing 0.25 coefficient Left and Right channels with 1 coefficient Center channels gives the best results for me for watching a DTS movie on a stereo system. Analytically this may seem like a very low amount of FL and FR - but it emphasizes crisp clear Center channel dialogues along with music which "accompanies" the movie instead of overpowering it.

This command will convert the first audio track in an mkv file into a stereo downmixed AAC M4A file. It will do the conversion in 32-bit float mode which is what libdts uses internally and so will avoid dithering before passing to AAC compressor. You need to have ffmpeg.exe and qaac.exe on your path.
ffmpeg.exe -report -loglevel verbose -i "moviename.mkv" -map 0:a:0 -f wav -acodec pcm_f32le -ac 2 -af pan=stereo:FL=0.25*FL+FC:FR=0.25*FR+FC - | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "moviename-audio-dialoguedownmix.m4a"

---------------------------------------------------------------

frencher
27th March 2013, 02:31
Warning !! Bad translation by Google:
That would be nice is that eac3to can combine in .mkv or stream .h264 as is already MakeMKV as readable and compatible with Stereoscopic player.
eac3to remux already allows a video stream in a container .mkv rip tracks but also by .mpls or .ssif flow AVC/MVC so eac3to handles video well even if it does not reach here was created and the database audio remains.
What good will is that eac3to can combine directly .mkv and or .h264 stream AVC/MVC a Bluray 3D.
We are looking for a more developer solution such as recoder MVC 3D bluray players, 3D video camcorder, and many are seeking a solution, but in the field of free there is no big thing, just count the number of positions about Guide to convert BD 3D to 3D Left+Right Stereoscopic and Anaglyph (http://forum.doom9.org/showthread.php?t=155246) that remains active but the solutions are very rare.
I also work on a drive, bluray recoder 2D & 3D + 3D BD flow AVC/MVC which is in my signature and would welcome madshi discusses about us... :thanks:

Ce qui serait bien, c'est que eac3to puisse combiner en .mkv ou flux .h264 comme le fait MakeMKV car déjà lisible et compatible avec Stereoscopic player.
eac3to permet déjà de remuxer un flux vidéo dans un conteneur .mkv mais aussi extraire les pistes par .mpls ou .SSIF les flux AVC/MVC donc eac3to gère bien la vidéo même s'il n'à pas été créé pour çà et que la base reste bien l'audio.
Ce qui serai bien c'est que eac3to puisse combiner directement en .mkv et, ou .h264 les 2 flux AVC/MVC d'un Bluray 3D.
Nous sommes plusieurs développeur à chercher une tel solution tel que réencodeur MVC, lecteurs bluray 3D, vidéos de camèscope 3D, et beaucoup cherchent une solution mais dans le domaine du gratuit on ne trouve pas grand chose, il suffit de compter le nombre de postes au sujet Guide to convert BD 3D to 3D Left+Right Stereoscopic and Anaglyph (http://forum.doom9.org/showthread.php?t=155246) qui reste actif mais les solutions sont trés rares.
Je travaille d'ailleurs sur un lecteur, réencodeur bluray 2D & 3D + flux 3D BD AVC/MVC qui est dans ma signature et serait heureux que madshi se penche sur notre sujet... :thanks:
http://i46.tinypic.com/2qanwcj.png

Kurtnoise
27th March 2013, 06:44
Ce qui serai bien c'est que eac3to puisse combiner directement en .mkv et, ou .h264 les 2 flux AVC/MVC d'un Bluray 3D.
eac3to uses the haali muxer to create mkv files, which is not compatible with MVC contents. Besides, this filter seems to be abandoned for a while...So, try something else.

frencher
27th March 2013, 14:59
OK thanks,

Sample with MakeMKV (http://forum.doom9.org/showthread.php?p=1620266#post1620266), do you have an idea to do the same work for free ?
We have "CombineMVC.exe" but this is the format for "transport stream" ( .ts .m2ts .mts) and not CLI

Kurtnoise
28th March 2013, 13:56
I'm not aware of such tool but why not using x264 within frame packing switch & mkv as output ?

Then, you should be able to mux your A/V streams with mkvtoolnix after that...just a guess.

frencher
28th March 2013, 19:29
I'm not aware of such tool but why not using x264 within frame packing switch & mkv as output ?

Then, you should be able to mux your A/V streams with mkvtoolnix after that...just a guess.

Try CombineMVC.exe (http://ul.to/edpwnxkm) and open the ouptut "combinedMVC.h264" with media info ;)

You are Aix en provence (13), i was born in Toulon (83) Tchii, Tchii, Tchii... :D

Anakunda
4th April 2013, 10:46
Thanks to all for the feedback about my conversion. Now I'm back to the problem. To resume in short the goal is to make a proper conversion from Dts-HD MA with correct channel mappings to Apple AAC with preserving all channels and using Arcsoft decoder.

Now I got this track

General
Complete name : english.dtshd
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
File size : 3.21 GiB
Overall bit rate mode : Variable

Audio
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy

[dts @ 0000000002127520] max_analyze_duration 5000000 reached at 5002667 microseconds
[dts @ 0000000002127520] Estimating duration from bitrate, this may be inaccurate
Input #0, dts, from 'english.dtshd':
Duration: 04:59:34.15, start: 0.000000, bitrate: 1535 kb/s
Stream #0:0: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), fltp, 1536 kb/s

(The true duration is 2h45m)

Using eac3to english.dtshd temp.wav -normalize -60ms I get this

General
Complete name : temp.wav
Format : Wave
File size : 7.98 GiB
Duration : 2h 45mn
Overall bit rate mode : Constant
Overall bit rate : 6 912 Kbps

Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 00001000-0000-0100-8000-00AA00389B71
Duration : 2h 45mn
Bit rate mode : Constant
Bit rate : 6 912 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 7.98 GiB (100%)

[wav @ 0000000002127160] max_analyze_duration 5000000 reached at 5003458 microseconds
Input #0, wav, from 'temp.wav':
Duration: 01:22:30.49, bitrate: 13852 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s32, 6912 kb/s

If I open in Audition all channels seem present and unique. Now I would need a tool that pipes the temporary wav for qaac so it makes a proper conversion.

This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.

Here's the complete list of acceptable inputs for qaac:

LC 8000Hz Mono -- 8,12,16,20,24
LC 8000Hz Stereo (L R) -- 16,20,24,28,32,40,48
LC 8000Hz Quadraphonic -- 32,40,48,56,64,72,80,96
LC 8000Hz 4.0 (C L R Cs) -- 32,40,48,56,64,72,80,96
LC 8000Hz 5.0 (C L R Ls Rs) -- 40,48,56,64,72,80,96,112
LC 8000Hz 5.1 (C L R Ls Rs LFE) -- 40,48,56,64,72,80,96,112
LC 8000Hz 6.0 (C L R Ls Rs Cs) -- 48,56,64,72,80,96,112,128,144
LC 8000Hz 6.1 (C L R Ls Rs Cs LFE) -- 48,56,64,72,80,96,112,128,144
LC 8000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 56,64,72,80,96,112,128,144,160
LC 8000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 56,64,72,80,96,112,128,144,160
LC 8000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 64,72,80,96,112,128,144,160,192
LC 11025Hz Mono -- 8,12,16,20,24,28,32
LC 11025Hz Stereo (L R) -- 16,20,24,28,32,40,48,56,64
LC 11025Hz Quadraphonic -- 48,56,64,72,80,96,112,128
LC 11025Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128
LC 11025Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160
LC 11025Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160
LC 11025Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192
LC 11025Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192
LC 11025Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224
LC 11025Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224
LC 11025Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256
LC 12000Hz Mono -- 12,16,20,24,28,32
LC 12000Hz Stereo (L R) -- 24,28,32,40,48,56,64
LC 12000Hz Quadraphonic -- 48,56,64,72,80,96,112,128
LC 12000Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128
LC 12000Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160
LC 12000Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160
LC 12000Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192
LC 12000Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192
LC 12000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224
LC 12000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224
LC 12000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256
LC 16000Hz Mono -- 12,16,20,24,28,32,40,48
LC 16000Hz Stereo (L R) -- 24,28,32,40,48,56,64,72,80,96
LC 16000Hz Quadraphonic -- 48,56,64,72,80,96,112,128,144,160,192
LC 16000Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128,144,160,192
LC 16000Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160,192,224
LC 16000Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160,192,224
LC 16000Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192,224,256,288
LC 16000Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192,224,256,288
LC 16000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224,256,288,320
LC 16000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224,256,288,320
LC 16000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz Mono -- 16,20,24,28,32,40,48,56,64
LC 22050Hz Stereo (L R) -- 32,40,48,56,64,72,80,96,112,128
LC 22050Hz Quadraphonic -- 64,72,80,96,112,128,144,160,192,224,256
LC 22050Hz 4.0 (C L R Cs) -- 64,72,80,96,112,128,144,160,192,224,256
LC 22050Hz 5.0 (C L R Ls Rs) -- 80,96,112,128,144,160,192,224,256,288,320
LC 22050Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,144,160,192,224,256,288,320
LC 22050Hz 6.0 (C L R Ls Rs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz 6.1 (C L R Ls Rs Cs LFE) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz 7.0 (C L R Ls Rs Rls Rrs) -- 112,128,144,160,192,224,256,288,320,384,448
LC 22050Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,144,160,192,224,256,288,320,384,448
LC 22050Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 128,144,160,192,224,256,288,320,384,448,512
LC 24000Hz Mono -- 16,20,24,28,32,40,48,56,64
LC 24000Hz Stereo (L R) -- 32,40,48,56,64,72,80,96,112,128
LC 24000Hz Quadraphonic -- 64,72,80,96,112,128,144,160,192,224,256
LC 24000Hz 4.0 (C L R Cs) -- 64,72,80,96,112,128,144,160,192,224,256
LC 24000Hz 5.0 (C L R Ls Rs) -- 80,96,112,128,144,160,192,224,256,288,320
LC 24000Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,144,160,192,224,256,288,320
LC 24000Hz 6.0 (C L R Ls Rs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 24000Hz 6.1 (C L R Ls Rs Cs LFE) -- 96,112,128,144,160,192,224,256,288,320,384
LC 24000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 112,128,144,160,192,224,256,288,320,384,448
LC 24000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,144,160,192,224,256,288,320,384,448
LC 24000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 128,144,160,192,224,256,288,320,384,448,512
LC 32000Hz Mono -- 24,28,32,40,48,56,64,72,80,96
LC 32000Hz Stereo (L R) -- 48,56,64,72,80,96,112,128,144,160,192
LC 32000Hz Quadraphonic -- 96,112,128,144,160,192,224,256,288,320,384
LC 32000Hz 4.0 (C L R Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 32000Hz 5.0 (C L R Ls Rs) -- 128,144,160,192,224,256,288,320,384,448
LC 32000Hz 5.1 (C L R Ls Rs LFE) -- 128,144,160,192,224,256,288,320,384,448
LC 32000Hz 6.0 (C L R Ls Rs Cs) -- 144,160,192,224,256,288,320,384,448,512,576
LC 32000Hz 6.1 (C L R Ls Rs Cs LFE) -- 144,160,192,224,256,288,320,384,448,512,576
LC 32000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 192,224,256,288,320,384,448,512,576,640
LC 32000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 192,224,256,288,320,384,448,512,576,640
LC 32000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz Mono -- 32,40,48,56,64,72,80,96,112,128,144,160,192,224,256
LC 44100Hz Stereo (L R) -- 64,72,80,96,112,128,144,160,192,224,256,288,320
LC 44100Hz Quadraphonic -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 44100Hz 4.0 (C L R Cs) -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 44100Hz 5.0 (C L R Ls Rs) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz 6.0 (C L R Ls Rs Cs) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 6.1 (C L R Ls Rs Cs LFE) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 7.0 (C L R Ls Rs Rls Rrs) -- 224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 256,288,320,384,448,512,576,640,768,960,1280
LC 48000Hz Mono -- 32,40,48,56,64,72,80,96,112,128,144,160,192,224,256
LC 48000Hz Stereo (L R) -- 64,72,80,96,112,128,144,160,192,224,256,288,320
LC 48000Hz Quadraphonic -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 48000Hz 4.0 (C L R Cs) -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 48000Hz 5.0 (C L R Ls Rs) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 48000Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 48000Hz 6.0 (C L R Ls Rs Cs) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 6.1 (C L R Ls Rs Cs LFE) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 256,288,320,384,448,512,576,640,768,960,1280
HE 32000Hz Mono -- 12,16,24,32,40
HE 32000Hz Stereo (L R) -- 24,32,40,48,56,64,80
HE 32000Hz Quadraphonic -- 48,56,64,80,96,112,128,160
HE 32000Hz 5.1 (C L R Ls Rs LFE) -- 64,80,96,112,128,160,192
HE 32000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,160,192,224,256
HE 44100Hz Mono -- 16,24,32,40
HE 44100Hz Stereo (L R) -- 32,40,48,56,64,80
HE 44100Hz Quadraphonic -- 64,80,96,112,128,160
HE 44100Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,160,192
HE 44100Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,160,192,224,256
HE 48000Hz Mono -- 16,24,32,40
HE 48000Hz Stereo (L R) -- 32,40,48,56,64,80
HE 48000Hz Quadraphonic -- 64,80,96,112,128,160
HE 48000Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,160,192
HE 48000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,160,192,224,256
HE 88200Hz Mono -- 32,40,48,56,64,80,96,112,128,160
HE 88200Hz Stereo (L R) -- 64,80,96,112,128,160,192,224,256,320
HE 88200Hz Quadraphonic -- 128,160,192,224,256,320,448,640
HE 88200Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,320,448,640
HE 88200Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,320,448,640,1120
HE 96000Hz Mono -- 32,40,48,56,64,80,96,112,128,160
HE 96000Hz Stereo (L R) -- 64,80,96,112,128,160,192,224,256,320
HE 96000Hz Quadraphonic -- 128,160,192,224,256,320,448,640
HE 96000Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,320,448,640
HE 96000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,320,448,640,1120

Btw. ffmpeg as well as qaac doesnot recognize the input format properly. Which input format should I force to ffmpeg for temp.wav?
s16le is wrong.

kypec
4th April 2013, 11:26
Now I would need a tool that pipes the temporary wav for qaac so it makes a proper conversion.

This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.

What's wrong with piping directly from eac3to to qaac?eac3to inputfile.dtshd stdout.wav | qaac --ignorelength -o English.m4a --tvbr 100 -

Anakunda
4th April 2013, 11:35
What's wrong with piping directly from eac3to to qaac?eac3to inputfile.dtshd stdout.wav | qaac --ignorelength -o English.m4a --tvbr 100 -

That's wrong the backend encoder doesnot seem to make proper conversion of the temp wavfile ie. it doesnot seem to like 24bit little endiand signed wav. When I used builtin decoder which produced the big 20GB or so temp file the conversion went fine.

kypec
4th April 2013, 13:34
That's wrong the backend encoder doesnot seem to make proper conversion of the temp wavfile ie. it doesnot seem to like 24bit little endiand signed wav. When I used builtin decoder which produced the big 20GB or so temp file the conversion went fine.
Did you try to use -down16 option in eac3to?

Anakunda
4th April 2013, 13:41
No, I give it a try, thank U for the hint.

Sparktank
4th April 2013, 18:58
I've never had any problems getting QAAC to use 24 bit depth, piping from eac3to.
I even had success encoding 64bit IEE fp with QAAC.

Maybe move the output switch the end?
"eac3to.exe" "source.dtshd" "stdout.wav" | "qaac.exe" -V127 -q 2 -i --no-delay -r keep --threading - -o "output.m4a"

Anakunda
4th April 2013, 19:33
This 5.1ch track I have successfully converted after downgrading to 16bit, on previous track which had 7.1 config I was unable to make the conversion anyway.

"eac3to.exe" "source.dtshd" "stdout.wav" | "qaac.exe" -V127 -q 2 -i --no-delay -r keep --threading - -o "output.m4a"
Is this syntax (with Arcsoft decoder) working for you on DTSHD 7.1 too?
And what is --no-delay good for.

Anyway thanks for the commandline, I'll try this as soon as I will have 8 channel track.

Sparktank
4th April 2013, 19:55
Yes, it works for 8ch DTSHD as well.
QAAC has some weird issue on how it handles delays something or other.

https://sites.google.com/site/qaacpage/news/qaacrelease212refalac112
[qaac] release 2.12 (refalac 1.12)
posted Jan 16, 2013, 5:07 AM by nu 774
Add --no-delay option. (Read the discussion at HA thread from here).

--no-delay will compensate encoder delay (2112 samples) by prepending silence of 960 samples before sending input to encoder, then trimming 3 AAC frames at beginning (2112 + 960 = 3072 = 1024 * 3, where 1024 is the frame length of AAC. So total amount of delay will be exactly equals to length of 3 AAC frames). Note that these numbers are doubled in case of SBR.

This option is meant for video as a mean to resolve A/V sync issue. The resultant AAC will have exactly zero-delay, but might have pops/clicks at the beginning. Use with care.

I don't get any of the pops/clicks however.

the_weirdo
5th April 2013, 06:02
@Anakunda

You can try this: Download this libsndfile (https://dl.dropbox.com/u/18695757/Software%20Binaries/libsndfile-1.dll) and put it in qaac directory.

Anakunda
5th April 2013, 06:16
Great I'll try this in case of further problems. After all when I checked the former track params the encoding problems were not on qaac neither eac3to but nonstd layout of audio track.

--(AUDIO)----

Format..........: DTS-HD MA
Channels........: 7.1 (strange setup)
Bit depth.......: 24 bits
Sample rate.....: 48 kHz
Bit rate........: 4702 kbps
Language........: English

robertcollier4
5th April 2013, 11:47
This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.

Try this:
ffmpeg.exe -report -loglevel verbose -i "moviename.mkv" -map 0:a:0 -f wav -acodec pcm_f32le - | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "moviename-audio.m4a"

Regarding the --no-delay switch for qaac. Most compressors such as AAC and MP3 prepend 2112 samples to the beginning. Read here (http://developer.apple.com/library/mac/#documentation/QuickTime/qtff/QTFFAppenG/QTFFAppenG.html) the section titled "Historical Solution—Implicit Encoder Delay". Normally all AAC encoders (including neroaacenc and Quicktime) will add 2112 samples (44 ms at 48Khz samples/sec) to the beginning of the audio file and store this information in a tag. If you remux with mkvmerge or play with a supported player - then it should detect that the audio file has an encoder delay in the beginning of it and skip it - however, to increase compatability with all muxers and players qaac can chop off the encoder delay at the beginning to make it so that the beginning of your audio file is the same as the input which then makes it irrelevant of whether your muxer/player will be able to detect and remove the encoder delay or not.

If trying to pipe directly from eac3to to qaac and qaac is not accepting the file, try the -full switch for eac3to which will instruct it to send qaac the full internally used conversion bit-depth rate without applying any down dithering at all.
"eac3to.exe" "source.dtshd" "stdout.wav" -full | "qaac.exe" --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "output.m4a"

tebasuna51
5th April 2013, 13:33
Try this:
ffmpeg.exe -report -loglevel verbose -i "moviename.mkv" -map 0:a:0 -f wav -acodec pcm_f32le - | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "moviename-audio.m4a"


But ffmpeg can't decode DTS-HD, only the standard dts 'core'.

Anakunda
5th April 2013, 13:38
Yes sure the use of ffmpeg was only workaround for converting 16bit integer wav to float on the fly but since 24bit input shows no problem for qaac then ffmpeg is superfluous.

sneaker_ger
5th April 2013, 22:23
Try this:


Regarding the --no-delay switch for qaac. Most compressors such as AAC and MP3 prepend 2112 samples to the beginning. Read here (http://developer.apple.com/library/mac/#documentation/QuickTime/qtff/QTFFAppenG/QTFFAppenG.html) the section titled "Historical Solution—Implicit Encoder Delay". Normally all AAC encoders (including neroaacenc and Quicktime) will add 2112 samples (44 ms at 48Khz samples/sec)

Neroaacenc does not use 2112 samples. The delay varies from encoder to encoder.

LeXXuz
6th April 2013, 12:53
Is eac3to having problems with partitions >2TB?

I found anything but one post in this long thread where someone reports almost the same issue I seem to have.

I am unable to demux streams from a BD structure if those files are on a 3TB NTFS partition.

Usually I use eac3to in megui but I also tried to demux directly via command line. It's no use. Browsing BD structure, listing streams and playlists, all works fine.

However, when I start a demuxing job eac3to stops right at the beginning after writing just some bytes to the destination path and that's it. No more disc activity, no error message, nothing.

I tested this with several external 3TB drives by now. It does not work, even if the destination path is my 'small' internal hard drive. :(

Okay it it's not eac3to it seems to be the Matroska muxer causing this problem. eac3to uses Haali's media splitter AFAIR. Latest version I can find is dated 03/03/2011. And this one is not working with partitions that big, at least not for me. :(

Anyone know about a more recent version or can anyone at least confirm this issue?

filler56789
6th April 2013, 13:35
Anyone know about a more recent version

http://forum.doom9.org/showthread.php?p=1616085#post1616085

or can anyone at least confirm this issue?

Sorry, but I stopped using Haali filters many moons ago.

LeXXuz
8th April 2013, 11:16
http://forum.doom9.org/showthread.php?p=1616085#post1616085



Sorry, but I stopped using Haali filters many moons ago.

Does eac3to work with other filters to mux to mkv? If so, which one?
I always read it requires Haali's filter to work with mkv...

LigH
8th April 2013, 13:07
My recommendation would be to use eac3to as (elementary stream) audio converter only — and leave the MKV multiplexing to the specialist in this branch: mkvmerge.

LeXXuz
9th April 2013, 07:07
Like most people I use eac3to to demux BD/HD DVD structures. And like most people I need to have the video elementary streams in a container for further processing, as for AVC/VC1 preferably in mkv. Of course I can use any other multiplexer in a 2nd step after demuxing the source disc. But this is unnecessary stress for my disk drive and a waste of time if it 'could' be done right in the 1st step. :)

madshi
9th April 2013, 07:36
There's also the question about timestamps. mkvtoolnix used to be worse at writing the correct timestamps into the MKV for some video files, compared to eac3to. I suppose mkvtoolnix got better with that in the past months/years, but I'm not sure how good it really is now. Creating the proper timestamps is not always easy, and at least in the past eac3to was better at that. Just yesterday I received an MKV sample from a madVR user, muxed with mkvtoolnix. I noticed some playback problems. After remuxing it with eac3to it played better for me. And just for the record, the specialist for muxing MPEG2, VC-1 and h264 video tracks into MKV is eac3to, not mkvmerge. eac3to had proper VC-1 muxing support long before mkvmerge. I was the one pioneering VC-1 into MKV muxing (Haali tried it first, but didn't get it to work properly). And when I implemented h264 muxing support, mkvmerge was buggy as hell with h264 muxing. JFWIW...

gp2221
9th April 2013, 14:42
Doesn't 'anothereac3to gui' use mkvmerge to reassemble the mkv? Why doesn't it just use eac3to?

I've been using 'anothereac3to GUI' to rip my blu-rays because sometimes I want a separate copy of the audio track (in flac). I use makemkv for other discs. Are there better options available now?

madshi
9th April 2013, 14:46
eac3to can only mux the video track to MKV. In order to add the audio tracks, too, you have to use mkvmerge. However, if you feed mkvmerge with the video MKV created by eac3to, mkvmerge will reuse the timestamps etc muxed by eac3to, AFAIK.

cyberbeing
9th April 2013, 15:23
Anyone know about a more recent version?

The latest beta release of CCCP codec pack (http://www.cccp-project.net/forums/index.php?topic=6604.msg43371#msg43371) contain a pre-release Haali Splitter 1.13.97.23 from March 4th, 2013, which also includes a new build of gdsmux.exe

innounp -x (http://innounp.sourceforge.net/) can be used to extract out the Haali folder if you don't want to use the CCCP installer.

Edit: JEEB posted the Haali 1.13.97.23 installer http://forum.doom9.org/showpost.php?p=1623522&postcount=114

lazyn00b
10th April 2013, 07:12
Okay it it's not eac3to it seems to be the Matroska muxer causing this problem. eac3to uses Haali's media splitter AFAIR. Latest version I can find is dated 03/03/2011. And this one is not working with partitions that big, at least not for me. :(

Anyone know about a more recent version or can anyone at least confirm this issue?

I'm having the same issue when trying to use eac3to (via Staxrip) on source files located on a 4 TB Windows 8 Storage Space. I found another guy on the Videohelp forums who has the same issue, although he's using MKV2AC3 as the front end to eac3to. I tried replacing eac3to 3.24 with 3.27, but it didn't make a difference. Moving the source files from the Storage Space to a single (smaller) drive solved the issue.

BTW, the failure happens pretty much immediately, and eac3to does not seem to produce a log file.

superhil
10th April 2013, 09:55
i don't understand how "-edit=0:00:00,0ms" works
could you help me how is the command if i want to take first ten seconds as a sample of the audio?

tebasuna51
10th April 2013, 10:49
-edit=0:00:00,0ms loops or removes audio data at the specified runtime
-silence/-loop forces usage of silence (or looping) for audio edits

Then:
-edit=H:MM:SS,Xms -silence
Add X ms of silence at H:MM:SS

-edit=H:MM:SS,Xms -loop
Repeat last X ms at H:MM:SS

-edit=H:MM:SS,-Xms
Delete X ms at H:MM:SS

You can't extract the first ten seconds.
There are a parameter:

-Xmb

Than stop extract audio after reach X MB of the source, but you can't know easily how many seconds you extract.
You can use DelayCut to do the job for AC3/DTS/MP3/WAV audio.

superhil
10th April 2013, 14:21
Dear tebasuna51
Thanks for the explanation.
I think i missunderstood about the function of "-edit" option

LeXXuz
16th April 2013, 19:07
The latest beta release of CCCP codec pack (http://www.cccp-project.net/forums/index.php?topic=6604.msg43371#msg43371) contain a pre-release Haali Splitter 1.13.97.23 from March 4th, 2013, which also includes a new build of gdsmux.exe

innounp -x (http://innounp.sourceforge.net/) can be used to extract out the Haali folder if you don't want to use the CCCP installer.

Edit: JEEB posted the Haali 1.13.97.23 installer http://forum.doom9.org/showpost.php?p=1623522&postcount=114

Thank you for the link. Unfortunately the newer version does not change anything. :(

I'm having the same issue when trying to use eac3to (via Staxrip) on source files located on a 4 TB Windows 8 Storage Space. I found another guy on the Videohelp forums who has the same issue, although he's using MKV2AC3 as the front end to eac3to. I tried replacing eac3to 3.24 with 3.27, but it didn't make a difference. Moving the source files from the Storage Space to a single (smaller) drive solved the issue.

BTW, the failure happens pretty much immediately, and eac3to does not seem to produce a log file.

It seems it is NOT the partition size in general. I removed lots of stuff from my 3TB drive, reduced partition size to 1.5TB and created a 2nd partition of approx. 650GB (so both partitions stay below 2.1TB in total).

However, eac3to still refuses to write to this partition when the video output container is set to mkv. I tried this manually and with MeGUI as front-end.

Just to get this straight: eac3to does not write/create mkv files on it's own. It has to rely on a DS filter, is that correct?

Is it possible to make eac3to work with a different filter to get rid of the outdated Haali filter once and for all?

Snowknight26
16th April 2013, 19:15
Not until madshi makes quite a few changes to eac3to. It's been suggested by me and a few others to ditch gdsmux in favor of ffmpeg but nothing is set in stone. If he does decide to do it (being as busy as he is) it'll be quite a while before we see the results.

madshi
16th April 2013, 19:23
eac3to writes MKV files through the Haali MKV Muxer DirectShow filter. However, all other files are created and written to directly by eac3to. Replacing the Haali MKV Muxer would be quite a lot of work, so don't expect that anytime soon.

Sparktank
17th April 2013, 00:23
The latest beta release of CCCP codec pack (http://www.cccp-project.net/forums/index.php?topic=6604.msg43371#msg43371) contain a pre-release Haali Splitter 1.13.97.23 from March 4th, 2013, which also includes a new build of gdsmux.exe

innounp -x (http://innounp.sourceforge.net/) can be used to extract out the Haali folder if you don't want to use the CCCP installer.

Edit: JEEB posted the Haali 1.13.97.23 installer http://forum.doom9.org/showpost.php?p=1623522&postcount=114

K-Lite Mega Codec Pack seems to install the newest test/pre builds now by default.
Stable K-Lite, no beta or anything.