View Full Version : eac3to - audio conversion tool
rica
12th October 2008, 18:33
I don't understand also why you don't understand?
The question was, as a demuxer, finding an answer to the investigation of the advantages of eac3to over TSMuxer.
If any?
As a direct remuxer, after all those investigations TSMuxer seems more advantageous? _if you don't demux.
As a demuxer eac3to is the winner in this case?
note: Frank, thanks btw.
EDIT: Guys, please tell me if i have to correct my post here?
http://forum.doom9.org/showthread.php?p=1192816#post1192816
flyingernst
12th October 2008, 19:30
ok, last problem solved...new one:
First:
- I have a ATi48XX with 7.1 Onlyo TX-SR805. The Driver-Channeltest is correctly mapping.
- the informations how much channels the source has comes from the ffdshow audio filter:
- eac3to is converting 5.1 dts in a 7.1 Flac with 2 quiete channels
- eac3to is converting 6.1 dts-es flac in a 7.1 Flac (with 2 same back channels)
- eac3to with option "-down6" is converting 6.1 dts-es flac in a 7.1 Flac with 2 quiete channels (like 5.1, same mapping)
- for this test I play my mkv with MPC-HC, Channel-remapping is off, AudioRenderer is ffdshow with "mixer" acticated to 3/2/2 (8 Channel) + LFE
In my TEstfile there are 3 Audio Files:
1) 7.1 FLAC Stream made off the 6.1 DTS-ES Stream (converted without options)
2) original 6.1 DTS-ES Stream
3) "5.1" FLAC Stream (converted without "-down6" option)
If I play the Video (compared only the first few seconds) with
Audio 1) is playing the violin music in the sides, Backsurrounds are nearly quiete (ignore sizzling through converting)
Audio 2) (ORIGINAL FILE/STREAM) is playing the violin music in the sides, Backsurrounds are nearly quiete, like Audio 1)
Audio 3) is playing the violin music in the Backsurrounds, sides are complete quiete (ignore sizzling through converting)
The Problem is:
A 5.1 Surround System consits off Front / Center / Surrounds(also called sides today)
A 7.1 System has additional Backsurround Speakers used in EX/ES Audio (standing at the back wall positioned left and right of the middle of the wall, not on the corner)
http://http://www.thx.com/home/setup/img/dolby.jpg (red ones in the picture)
So a 5.1 File should play in the sides(Surrounds) and a 7.1 File additional in the Backsurrounds.
Now the Problem: Look at my test, the 5.1 FLAC File playes in the Backsurround.
My fix until now (to get every Source playing like it should):
- further using the ffdshow decoder
- no using of remapping tool in MPC-HC
- When Iīm playing original 5.1 Files, I set the ati to 5.1 - so all 5.1 sources play fine
- When Iīm playing original 7.1 Files, I set the ati to 7.1 - so all 7.1 sources play fine
Is there no way to let 7.1 always activated withoud swapped channels?
and now, who is wrong? me? my Flac Decoder? eac3to?
http://rapidshare.com/files/153354718/testvideo.mkv.html
Greetings, Michael
PS: For me it seams that DTS has changed its configuration of channels...I donīt understand it right
nautilus7
12th October 2008, 19:39
now, who is wrong? me? my Flac Decoder? eac3to?
Microsoft!
They have introduced new channel masks with windows xp sp2 which resulted in chaos.
Newer hardware (like yours - ATI) use the new channel mask, while most audio software the older. madshi, while thinks he should follow the newer masks, he hasn't made that changes to eac3to and madflac, for backwards compatibility sake.
madshi
12th October 2008, 19:46
- eac3to is converting 5.1 dts in a 7.1 Flac with 2 quiete channels
No, it doesn't, unless you ask it to. Or unless there's a new bug in eac3to.
- eac3to is converting 6.1 dts-es flac in a 7.1 Flac (with 2 same back channels)
No, the newer builds don't, unless you ask them to. Or unless there's a new bug in eac3to.
- eac3to with option "-down6" is converting 6.1 dts-es flac in a 7.1 Flac with 2 quiete channels (like 5.1, same mapping)
No, it doesn't, unless you ask it to. Or unless there's a new bug in eac3to.
Now the Problem: Look at my test, the 5.1 FLAC File playes in the Backsurround.
That's probably a bug either in Windows or in your audio driver. For 5.1 FLAC files eac3to tells Windows that it's a 5.1 track and Windows is supposed to send the channels to the right speakers. If it doesn't, there's not much I can do about it. *However*, there are 2 different ways to tell Windows that it's a 5.1 track and I'm planning to let madFlac behave different in the next madFlac build. Either way, even if that fixes the problem for you, it's not my fault to begin with.
madshi
12th October 2008, 19:47
madshi, while thinks he should follow the newer masks, he hasn't made that changes to eac3to and madflac, for backwards compatibility sake.
Actually I did change the eac3to channel masks 2 or 3 releases ago. No problems reported until now. madFlac still uses the old masks, though.
nautilus7
12th October 2008, 19:50
Oh sorry! :o
Must have forgotten it.
madshi
12th October 2008, 19:51
eac3to v2.67 released
http://madshi.net/eac3to.zip
* information about HDCD and real bitdepth is now stored into FLAC metadata
* information about real bitdepth is now read from FLAC metadata
* PTS break: PTS is increased by 1 frame (fixes some false overlap warnings)
* fixed: video gap log text was sometimes not correct (runtime information)
* added undocumented switch "-neroaacenc="c:\whatever\neroaacenc.exe""
* error log messages are now output to stderr instead of stdout
* improved "which mkvtoolnix is currently installed?" check
* fixed: mkvtoolnix version check "Oct" date was not interpreted correctly
flyingernst
12th October 2008, 20:19
No, it doesn't, unless you ask it to. Or unless there's a new bug in eac3to.
No, the newer builds don't, unless you ask them to. Or unless there's a new bug in eac3to.
No, it doesn't, unless you ask it to. Or unless there's a new bug in eac3to.
That's probably a bug either in Windows or in your audio driver. For 5.1 FLAC files eac3to tells Windows that it's a 5.1 track and Windows is supposed to send the channels to the right speakers. If it doesn't, there's not much I can do about it. *However*, there are 2 different ways to tell Windows that it's a 5.1 track and I'm planning to let madFlac behave different in the next madFlac build. Either way, even if that fixes the problem for you, it's not my fault to begin with.
You are right. 7.1 gets 7.1, 6.1 gets 6.1 and 5.1 gets 5.1...sorry I now decoded and checked with madFlac 1.8 in MPC-HC...seems ffdshow got te wrong information (showd always 8-channel)
sadly I canīt play the 7-channel FLAC from my testfile with madflac decoder in MPC-HC. Same problem is with X-Men 3 6.1 DTS-HD which I converted to flac. Only ffdshow can play the 6.1 flacs
So I made the test-row with mad flac/7.1 Ati Setting/no channelremapping in MPC-HC
With this setting the Realtek Channel test plays every speaker like it should/P-DVD Playes 5.1 sources in the surrounds(sides)/the microsoft 8-channel wav playes like it is spoken
but
Audio 2) with 6.1 DTS-ES Stream (streamed through HDMI/SPDIF) playes like it should
Audio 3) with 5.1 FLAC playes through the Backsurrounds instead of the surrounds
Audio 1) (6.1 FLAC) is not playable
Greetings Michael
PS: Microsoft Channel Test wavs: http://www.microsoft.com/windows/windowsmedia/howto/articles/Multichannel.aspx#link6
quanit is:
the 8-channel test says "Front L / center / Front R / side L / back L / Back R / side R / Subwoofer" so everything is said and played right
the 6-channel test says "Front L / center / Front R / back L / Back R / Subwoofer" and get also played in the called channels...but microsoft things a 5.1 setting has backs instead of sides...
madshi
12th October 2008, 20:25
Audio 3) with 5.1 FLAC playes through the Backsurrounds instead of the surrounds
I've already replied to that.
Audio 1) (6.1 FLAC) is not playable
Not my fault. Might depend on the audio renderer.
Further madFlac discussion please in the madFlac thread.
flyingernst
12th October 2008, 20:46
EDIT: wrote to madflac Forum
nautilus7
12th October 2008, 21:13
Ive been dealing with some 44,1KHz audio the last few hours and noticed that eac3to always detects RAW 44,1KHz as 48KHz (at least for 5.1ch). I know how this automatic detection works and that it's not 100% accurate, but i wonder if anything can be done about this.
madshi
12th October 2008, 21:27
It is nearly impossible (at least for me) to programatically detect the samplerate of raw/pcm audio.
odin24
12th October 2008, 22:48
Try renaming one of the VPLST files to VPLST000.XPL.
I tried that before posting, it didn't work. Although it did help a little with EVOdemux, I was able to view chapter points and other data, but not stream information, and still unable to demux with eac3to and EVOdemux.
flyingernst
12th October 2008, 22:57
EVO, 2 video tracks, 4 audio tracks, 8 subtitle tracks, 2:20:02
1: Joined EVO file
2: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
3: VC-1, 480p30 /1.001 (3:2), 100ms
4: E-AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB, 100ms
5: E-AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB, 100ms
6: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, 200ms
7: E-AC3, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 100ms
I am converting alle audio files with nero to flac. Will I have to set the delay to 100ms while muxing with MKVmerge or is the delay alreasy in the FLac-File?
(Sorry for asking so much)
EPiPH0NE
13th October 2008, 07:49
^^^Eac3to will handle delay automatically :)
madshi
13th October 2008, 08:24
I tried that before posting, it didn't work. Although it did help a little with EVOdemux, I was able to view chapter points and other data, but not stream information, and still unable to demux with eac3to and EVOdemux.
Then double check whether the feature*.evo files on your harddisk have the same name as that listed in the VPLST000.XPL file.
odin24
13th October 2008, 14:32
Then double check whether the feature*.evo files on your harddisk have the same name as that listed in the VPLST000.XPL file.
I'm not sure what I did... but I did it... sort of. EVOdemux can work with it, but still not eac3to.
Actually what I did was renamed the VPLST001.XPL to 000.XPL, and the the FEATURE_|0.evo to FEATURE_0.evo, same with the second part.
Thanks for your help.
EDIT:I can just read the EVO files directly with eac3to, it just doesn't give me stream info, which is fine.
One other thing, eac3to reads the audio track as DTSHD-MA 7.1, tsMuxeR read the same as DTS 6 channels with HD data, is that the same?
svgame
13th October 2008, 21:08
Then double check whether the feature*.evo files on your harddisk have the same name as that listed in the VPLST000.XPL file.
Can you add new effect for the new version eac3to. make it can to separate TrueHD to MLP+AC3 two files,possible?
Thunderbolt8
13th October 2008, 21:18
eac3to v2.67 released
:thanks:
nautilus7
13th October 2008, 21:29
Can you add new effect for the new version eac3to. make it can to separate TrueHD to MLP+AC3 two files,possible?
If you mean to export truehd and ac3 as separate files, then use .thd or .ac3 as extension to get what you want. eac3to can't convert truehd to mlp.
rica
13th October 2008, 23:27
Hi guys,
I've made some trials with SD DVDs tonight but i don't know how to extract subtitles since they are not pgs?
madshi
14th October 2008, 08:23
I've made some trials with SD DVDs tonight but i don't know how to extract subtitles since they are not pgs?
SD DVD subtitles are currently not supported by eac3to cause I don't know in which format I should demux them...
madshi
14th October 2008, 08:24
eac3to v2.68 released
http://madshi.net/eac3to.zip
* fixed crash when transcoding Blu-Ray/HD DVD track to FLAC
Kurtnoise
14th October 2008, 08:24
SD DVD subtitles are currently not supported by eac3to cause I don't know in which format I should demux them...
sup or vobsub...:)
madshi
14th October 2008, 08:33
sup or vobsub...:)
Do you have a technical documentation of how to transform the subtitle data of the SD DVDs into these formats? Because I don't know how to do that...
Kurtnoise
14th October 2008, 08:53
About Vobsub, you can check out these sources (http://www.digital-digest.com/software/download.php?sid=1051&ssid=0&did=3) (C++)...
and for sup format, there are SubtitleCreator (http://subtitlecreator.svn.sourceforge.net/viewvc/subtitlecreator/trunk/SUP.cs?view=markup) sources (C#).
Good luck. :)
madshi
14th October 2008, 09:11
That looks awefully complicated... :(
rica
14th October 2008, 16:51
What is interesting i can see them on bitmaps folder created by SUPRead as scaled to 720 (it's selected on options) when i extract them as *.sup via eac3to.
Edit:
Even DVDSubEdit can convert them to srt...
frogman
14th October 2008, 17:49
would be fine to have Nero9 working with eac3to.
Obviously Nero removed the Restrictions from their Decoders/Filters...they're working properly outside Showtime ,good for us
THX :)
Has madshi upgrade eac3to support Nero 9 yet, as I understand it Nero new aac encoder/decoder are now open in directshow filter system.
When I do a eac3to -test I get the simple error of use Nero 7. I have Nero 9 with BR plug-in installed and registered so I can't go back to Nero 7. Perhaps some one from Nero Tech rep could official clarify this.
Ps. How does one go about registering the these filter manually or is there a link out there with guide for the blind. Back to google.:thanks:
xkodi
14th October 2008, 18:17
Ps. How does one go about registering the these filter manually or is there a link out there with guide for the blind. Back to google.:thanks:
on the command prompt run:
regsvr32 "C:\Program Files\Nero\Nero 9\Nero ShowTime\SMC\NeSplitter.ax"
regsvr32 "C:\Program Files\Nero\Nero 9\Nero ShowTime\SMC\NeAudio2.ax"
then you can use the Nero 9 filters in GraphEdit. i believe that eac3to still doesn't recognize the Nero 9 filters.
p.s. IMHO Nero filter (all of them 7,8 and 9) are not important anymore and are useless, because:
- they don't decode DTS-HD and DTS-HD MA (decode the DTS core only)
- TrueHD libav decoder is perfect
- E-AC3 decoder of Arcsoft produce the same reference output as Nero filters and supports 7.1 channels, AFAIK Nero filters are limited to 5.1
so, better support for Arcsoft E-AC3 filter than Nero 9 filters, not to mention that Nero 9 installation is over 1 GB, which is ridiculous for me.
nautilus7
14th October 2008, 19:31
- E-AC3 decoder of Arcsoft produce the same reference output as Nero filters and supports 7.1 channels, AFAIK Nero filters are limited to 5.1
Good to know that. Thanks.
rica
14th October 2008, 21:15
Extracted by eac3to as sup and converted to srt by DVDSubEdit: (Original is SD DVD)
Compare them zooming the pictures:
Original DVD:
http://img442.imageshack.us/img442/2328/originalxi9.th.png (http://img442.imageshack.us/my.php?image=originalxi9.png)
converted to srt:
http://img442.imageshack.us/img442/448/srtes3.th.png (http://img442.imageshack.us/my.php?image=srtes3.png)
Zoom:
original:
http://img160.imageshack.us/img160/4170/orgzoomxq0.th.png (http://img160.imageshack.us/my.php?image=orgzoomxq0.png)http://img160.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
srt: (even zoom is larger than the original)
http://img442.imageshack.us/img442/1752/srtzoomaq5.th.png (http://img442.imageshack.us/my.php?image=srtzoomaq5.png)
MichaelAnders
14th October 2008, 21:36
madshi: Some of the BD's I am backing up to HDD have errors it seems, I am getting the "sync byte missing" error for audio and video stream (same error described on page 238 already in this thread).
Xport, as already mentioned in this thread, can demux these properly - it finds the errors, but doesnt stop and instead just ignores them. Would it be possible to add something like "skip errors" to eac3to as well? For me these are just a few frames that are corrupt, I can really do without those :)
Xport is a huge hazzle to use, I think eac3to is far better here especially due to FLAC encoding :D
magic144
14th October 2008, 22:32
@madshi, @MichaelAnders
I had the same issue (exact same category - sync byte error I believe) way back when once myself on a brand new disc - I can only assume an authoring error??!
In any event, I had to use tsMuxeR to extract the audio - it also complained, but finished...
the audio in question sounded fine - perhaps eac3to could indeed have a "continue on error" function (perhaps just for very specific classes of error like this one in particular) and flag the timecode of the error for later user verification?
GZZ
14th October 2008, 22:49
yea - I had a movie with a DTS-HD MA audio track. I tried to extract the core of it. But got an error: This is not a clean stream, clean it up with delaycut. HOW can I clean up a track that I cant extract with the program that gives me the error. The DTS-HD MA track was inside a M2TS file, cant use delaycut on a M2TS track, so a -SkipOnError function would be nice, then I could extract the core and then correct it with delaycut. :)
rica
14th October 2008, 22:52
Why not to try a second pass guys?
Have you seen something like this:
The audio file was demuxed without making use of the gap/overlap information.
Please rerun the same eac3to command line. That will correct the gaps/overlaps.
note: I've given up using guis since two/three months.
GZZ
14th October 2008, 23:01
thats not the error I get (dont use GUI) for eac3to. Just the error that my track isnt clean.
rica
14th October 2008, 23:03
Did you use command line or a gui? (you say it wasn't a gui)
If you used command what was your log?
magic144
14th October 2008, 23:08
it definitely wasn't a gap/overlap message (I know how to run the 2nd pass for those!), and no, I wasn't using a GUI either
I don't have the specific log (anymore - to be honest I forget the eac3to version and the disc title even!) - but that sync byte error sounds very familiar. Perhaps MichaelAnders has his log?
I can/will provide a log here if/when I re-encounter such an error on a title...
rica
14th October 2008, 23:15
I think madshi would expect a log.
magic144
14th October 2008, 23:22
and a sample of the erroneous audio stream...
I was merely validating another user's experience with my own and asking the question from the point of view of the concept/feasibility of offering such an ignore/override flag
no big deal if this is all ignored for now, I will provide full details if and when I ever see the problem again
all I know is that I haven't seen it since (has been several weeks and many discs) and that eac3to command-line tool is a powerful instrument indeed :-)
rica
14th October 2008, 23:27
I really wonder how you can not regenerate the problem?
Or the others?
nautilus7
14th October 2008, 23:28
@ rica
Could you read more carefully and stop confusing people? It really doesn't harm doing it...
They describing their experience with damaged/corrupted m2ts files and you are talking about fixing gaps/overlaps over multiple m2ts files to correct audio/video sync.
rica
14th October 2008, 23:52
@ rica
Could you read more carefully and stop confusing people? It really doesn't harm doing it...
They describing their experience with damaged/corrupted m2ts files and you are talking about fixing gaps/overlaps over multiple m2ts files to correct audio/video sync.
@nautilus7
Yes, i admit i didn't read carefully but after understanding my fault i just wanted them to send the logs; that's it.
But i read carefully your bold lines as getting surprised?
kurt
15th October 2008, 07:33
got an error message regarding channel mixing:
eac3to v2.66
command line: eac3to track2.dts track2.ac3 -448
------------------------------------------------------------------------------
DTS-ES, 6.1 channels, 2:08:29, 16 bits, 1536kbps, 48khz
AC3 encoding only supports 6 channels. Will mix the surround channels.
Remapping channels...
Mixing surround channels...
The channel mixer received channels with different attributes.
Aborted at file position 16384.
Edit: v.2.68 didn't do the trick also....
bwana
15th October 2008, 19:21
Is there any place I should look in this 330 page thread to find out how to convert a blu-ray to a dvd format? I saw the part about how to make mkv files but i am confused as to how to go to a vob file.
tnx.
nautilus7
15th October 2008, 19:28
eac3to can't do that. You need to reencode the video. This isn't eac3to's job.
frogman
16th October 2008, 01:04
on the command prompt run:
regsvr32 "C:\Program Files\Nero\Nero 9\Nero ShowTime\SMC\NeSplitter.ax"
regsvr32 "C:\Program Files\Nero\Nero 9\Nero ShowTime\SMC\NeAudio2.ax"
then you can use the Nero 9 filters in GraphEdit. i believe that eac3to still doesn't recognize the Nero 9 filters.
Dam ...Alzheimer... I knew that...the Reg part anyways!
Thanks again for reminding me!
p.s. IMHO Nero filter (all of them 7,8 and 9) are not important anymore and are useless, because:
- they don't decode DTS-HD and DTS-HD MA (decode the DTS core only)
- TrueHD libav decoder is perfect
- E-AC3 decoder of Arcsoft produce the same reference output as Nero filters and supports 7.1 channels, AFAIK Nero filters are limited to 5.1
Can E-AC3 be down graded to just ac3 and if so, is the output .ac3. I guess for those without DD plus audio/video recievers.
E-AC3 output=pcm correct?
so, better support for Arcsoft E-AC3 filter than Nero 9 filters, not to mention that Nero 9 installation is over 1 GB, which is ridiculous for me.
Agree
"TrueHD libav decoder is perfect"
libav is part of mplayer is it not. I just installed that .dll in to my win/sytem32 directory...Is this correct? or due I have to install the complete mplayer for windows as well?
Thanks for the help!
Beastie Boy
16th October 2008, 07:45
libav is part of mplayer is it not. I just installed that .dll in to my win/sytem32 directory...Is this correct? or due I have to install the complete mplayer for windows as well?
Thanks for the help!
No need to install anything to decode with libav. Everything is included with eac3to.
ACrowley
16th October 2008, 10:26
so, better support for Arcsoft E-AC3 filter than Nero 9 filters, not to mention that Nero 9 installation is over 1 GB, which is ridiculous for me.
yes...you can install only Nero 9 Showtime ,should be need Discspace.. It works when youve Nero 7 and Nero 9 installed at the same Time. Theres no Conflict and eac3to can still use v7
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.