View Full Version : eac3to - audio conversion tool
Chumbo
31st December 2008, 23:59
So using mkvtoolnix to merge the audio with the MKV from eac3to doesn't induce any errors?
...No. mkvtoolnix leaves all important video muxing properties as they were created by eac3to.
So, actually the answer is yes, mkvtoolnix doesn't induce errors. ;)
rica
1st January 2009, 00:23
So you should workaround to merge mkvs created by eac3to then :)
No. mkvtoolnix leaves all important video muxing properties as they were created by eac3to.
madshi
1st January 2009, 01:08
So, actually the answer is yes, mkvtoolnix doesn't induce errors. ;)
That's one of those funny questions where you can say both "yes" and "no" and both can be interpreted both ways. If you ask me: "So it doesn't do that?" I'd answer: "No, it doesn't" while you wanted to hear "Yes, it doesn't". Probably the best answer would be "Correct, it doesn't". Anyway... :)
So you should workaround to merge mkvs created by eac3to then :)
What do you mean?
rica
1st January 2009, 01:18
What do you mean?
Considering the best way of creating mkv files is eac3to; think i have more than one mkvs created by eac3to and i want to merge them.
If i try doing this via MkvMergeGui, i'll meet with the bugs.
So how shall i merge them; eac3to can not do this?
Edit: Sorry, i didn't suppose you used "leave" instead of "keep"; so i misundersood. Finally, mkvmerge gui can merge mkvs created by eac3to without any problem? I beg your pardon.
Chumbo
1st January 2009, 01:20
That's one of those funny questions where you can say both "yes" and "no" and both can be interpreted both ways. If you ask me: "So it doesn't do that?" I'd answer: "No, it doesn't" while you wanted to hear "Yes, it doesn't". Probably the best answer would be "Correct, it doesn't". Anyway... :)
Yeah, just havin' a little fun. :) Happy New Year!
rica
1st January 2009, 02:00
Guys, this may seem like a silly question... Does Nero need to be installed in order to transcode an AAC track to AC3? :o
Yes, afaik.
rica
1st January 2009, 02:39
Madshi,
What is your recipe:
Demux/remux to mkv video and demux audio/transcode to flac with eac3to at the same command line.
And remux to mkv container with MkvMerge Gui.
Is this correct?
williewonton
1st January 2009, 06:40
Madshi
In previous posts I was noting problems with the title Game Plan. Over the holiday break I have re-looked at this. M2TS files 00000 to 00091 are the correct files in linear sequence for the title. Files from 00092 and up seem to be part of some interactive features that I haven't looked at closely. Playlist 00139.mpls calls up a mixture of 0..91 plus those from 92 and up (these have the same audio track basically the start up music).
However playlist 00138.mpls does call up the correct linear sequence 0..91 (at least so far as TSMuxer confirms for me.)
Is it possible that eac3to picks the wrong mpls file? Or is it possible to specify the mpls file for eac3to to use?
madshi
1st January 2009, 11:06
What is your recipe:
Demux/remux to mkv video and demux audio/transcode to flac with eac3to at the same command line.
And remux to mkv container with MkvMerge Gui.
Is this correct?
Yes, that's exactly what I'd suggest.
In previous posts I was noting problems with the title Game Plan. Over the holiday break I have re-looked at this. M2TS files 00000 to 00091 are the correct files in linear sequence for the title. Files from 00092 and up seem to be part of some interactive features that I haven't looked at closely. Playlist 00139.mpls calls up a mixture of 0..91 plus those from 92 and up (these have the same audio track basically the start up music).
However playlist 00138.mpls does call up the correct linear sequence 0..91 (at least so far as TSMuxer confirms for me.)
Is it possible that eac3to picks the wrong mpls file? Or is it possible to specify the mpls file for eac3to to use?
If you do "eac3to GamePlanFolder" you'll get a list of titles. eac3to doesn't know which one is the movie title. This information is simply not available. eac3to just sorts all available titles. Titles with highest resolution are listed first. Titles with identical resolution are sorted so that the longest runtime title is listed first. The playlist used for each listed title is displayed by eac3to. So do "eac3to GamePlanFolder" and check which title uses playlist 00138.mpls. It might be 1) or maybe 2) or 3). Then do e.g. "eac3to GamePlanFolder 2) [otherOptions]" to select the wanted title/playlist.
williewonton
1st January 2009, 11:39
madshi
OK, thanks for the tips. The approach isn't clear from the documentation, but your advice has helped with clarity.
Thunderbolt8
1st January 2009, 19:56
does he -slowdown function actually remove the "EX" from ac3 tracks? I got an ac3 track here which is DD EX 5.1, but when I use -slowdown the track is only normal DD 5.1 after that. or does it maybe only remove the EX flag and the slowed down track is still EX? or was it never EX to begin with and only had the flag, which then correctly got removed at processing?
http://www.sendspace.com/file/13ese3
nautilus7
1st January 2009, 20:46
Proper EX decoding results in 6.1ch, but there's is no such decoder available. All we can get is 5.1. As a result, if you decode/slowdown/re-encode the track you can't get the original EX form back.
Happy New Year to everybody.
madshi
1st January 2009, 21:32
As far as I understand, the mixed in back channel ("EX") should not get lost when slowing down audio (someone correct me, please, if I'm wrong). However, currently eac3to doesn't *ever* set the EX flag when using Aften to encode an AC3 track. Which means that in every case where audio is reencoded, the EX flag is lost. I have on my to do list to transport the EX flag through to the final AC3 file, but this is not implemented yet...
saint-francis
1st January 2009, 23:14
Eac3to struggles with Universal Soldier. It says that there is only an 18 minute 480i track when in reality there is also a full length movie in there too. Here (http://www.mediafire.com/?sharekey=bc9c9dc1badec55991b20cc0d07ba4d272adc77a24eda0ac)is the entire playlist folder.
madshi
2nd January 2009, 08:00
Eac3to struggles with Universal Soldier. It says that there is only an 18 minute 480i track when in reality there is also a full length movie in there too. Here (http://www.mediafire.com/?sharekey=bc9c9dc1badec55991b20cc0d07ba4d272adc77a24eda0ac)is the entire playlist folder.
I need the CLIPINF folder, too. Thanks!
saint-francis
2nd January 2009, 16:55
I need the CLIPINF folder, too. Thanks!
Here (http://www.mediafire.com/?yzwoe0hdm2x)you go.
williewonton
2nd January 2009, 20:25
@madshi
Many thanks, all sorted
asarian
3rd January 2009, 00:57
@madshi
I'm getting the following error on my Austin Powers 2 Blu-Ray: "Lossless check failed" (see below). Is that something I can ignore? eac3to seems to indicate success after all, but I'm not sure.
Thanks
--------
eac3to 00002.m2ts 4: c:\video\temp.pcm
M2TS, 1 video track, 3 audio tracks, 1 subtitle track, 1:29:35
1: Chapters, 25 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
4: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
5: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
6: Subtitle (PGS), English
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] Swapping endian...
[a04] Remapping channels...
[a04] Creating file "c:\video\temp.24bit.pcm"...
[libav] Lossless check failed - expected 0, calculated 91
[a04] The original audio track has a constant bit depth of 16 bits.
[a04] The zero bytes were successfully removed.
Video track 2 contains 128879 frames.
eac3to processing took 12 minutes, 17 seconds.
Done.
Thunderbolt8
3rd January 2009, 03:02
might be the same case I had, meaning its only that one instance inside the track which wont be lossless then, while the rest of all other million bytes are or something like that. in other words: you wont notice any difference.
asarian
3rd January 2009, 04:41
might be the same case I had, meaning its only that one instance inside the track which wont be lossless then, while the rest of all other million bytes are or something like that. in other words: you wont notice any difference.
Thanks. It looks, indeed, rather benign. I thought that (presumably) the checksum fails because of leading/trailing zeroes (?). But it's good to know I can safely ignore it.
Weirdo
3rd January 2009, 11:22
Please forgive some '-already-answered-but-can't-search-huge-thread' questions... :search:
I want to convert a DTS-HD MA 5.1 24bit/48KHz track to 24/48 flac from a BD folder/m2ts file.
1. Source reports -8ms, does that mean I've got to add +8ms for any type of destination file, flac included?
2. The blu-ray remapping option (or any other option) isn't needed for this, right?
edit: 3. Are there known issues with different versions of the Arcsoft DTS decoder?
Thanks
asarian
4th January 2009, 00:33
I want to convert a DTS-HD MA 5.1 24bit/48KHz track to 24/48 flac from a BD folder/m2ts file.
1. Source reports -8ms, does that mean I've got to add +8ms for any type of destination file, flac included?
No, that isn't necessary. Ere you'd expect to have to include "-8ms" also, but that isn't necessary either.
2. The blu-ray remapping option (or any other option) isn't needed for this, right?
Nope, don't need it.
N.B. Actually, never seen an occassion where I did need the "-blu-ray" option. I convert TrueHD/DTS-MA -> LPCM without it, at least.
3. Are there known issues with different versions of the Arcsoft DTS decoder?
If you bought an Arcsoft Product, like Total Media Theatre, your product will always upgrade to the latest and greatest anyway. But, far as I know, Arcsoft DTS decoder has no known issues.
Thunderbolt8
4th January 2009, 03:19
at least within eac3to it cannot decode DTS-HD 1.0 tracks
The_Keymaker
4th January 2009, 07:54
This has probably been answered somewhere in this thread, but Instead of plowing through 380+ pages I'm hoping someone can help me with a simple answer.
How or what do I need to do to the .sup subtitle files extracted by eac3to to get them in a format that I can mux with my audio and video files into .MKV? I believe MKVMerge can handle subtitles in the SRT, SSA, ASS and Vobsub formats (are there others MKVmerge can use?).
Thanks
madshi
4th January 2009, 08:32
Eac3to struggles with Universal Soldier. It says that there is only an 18 minute 480i track when in reality there is also a full length movie in there too.
This is a troublesome playlist configuration. The main movie titles asks for this:
(1) play 00002.m2ts from start to end
(2) play the first second of 00002.m2ts another time
eac3to didn't like this configuration, because usually playlists which ask for the same m2ts part to be played more than once are menu titles.
The next eac3to will "fix" this problem.
madshi
4th January 2009, 08:34
How or what do I need to do to the .sup subtitle files extracted by eac3to to get them in a format that I can mux with my audio and video files into .MKV? I believe MKVMerge can handle subtitles in the SRT, SSA, ASS and Vobsub formats (are there others MKVmerge can use?).
There are tools out there to OCR the subtitles and convert them to a text format like SRT. It can be a painful process, sometimes. Look for "SupRip".
bmnot
4th January 2009, 08:38
How come eac3to can't read from/work with .mkv files, even if it created it?
dat720
4th January 2009, 09:26
madshi
I just want to say Fan-Friggen-Tastic work with eac3to... it's plain awesome, never fails me, i was about to post a question regarding a tricky DTS file i had, it spits the error:
Can't downmix this channel configuration ($60f).
Internal error - unknown audio output format!
But a simple update from 2.77 to 2.87 fixed my probem.... awesome work!!! keep it up.
Do you have a paypal account that i could donate to say thanks for your time and effort?
yesgrey
4th January 2009, 14:41
Is this a bug?
eac3to v2.87
command line: eac3to f:\temp\fly_dxva_hd_hq.264 test.mkv
------------------------------------------------------------------------------
h264/AVC, 1920x816 24p /1.001 (40:17)
Muxing video to Matroska...
Added fps value to MKV header.
Video track 1 contains 300 frames.
eac3to processing took 1 second.
Done.
The "(40:17)" is the duration of the file? As you see, the file only has 300 frames.
Maybe it's a bug in x264 AUDs placement?...
You can download the file here:
http://www.megaupload.com/?d=6XTI9UH5
By the way, I have suggested MeGUI authors to automatically set the --aud option in x264 when outputting RAWAVC streams, and they agree do it in the next release.:)
nurbs
4th January 2009, 15:07
The 40:17 is the aspect ratio of the video.
yesgrey
4th January 2009, 15:45
The 40:17 is the aspect ratio of the video.
:thanks:
piratburner
4th January 2009, 18:15
First time to demux a HD-DVD
Is it ok to use this command
>eac3to h:\TEMP\MOVIE 1) -demux
And the take the files I want and add this to TsMuxer ?
Or have I forgot something :-)
EDIT
I want to do a Blu ray disc :-)
Steel
4th January 2009, 18:20
This has probably been answered somewhere in this thread, but Instead of plowing through 380+ pages I'm hoping someone can help me with a simple answer.
How or what do I need to do to the .sup subtitle files extracted by eac3to to get them in a format that I can mux with my audio and video files into .MKV? I believe MKVMerge can handle subtitles in the SRT, SSA, ASS and Vobsub formats (are there others MKVmerge can use?).
Thanks
You can use suprip to read the .sup file.
The_Keymaker
4th January 2009, 18:36
There are tools out there to OCR the subtitles and convert them to a text format like SRT. It can be a painful process, sometimes. Look for "SupRip".
Yes I'm aware of Supread and Suprip have used them before in the past and it was a PAIN IN THE A**!.
Seems like not much has changed with subtitling tools. It would be nice to just mux in the .sup file and have the appropriate Dshow filter demix and decode it.
Oh well...
rica
4th January 2009, 18:44
madshi,
eac3to doesn't recognize this:
http://www.sendspace.com/file/61lfv8
Zwitterion
4th January 2009, 19:44
I've looked into this. The DIRAC documentation contains this text:
So I contacted the DIRAC company and asked about whether it would make any sense at all to use the free DIRAC version for movie tracks. Here's the reply I received:
"If you are planning on time stretching and pitch shifting 5.1 and 7.1 recordings relative phase is essential. You would need to use the PRO version of DIRAC in order to do this."
In other words: The free DIRAC version is useless for our needs, sadly.
Thank you for your efforts. However, I don't believe that relative phase is as essential as they claim for multi channel processing... IIRC the stereo mode of Waves SoundShifter just applies the mono algorithm on each channel.
Another thing: Is it possible to disable 2pass mode? I'm speeding up a large DTS file, and one pass takes nearly half an hour. I can accept a few clipped samples in this case.
Much better would be 32 or 64 bit floating point wave as output. Clipping would be a non-issue then.
piratburner
4th January 2009, 20:05
First time to demux a HD-DVD
Is it ok to use this command
>eac3to h:\TEMP\MOVIE 1) -demux
And the take the files I want and add this to TsMuxer ?
Or have I forgot something :-)
EDIT
I want to do a Blu ray disc :-)
One more thing :-)
I got a eac3 sound track (*.eac3)
Is it OK to make a DTS track of the eac3 sound ??
I have search but not got a answer :-(
madshi
4th January 2009, 20:08
How come eac3to can't read from/work with .mkv files, even if it created it?
Because reading is not the same as creating.
I just want to say Fan-Friggen-Tastic work with eac3to... it's plain awesome, never fails me [...]
Do you have a paypal account that i could donate to say thanks for your time and effort?
Thank you. Right now there's no way to donate. Maybe I'll make that available later...
First time to demux a HD-DVD
Is it ok to use this command
>eac3to h:\TEMP\MOVIE 1) -demux
And the take the files I want and add this to TsMuxer ?
Generally yes. However, TrueHD tracks will need special treatment. Please ask in the tsMuxeR thread about this. They'll help you there. Also HD DVD style E-AC3 tracks must be transcoded to another format (e.g. AC3 or DTS, whatever you prefer) to be Blu-Ray compatible.
Thank you for your efforts. However, I don't believe that relative phase is as essential as they claim for multi channel processing... IIRC the stereo mode of Waves SoundShifter just applies the mono algorithm on each channel.
This might be true. But I'm not really feeling good implementing something which might output inferior results... :(
Another thing: Is it possible to disable 2pass mode? I'm speeding up a large DTS file, and one pass takes nearly half an hour. I can accept a few clipped samples in this case.
Much better would be 32 or 64 bit floating point wave as output. Clipping would be a non-issue then.
You can use the "-full" switch, that turns off downsampling. The WAV file will then be stored in the native processing bitdepth (which when speeding up is 64bit floating point). However, 2pass mode will still be active. It will be faster that way, though, because eac3to will automatically detect that it doesn't have to decode the track and speed it up another time. It will just do another pass WAV -> WAV to remove the clipping. You can get a similar effect by using the "-2pass" option. That will store a temporary 64bit floating point WAV file and then in a 2nd step simply remove clipping and convert the WAV to 24bit PCM. Just try either "-full" or "-2pass" and use whatever you like more. I think the 2nd pass should be fast enough in both cases to not bother you, anymore.
piratburner
4th January 2009, 20:10
Generally yes. However, TrueHD tracks will need special treatment. Please ask in the tsMuxeR thread about this. They'll help you there. Also HD DVD style E-AC3 tracks must be transcoded to another format (e.g. AC3 or DTS, whatever you prefer) to be Blu-Ray compatible.
Thanks madshi :-) :-)
madshi
4th January 2009, 20:33
eac3to doesn't recognize this: [...]
That's because it's not a valid m2ts file. There are 128 garbage bytes at the beginning of the file. Or maybe it's half a TS block. Don't know. Remove the first 128 bytes with a hexeditor, afterwards eac3to will detect it.
piratburner
4th January 2009, 22:12
making DTS track
As default is Surcode DTS Encoder but I also have DTS Pro Encoder installed. I have searched but no luck , how to tell eac3to to use this instead ? or wich DTS encoder is the best to use for DTS?
rica
4th January 2009, 22:49
That's because it's not a valid m2ts file. There are 128 garbage bytes at the beginning of the file. Or maybe it's half a TS block. Don't know. Remove the first 128 bytes with a hexeditor, afterwards eac3to will detect it.
No,
C:\>clip\clip C:\users\rica\desktop\test\CD_out.m2ts C:\users\rica\desktop\test\cd_out_cut.m2ts 130 74000000
C:\>eac3to\eac3to C:\users\rica\desktop\test\cd_out_cut.m2ts
The format of the source file could not be detected.
PDVD,TMT and MediaInfo works with both files.
madshi
4th January 2009, 22:56
how to tell eac3to to use this instead ? or wich DTS encoder is the best to use for DTS?
I guess the DTS Pro Encoder is probably better. eac3to can currently not automate it, but you can ask eac3to to produce a "something.agm" file. This is the file format the old DTS Pro Encoder needs. The latest DTS Master Audio Suite eats WAV just fine, AFAIK. So if you have that, just output WAV.
clip CD_out.m2ts cd_out_cut.m2ts 130 74000000
:confused:
rica
4th January 2009, 23:13
I
:confused:
Me too :confused:
madshi
4th January 2009, 23:19
@rica, are you trying to annoy me? Do I really have to waste another post on telling you that "128" and "130" are different numbers?
rica
4th January 2009, 23:26
Thanks my friend, sorry for annoying you; forget it.
laserfan
4th January 2009, 23:33
Actually we were hoping to see from you: "I trimmed the front-off as you suggested madshi and it worked." ;)
rica
4th January 2009, 23:42
Nobody offered me to cut the file bit by bit so as to make his soft work;
check this approach: (same test file)
http://forum.doom9.org/showthread.php?p=1232096#post1232096
This was my last word here, thanks.
DrNein
5th January 2009, 15:59
When using the delay option to sync a new AC3 track, should it be entered as-is or rounded to the nearest block (32 divisor)? For instance, if the difference determined by visual comparison is +1064ms should that be entered or rather +1056?
That may seem trivial but I want to understand how it works and the ideal method.
rebkell
5th January 2009, 17:05
When using the delay option to sync a new AC3 track, should it be entered as-is or rounded to the nearest block (32 divisor)? For instance, if the difference determined by visual comparison is +1064ms should that be entered or rather +1056?
That may seem trivial but I want to understand how it works and the ideal method.
I've asked the same basic question in the past and answer is that Madshi will pick the closest match he can get with the audio frame he can, if you selected 100ms delay with a 48KHz AC3 he would actually insert 96ms if you selected a 50ms delay he would choose to add 64ms delay...
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.