View Full Version : eac3to - audio conversion tool
tebasuna51
15th November 2014, 18:16
Use 'Search this Thread' (up right of the page) "Atmos"
xerox44
3rd December 2014, 11:27
Can be used to decode the track but can't be used by eac3to until madshi can parse the track and add new libav dll's.
By the moment you can do, for instance:
ffmpeg -i 000000.m2ts -map 0:1 recoded.flac
Is there any news regarding eac3to supporting Dolby Atmos streams? Support, as in, stripping the atmos meta-data, so that we can decode the truehd track into mono-wavs as we could before atmos was added?
I've tried using the latest ffmpeg (the above code), but the best I can get from a truehd/atmos track is the ac3 subtrack. Is there any way to get the truehd track by using ffmpeg in the mean time? I've googled and tried working through the man-pages of ffmpeg, but no luck so far.
Any help would be greatly appreciated, thanks!
LigH
3rd December 2014, 11:56
LAV Filters 0.63.0 and L-SMASH Works (with Libav, r733 by the_weirdo) are now able to ignore Atmos extensions correctly. But to support it in ffmpeg too, someone would have to port this patch to the ffmpeg source repository...
Lenmaer
3rd December 2014, 12:08
Would be nice if someone would actually be willing to update eac3to. It kinda feels like a dead project now, the developer seems to have abandoned it. >.<
Music Fan
3rd December 2014, 12:15
LAV Filters 0.63.0 and L-SMASH Works (with Libav, r733 by the_weirdo) are now able to ignore Atmos extensions correctly.
Does it allow to keep the True HD track (removing the Atmos extensions) or it can only decode the True HD to wav ?
LigH
3rd December 2014, 12:39
Would be nice if someone would actually be willing to update eac3to. It kinda feels like a dead project now, the developer seems to have abandoned it. >.<
But eac3to is not OpenSource. Noone else can do that.
Does it allow to keep the True HD track (removing the Atmos extensions) or it can only decode the True HD to wav ?
Neither is just a demultiplexer. Both are decoders (as DirectShow filter or as AviSynth source plugin).
Well, I am not sure if LAV Filters could be used as splitter only. And if it would strip Atmos extensions off TrueHD separately, not just in the decoder.
Kurtnoise
3rd December 2014, 13:06
LAV Filters 0.63.0 and L-SMASH Works (with Libav, r733 by the_weirdo) are now able to ignore Atmos extensions correctly. But to support it in ffmpeg too, someone would have to port this patch to the ffmpeg source repository...
Or compile the FFmpeg executable using the LAV FFmpeg branch...;)
LigH
3rd December 2014, 13:10
Ah, OK ... is there a usual source for such binaries? Do zeranoe builds use "legacy" or LAV libs?
Kurtnoise
3rd December 2014, 13:16
Yeah, the branch from LAV Filters > http://git.1f0.de/gitweb?p=ffmpeg.git;a=summary
but you have to compile it by yourself.
nevcairiel
3rd December 2014, 14:19
LAV Filters 0.63.0 and L-SMASH Works (with Libav, r733 by the_weirdo) are now able to ignore Atmos extensions correctly. But to support it in ffmpeg too, someone would have to port this patch to the ffmpeg source repository...
I pushed my TrueHD patch to upstream ffmpeg, it should be in recent zeranoe builds for example.
LigH
3rd December 2014, 14:23
:thanks: – Hope someone with matching material can confirm it.
Now back to eac3to... ;)
Nebudchanezzer
8th December 2014, 14:50
Hi everyone!
I would like to revisit the "strange setup" issue a little bit....
I know this has been up before, but I would like to look at it some more.
If there isn't a possibility to "inject" that it is normal 7.1 setup into the header when decoding.
I have tried encoding a small audiofile into both "strange setup" and normal setup, and the encoded data is the same (using a hexeditor for comparison) only the header differs.
I have also tried altering the header of the "strange setup" with the hex-editor to see if I could do what is asked here my self, but I had no luck.
Doesn't matter what I change in the header really, the track decodes as "strange setup" whatever....
I just don't know what it is in the header that tells the decoder that it is "strange setup".
EDIT: Also to add, someone mentioned earlier that this might not be possible due to the internal error calculations of DTS-HD, but I have actually edited the header without any problems to decode the track afterwards (only it still decodes as "strange setup").
From the little I understand from the published documents regarding DTS-HD MA, I find the error calculations depends of the acutal header-size and not some sort of hash of it.
So I would really like if someone could tell me how to read the header, or what specifically tell the decoder it is "strange setup".
I would be happy to share what I have with anyone interested more in this.
73ChargerFan
16th December 2014, 06:20
Link in first post to Haali is bad.
Sparktank
16th December 2014, 07:13
Link in first post to Haali is bad.
This Haali link works:
http://haali.su/mkv/
Infineon
18th December 2014, 20:08
I get this error when trying to convert DTS-HD music tracks that have been demuxed from a Blu-Ray. I'm using v3.27. The first track is identified and converts to FLAC perfectly, after that for all subsequent tracks I get this error. I can convert TrueHD to FLAC with no issues. Can anyone suggest what might be causing this?
microchip8
18th December 2014, 20:11
I get this error when trying to convert DTS-HD music tracks that have been demuxed from a Blu-Ray. I'm using v3.27. The first track is identified and converts to FLAC perfectly, after that for all subsequent tracks I get this error. I can convert TrueHD to FLAC with no issues. Can anyone suggest what might be causing this?
What error exactly do you get? You didn't post it
Music Fan
18th December 2014, 20:13
Look at the name of his post : "The format of the source file could not be detected".
microchip8
18th December 2014, 23:16
Look at the name of his post : "The format of the source file could not be detected".
Thanks. However, this still doesn't bring us anywhere. No info on content he used (no sample either)
Infineon
19th December 2014, 09:27
Thanks. However, this still doesn't bring us anywhere. No info on content he used (no sample either)
The source media is an audio only Blu-Ray music disc containing 2Ch PCM 96/24 and 6Ch DTS-HD 96/24. I use AnyDVD-HD to decrypt and save as ISO image (mainly so I have a backup of my media that can't get scratched). I then demux the DTS HD tracks from the image using DVD Audio Extractor. I get the same problems if I demux direct from the disc.
I'm open to suggestions of a better demuxing app that I could try? I am seeing this problem with DTS-HD on other blu-rays. The ISO image and demuxed DTS-HD files both play back fine on my PC. The weird thing is some tracks convert to FLAC in eac3to, some don't. On a previous disk the first two tracks worked, then the rest weren't recognised.
If you need it I could make the a copy of a working and non working track available for comparison but pls msg me in private to set this up.
Music Fan
19th December 2014, 09:53
You can try eac3to or TSmuxer to demux audio and video.
Infineon
19th December 2014, 10:53
You can try eac3to or TSmuxer to demux audio and video.
Ok, with eac3to am I right in thinking that I must use the raw blu-ray m2ts files to demux from? The problem I found was it creates a single output FLAC file. Perhaps I'm being a noob, is there a way to demux into individual DTS-HD files or just demux and convert straight to individual FLACs? Thanks.
Music Fan
19th December 2014, 15:02
You can do what you want with eac3to ; extract a dts track as is, convert it in a 5.1 wav, 6 mono waves, flac ...
The first thing to do is to analyze the m2ts file to see the numbers of the tracks, with this very simple command ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts"
eac3to will show tracks with a number. If the dts track you need is number 2, the command to extract it looks like ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts" 2: "M:\sound of my video.dts"
It's not only the core, it contains the DTS HD and the core.
To convert in Flac, just change the extension ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts" 2: "M:\sound of my video.flac"
But you need somme dll (from ArcSoft TotalMedia Theatre) to decode Dts HD ;
http://forum.videohelp.com/threads/352153-DTS-HD-MA-7-1-to-WAVS-%288-channels%29?p=2210419&viewfull=1#post2210419
Sparktank
19th December 2014, 23:55
single output FLAC file...to individual FLACs
Sounds like you want a track list rip as if it were a CD with a CUE.
DVDAudio Extractor can rip by "chapter". But I often find that different versions of DVDAE produce different results than eac3to.
You can remux with MKVtoolnix to split by timecode or framenumbers.
You have to input this list manually.
You can use the disc chapters.
If one track segue's into the next track, and you don't like the disc chapter, you'll have to edit yourself in something like Audacity.
eac3to doesn't do splitting by chapter (automated).
Best thing to do is split into files with MKVtoolnix for remuxing and then use eac3to for each split remux.
Infineon
20th December 2014, 10:35
You can do what you want with eac3to ; extract a dts track as is, convert it in a 5.1 wav, 6 mono waves, flac ...
The first thing to do is to analyze the m2ts file to see the numbers of the tracks, with this very simple command ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts"
eac3to will show tracks with a number. If the dts track you need is number 2, the command to extract it looks like ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts" 2: "M:\sound of my video.dts"
It's not only the core, it contains the DTS HD and the core.
To convert in Flac, just change the extension ;
"C:\Program Files (x86)\eac3to\eac3to.exe" "H:\my video.m2ts" 2: "M:\sound of my video.flac"
But you need somme dll (from ArcSoft TotalMedia Theatre) to decode Dts HD ;
http://forum.videohelp.com/threads/352153-DTS-HD-MA-7-1-to-WAVS-%288-channels%29?p=2210419&viewfull=1#post2210419
This is really helpful thanks, I've got Arcsoft decoder working fine, I'll give this a try. :)
Infineon
21st December 2014, 01:30
Sounds like you want a track list rip as if it were a CD with a CUE.
DVDAudio Extractor can rip by "chapter". But I often find that different versions of DVDAE produce different results than eac3to.
You can remux with MKVtoolnix to split by timecode or framenumbers.
You have to input this list manually.
You can use the disc chapters.
If one track segue's into the next track, and you don't like the disc chapter, you'll have to edit yourself in something like Audacity.
eac3to doesn't do splitting by chapter (automated).
Best thing to do is split into files with MKVtoolnix for remuxing and then use eac3to for each split remux.
Perfect, MKVToolNix did the job. DVD-AE has an option to create a DTS-CD plus Cue sheet so I just used this to generate the cue quickly from the ISO. Then loaded the cue into MKVMerge to split the chapters and demux the M2TS stream to MKA. eac3to was then able to correctly identify the DTS-HD in the MKAs and convert them either to FLAC or .dts files. Discovered something new as well, using the MKA container JRiver appears to be playing back the full DTS-HD bitrate now (8000Kbps) whereas the .dts files just play the core (1500Kbps). Not sure why that is. eac3to identifies them as 96/24 and they're just as large as the MKAs. Anyway, thanks for your help!
XadoX
22nd December 2014, 08:52
Is there a know problem, with discs containing Dolby Atmos tracks?
Infineon
22nd December 2014, 09:26
Sorry I've been ripping from music blu-rays not movies so couldn't tell you. I suspect the problem I've encountered is with DVD Audio Extractors demux of Dts-hd.
LigH
22nd December 2014, 09:34
Did you really search this thread for "Atmos" before asking this, XadoX?
XadoX
22nd December 2014, 14:44
Did you really search this thread for "Atmos" before asking this, XadoX?
No I don't. But now I did.
My problem is not relatet in playing those files. I'm having problmes while demuxing a disc containing Dolby Atmos.
Boulder
27th December 2014, 16:40
(Does anyone have a new libFLAC.dll to use with eac3to? FLAC version 1.3.1 has some improvements to encoding efficiency and speed, which is always a good thing.)
EDIT: found this thread after some more searching: http://forum.doom9.org/showthread.php?t=171480
Lenmaer
27th December 2014, 16:45
(Does anyone have a new libFLAC.dll to use with eac3to? FLAC version 1.3.1 has some improvements to encoding efficiency and speed, which is always a good thing.)
EDIT: found this thread after some more searching: http://forum.doom9.org/showthread.php?t=171480
Check here http://www.rarewares.org/lossless.php
Anakunda
31st December 2014, 14:10
HI!
what output format should I use to extract MPEG-2 video stream from Bluray? (without any conversion)
I tried .mpeg .mpg .vob .m2ts .mts, everything fail. Does even eac3to support extracting MPEG-2 video from bluray?
LigH
31st December 2014, 14:20
In general, eac3to is an audio converter. It will probably not process video streams.
Boulder
31st December 2014, 14:24
Won't it demux it to a Matroska container?
Anakunda
31st December 2014, 14:33
In general, eac3to is an audio converter. It will probably not process video streams.
It does. If they're organized into Bluray structure. For DVDs you're right, however I'm demuxing Bluray.
Won't it demux it to a Matroska container?
MakeMKV can do this but I'd prefer to use eac3to to demux into bare streams (ie. separate video, separate audio track etc., this is the best for further processing)
r0lZ
31st December 2014, 14:43
Use TsMuxeR. It can demux everything from a blu-ray. However, it can't properly demux the video streams from a multi-angle MPLS.
Boulder
31st December 2014, 14:55
I also recommend TsMuxeR, but if you insist on using eac3to, what is the error that you have? eac3to does support muxing MPEG-2 to mkv.
Anakunda
31st December 2014, 15:29
I also recommend TsMuxeR, but if you insist on using eac3to, what is the error that you have? eac3to does support muxing MPEG-2 to mkv.
It's the error
H:\video\(workset)\Pulp fiction>eac3to 2) 1:bonus1\source.mpeg
M2TS, 1 video track, 1 audio track, 1 subtitle track, 0:55:26, 50i
1: MPEG2, 576i50 (4:3)
2: AC3, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB
3: Subtitle (PGS), Czech
This video conversion is not supported.
Boulder
31st December 2014, 15:33
Try "eac3to 2) 1: bonus1\source.mkv" (note the space after "1:")
Anakunda
31st December 2014, 15:39
Yes eac3to 2) 1:bonus1.mkv works but I was hoping that raw demuxing like on Bluray formats will work too. Issue closed, thanks to everybody.
madshi
31st December 2014, 16:26
Use ".m2v".
Anakunda
31st December 2014, 18:59
Use ".m2v".
.m2v is accepted by eac3to. Thanks madshi.
Btw your renderer has problem to render properly subtitles muxed in MKV (not so with subtitles placed aside the mkv)
Sparktank
1st January 2015, 02:28
Btw your renderer has problem
That should be posted in the MadVR thread, along with a sample (and check the bugtracker).
73ChargerFan
1st January 2015, 09:34
When you need to know what extension to use for a particular stream, try the -demux option then cancel after 5 seconds, and look at the files it created.
whitey1977
2nd January 2015, 12:15
I recently had 2 drives fail on my RAID5 array so I'm now having to re-rip all my movies. In my collection I have a few HD-DVDs which I converted to blu-rays for easier playback. Since it was over 6 years ago when I originally did this I can't quite remember how I did it.
I've used eac3to to demux amd convert the DD+ tracks and then TSMuxer to combine them into blu-ray structure and this has all worked great, the problem is with the HD-DVDs that have TrueHD audio tracks. These discs show no streams when loaded into eac3to so I can't select them for demux. I'm sure this is the method I used 6 years ago and it may simply be that I'm using a newer version of eac3to that has a bug or no longer supports TrueHD from HD-DVD.
Can anyone help?
Music Fan
2nd January 2015, 12:31
Try HdBrStreamExtractor (GUI for eac3to), it will perhaps detect the True HD track. Or try an old eac3to version.
For the DD+ tracks, I'm not sure you have to make conversion, my Oppo BDP-83 plays DD+ ripped from HD-dvd.
LigH
2nd January 2015, 12:41
One source for older eac3to versions should probably be the VideoHelp archive (http://www.videohelp.com/tools/eac3to/old-versions#download).
Hitesh12
2nd January 2015, 12:44
Hey guys I'm very new here so please go easy :scared:
So this what I'm trying to do -
Convert a .mkv file with 5.1 DTS audio -
to a .mkv file with 2 audio tracks -
Track no.1 - Encoded flac audio
Track no.2 - Original 5.1 DTS track
Is this possible with a single command (what I mean is that everything occurs in one go; I don't have to extract audio then convert it then mux it; I hope it is clear) ?
If yes, then what should be the commands ?
OT : Just read that post mentioning new FLAC, so I was wondering if there are any other new versions of the default encoders that I should update ?
Boulder
2nd January 2015, 13:14
You can call the same track twice in the command line so eac3to file.mkv 1: audio.dts 1: audio.flac should do (replace 1: by whatever the reported track is). I don't recall if you need to specify the playlist with mkv files.
tebasuna51
2nd January 2015, 13:17
Is this possible with a single command (what I mean is that everything occurs in one go; I don't have to extract audio then convert it then mux it; I hope it is clear) ?
Nope.
You don't need extract the dts to convert to flac, but you need mux the flac to the mkv with MkvMerge.
OT : Just read that post mentioning new FLAC, so I was wondering if there are any other new versions of the default encoders that I should update ?
The other encoder (libAften.dll) don't have a new version.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.