PDA

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

honai
31st July 2007, 02:40
Same here.

The "3dB Attenuation" is also an option in the encoder GUI, AFAIK it's for rear-channel attenuation.

I'm using 1.0.21, so ACrowley's version is probably newer. Or it's a different product than "Surcode DVD Pro".

ACrowley
31st July 2007, 09:40
Same here.

The "3dB Attenuation" is also an option in the encoder GUI, AFAIK it's for rear-channel attenuation.

I'm using 1.0.21, so ACrowley's version is probably newer. Or it's a different product than "Surcode DVD Pro".


I use Surcode DVD DTS Pro 1.0.23

I will Test it. But what i know surely is that changing the DynamicCompress Reg.Setting has no Effect!
The wave has same Peaks compared with DRC off encoded

@Madshi
You say in the Screenshot its -27db ? I dont know how to set the DialogN. Values with Registry (Hexa)Dezimal Values ?
Then i can Test it

madshi
31st July 2007, 10:18
You say in the Screenshot its -27db ? I dont know how to set the DialogN. Values with Registry (Hexa)Dezimal Values ?
Then i can Test it
Use Windows calc. Enter "-27", then switch to "Hex". You'll get 16 chars. Cut off the first 8. The last 8 chars is what you need to put into the registry.

d0ORk
31st July 2007, 10:21
When I updated to the newest eac3to.exe I'm getting this:

Q:\test>"D:\_eac3to\eac3to.exe" "Q:\test\sample-long.DD.stream.00.ea
c3" "Q:\test\sample-long.DD.stream.00.ac3" -448
E-AC3, 5.1 channels, 0:01:08, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.
The expected file size for 16 bit is 37,50 MB.
The expected file size for 24 bit is 56,25 MB.
The real file size is 0 Bytes.

I evodemuxed the sample-long.evo and two others now.

d0ORk
31st July 2007, 10:37
Is there a download source for the previous version of eac3to.exe ? That one worked for me

ACrowley
31st July 2007, 11:20
I made a Test with Surcode dts pro 1.0.23 and the DialogNorm Registry Settings.

http://img66.imageshack.us/img66/6021/sshot3mi9.th.png (http://img66.imageshack.us/my.php?image=sshot3mi9.png)

All dts are decoded to wave with Tranzcode 0.4b

Theres absolutly no difference when i change the RegistryValues fro Dialog Normalization
And not whne changing Dynamci Compress

So it has no Effect so far i can see

madshi
31st July 2007, 11:28
Maybe Tranzcode ignores these values? Does Tranzcode ignore DialNorm for AC3 decoding? I think ffdshow would be a good test decoder cause it executes DialNorm for AC3 decoding, IIRC.

Another useful test would be to check if those DTS files are bit wise identical or whether there are any bytes different. If the DTS files are 100% identical then no decoder on earth can output a different result for the 3 DTS files.

madshi
31st July 2007, 11:30
When I updated to the newest eac3to.exe I'm getting this:

Q:\test>"D:\_eac3to\eac3to.exe" "Q:\test\sample-long.DD.stream.00.ea
c3" "Q:\test\sample-long.DD.stream.00.ac3" -448
E-AC3, 5.1 channels, 0:01:08, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.
The expected file size for 16 bit is 37,50 MB.
The expected file size for 24 bit is 56,25 MB.
The real file size is 0 Bytes.

I evodemuxed the sample-long.evo and two others now.
Don't know why that happens. It seems to work for everybody else? Do you have the Blu-Ray/HD DVD plugin correctly licensed/registered? And are you using the latest Nero version?

tebasuna51
31st July 2007, 12:06
Maybe Tranzcode ignores these values? Does Tranzcode ignore DialNorm for AC3 decoding? I think ffdshow would be a good test decoder cause it executes DialNorm for AC3 decoding, IIRC.

Another useful test would be to check if those DTS files are bit wise identical or whether there are any bytes different. If the DTS files are 100% identical then no decoder on earth can output a different result for the 3 DTS files.

I test with SurCode DVD Pro DTS v1.0.23.

1) Initially i don't have "DIALOG NORMALIZATION" at register

2) With "DIALOG NORMALIZATION"=dword:ffffffe5 (-27)

3) With "DIALOG NORMALIZATION"=dword:ffffffe1 (-31)

the three dts are bit identical.

BTW, in encoder options I can only choose:

-Data Rate:
1536 -> "DTS BITRATE INDEX"=dword:00000001
768 -> "DTS BITRATE INDEX"=dword:00000002

-Sample Rate:
48000 -> "SAMPLING RATE"=dword:00000000
44100 -> "SAMPLING RATE"=dword:00000001

-Attenuate rear channels 3 dB:
Yes -> "SURROUND DOWNMIX"=dword:00000001
Not -> "SURROUND DOWNMIX"=dword:00000000

Exiton
31st July 2007, 12:08
Don't know why that happens. It seems to work for everybody else? Do you have the Blu-Ray/HD DVD plugin correctly licensed/registered? And are you using the latest Nero version?

Err... I updated eac3to and I'm getting the same error messages.

ACrowley
31st July 2007, 12:19
@madshi

Tranzcode applies no DRC..thats sure
But i think DialogNormalization ,as like as ffdhow

But with AC3 Filer the decoded dts are always at bit higher Peaks (a bit), SO ithink AC3 Filter applies no DRC, no Dialog Norm
However, these 3 Test Samples are identical with all decoders..no Effect when changing the Values in Registry

madshi
31st July 2007, 12:32
the three dts are bit identical.
Argh. Ok, thanks for testing!

Are you absolutely sure that DTS really knows Dialnorm at all? I rather doubt it right now. After a google search it seems to be that DTS doesn't have a Dialnorm like feature.

madshi
31st July 2007, 12:33
Err... I updated eac3to and I'm getting the same error messages.
Hmmm... Does GraphEdit.exe (renamed to Recode.exe) give out more than 0 bytes when doing "Nero Audio Decoder 2 -> Dump"?

ACrowley
31st July 2007, 12:48
Argh. Ok, thanks for testing!

Are you absolutely sure that DTS really knows Dialnorm at all? I rather doubt it right now. After a google search it seems to be that DTS doesn't have a Dialnorm like feature.


Madshi , im not sure
Look at here, its a Comparion from original dts Source decoded with all Decoders :
http://img123.imageshack.us/img123/42/46819065qo5.th.png (http://img123.imageshack.us/my.php?image=46819065qo5.png)
AC3 Filter has higher Levels..

This is a Comparions from AC3Filter Source with a Surcode reencode with -10db DialogNorm RegistryValue
http://img66.imageshack.us/img66/7116/84926638sa7.th.png (http://img66.imageshack.us/my.php?image=84926638sa7.png)

No difference.
When it would be possible to change DialogNorm via Registry for Surcode ,there must be a visible Difference

Read here (from Hardware Sound Processor)
http://www.hometheaterhifi.com/volume_4_3/meridiandts.html

DTS also does not have flags that support late evening listening (compression) or dialog normalization, while DD does.

Then it makes sense why Surcode output is identical with DRC/DialogN Reg.Values On or Off, and AC3 Filter is only a bit louder

Also i was wondering why honai told us his AC3 Tracks are louder as dts..it should be reversed.

honai
31st July 2007, 13:17
Also i was wondering why honai told us his AC3 Tracks are louder as dts

What I meant was that typically my receiver plays DD louder than DTS, but with the new eac3to the transcoded DTS tracks were louder than the same DD tracks from retail DVDs.

ACrowley
31st July 2007, 14:01
What I meant was that typically my receiver plays DD louder than DTS, but with the new eac3to the transcoded DTS tracks were louder than the same DD tracks from retail DVDs.

yes..i know
And i was only wondering why typically dts is always louder as ac3 :)
Ofcourse the decoding from eac3to 1.10 is "louder" now , because it preserves the full dynamics instead of older Version with full DRC/Dialog.
So your dts reencode has more dynamics/is louder too. I think a AC3 reencode from EAC3 is closer to the Source. Surcode isnt the best Encoder ....

d0ORk
31st July 2007, 14:07
It's working again.
I had to unpack the files all again and made sure that the old ones are overwriiten. Stupid error of me.

Err... I updated eac3to and I'm getting the same error messages.

tebasuna51
31st July 2007, 14:54
Argh. Ok, thanks for testing!

Are you absolutely sure that DTS really knows Dialnorm at all? I rather doubt it right now. After a google search it seems to be that DTS doesn't have a Dialnorm like feature.
Of course DTS have DialNorm and DRC like you can see in DTS Coherent Acoustics; Core and Extensions (http://webapp.etsi.org/action/PU/20021224/ts_102114v010201p.pdf) (pag. 14 and 17)

"Embedded Dynamic Range Flag V DYNF 1 bit
DYNF indicates if embedded dynamic range coefficients are included at the start of each sub-frame. Dynamic range correction may be implemented on all channels using these coefficients for the duration of the sub-frame."

"Dialog Normalisation Parameter/Unspecified V DIALNORM/UNSPEC 4 bits
...
The dialog normalization gain (DNG), in dB, is specified by the encoder operator and is used to directly scale the decoder outputs samples. In the DTS stream the information about the DNG value is transmitted by means of combined data in the VERNUM and DIALNORM fields (see table 5.22)."

Other question is if a encoder use these features.

madshi
31st July 2007, 15:24
Hmmmm... Thanks for the PDF, it's helpful, although a bit confusing. I'll do some more tests later when I have more time.

ACrowley
31st July 2007, 16:00
I Made more Tests.
The Surcode DTS Pro 1.0.23 Registry Settings for DialogNorm and DRC have no Effect

madshi
31st July 2007, 16:24
Ok, the next test would be to check which dialnorm value Surcode writes into its DTS encodes and to manipulate this value and see if it shows any effect with any decoders.

d0ORk
31st July 2007, 17:37
Is it possible to see a delay somewhere?
When I demux the Departed Trailer, Evodemux shows no delay. But when I encode and mux it to .mkv with MeGui the video/audio is async.

madshi
31st July 2007, 17:41
Is it possible to see a delay somewhere?
When I demux the Departed Trailer, Evodemux shows no delay. But when I encode and mux it to .mkv with MeGui the video/audio is async.
EvoDemux shows the timestamps (PTS) of the first video and audio packets. If they don't match, you can calculate the delay from that.

d0ORk
31st July 2007, 18:18
I still got a strange thing.
The source evo is 1min 8seconds. After evodemux the vc1 (I use that ending for the demuxed video) is 3min 10sec...

Rectal Prolapse
31st July 2007, 21:46
madshi, is it possible to have eac3to output a new DD+ track with dialnorm (and maybe DRC?) removed? It would be a great option for realtime playback of DD+ tracks without the step of conversion.

madshi
31st July 2007, 21:59
madshi, is it possible to have eac3to output a new DD+ track with dialnorm (and maybe DRC?) removed? It would be a great option for realtime playback of DD+ tracks without the step of conversion.
Removing the DRC information from the DD+ track would be theoretically possible, I think, but much harder than removing DialNorm. Removing DRC would mean parsing through the full DD+ structure, which is relatively complicated. And if there's a parsing bug, the DRC removing would destroy the DD+ track. Because of that I'd rather not do that. Removing Dialnorm is oh so much easier, because it's right at the beginning of each audio frame, so not much parsing is needed and there's no big danger for bugs. I could easily add an option to give out a modified DD+ track without DialNorm. Actually you can do that yourself already: Just ask eac3to to convert the DD+ track to e.g. "raw". Then during the decoding phase you can copy the "something.tmp.ddp" file. This temporary file is a full copy of the original DD+ track, just with DialNorm turned off.

But I have to say that defeating DialNorm alone doesn't make much sense, as long as DRC is still active, because DRC is the much worse problem.

Rectal Prolapse
31st July 2007, 22:01
Ah, thanks madshi! :)

For realtime playback, is Nero Audio Decoder the best solution right now?

Daodan
31st July 2007, 22:21
Sorry to interrupt this lenghty DRC/normalize talk, but does anyone know a method for decoding truhd from mt2s files? No splitter I have sees that (sonic, nero, cyberlink, etc). Only xport can demux but that doesn't help much as I don't think there is a filter source for that.

madshi
31st July 2007, 22:28
For realtime playback, is Nero Audio Decoder the best solution right now?
I think for realtime playback I'd use the Sonic one right now. It seems to be a bit less bad than the Nero one in terms of DRC. But maybe you should better use ShowTime or PowerDVD. That way you could get around DRC.

does anyone know a method for decoding truhd from mt2s files?
Haven't tried that yet cause I haven't run over a TrueHD Blu-Ray yet. But I know they are beginning to appear.

Daodan
31st July 2007, 22:37
Here's a piece: http://d01.megashares.com/?d01=2209572
Track 1 is 5.1 truhd. I found smth intersting with that, will post after a few more tests (I managed to get some sound out of it, but has some crackling in it).
Also Sonic demux sees the demuxed truhd with xport...only problem is that nero audio can't connect to that...

Rectal Prolapse
31st July 2007, 23:26
I read that Blu-ray TrueHD tracks have a DD5.1 640 kbps track interleaved with the TrueHD stream. It is NOT a core track, but a separate track.

madshi: Unfortunately, I have major PQ issues with PowerDVD, and showtime crashes on a lot of blu-ray titles. Oh well. I guess I'll stick with Sonic for now, or actually use eac3to for what you designed it for and mux my own. :)

Daodan
31st July 2007, 23:30
Yeah, that's probably why I manegd to get some sound. Having it interleaved sounds like a lol idea, why would they do that? Just because the crappy players don't support truhd?

ACrowley
1st August 2007, 09:03
Yeah, that's probably why I manegd to get some sound. Having it interleaved sounds like a lol idea, why would they do that? Just because the crappy players don't support truhd?

yeh...can be true

All Decoders decodes the 640kbps 2.0 AC3 so far i can see. Nero cant connect to it

MichalHabart
3rd August 2007, 17:41
Hello Madshi,
i still have the same problem converting pcm file to dts. But i finally find the problem, look:

D:\VOBs\!EAC3toAC3>eac3to.exe "D:\VOBs\Air Force One\bits0001.pcm" E:\English.dts -1536 -16
RAW, 5.1 channels, 2:04:34, 16 bits, 48khz
Convert the multi channel raw file to mono wav files. Please wait...
Convert the mono wav files to dts. Please wait...
Surcode sais/asks: "Invalid Wave File E:\English.L.wav.".
Surcode sais/asks: "Invalid Wave File E:\English.R.wav.".
Surcode sais/asks: "Invalid Wave File E:\English.SL.wav.".
Surcode sais/asks: "Invalid Wave File E:\English.SR.wav.".
Surcode sais/asks: "Invalid Wave File E:\English.C.wav.".
Surcode sais/asks: "Invalid Wave File E:\English.LFE.wav.".
Surcode sais/asks: "At least one valid source file must be specified to encode."
.
Pressing the Surcode "Encode" button didn't seem to work...
Pressing the Surcode "Encode" button didn't seem to work...
Closing Surcode...
Creating the DTS file failed. The multi channel wav files are valid, though.

It seems to me that he creates mono wav files in different location (in fact in same where source pcm file is) and then he is trying to find them somewhere else (where destination file should be). Can you please change it in eac3to?

madshi
3rd August 2007, 18:53
It seems to me that he creates mono wav files in different location (in fact in same where source pcm file is) and then he is trying to find them somewhere else (where destination file should be). Can you please change it in eac3to?
Yey, I'm glad we found the cause of the problem! :)

madshi
3rd August 2007, 18:58
eac3to 1.11 released

http://madshi.net/eac3to.zip

(1) bugfix: (L)PCM -> DTS encoding automation failed when source and destination folders differed
(2) added: new "-allowDnr" switch allows Nero's audio decoder to apply DNR
(3) added: new "-keepDialnorm" switch disables removal of E-AC3 dialnorm information

MichalHabart
3rd August 2007, 20:32
Yey, I'm glad we found the cause of the problem! :)

Me too and thanks for fast fix. Will try tomorrow :)

Edit: Now everything is working properly. Once again, thank you madshi for excellent work.

ACrowley
5th August 2007, 10:09
eac3to 1.11 released

http://madshi.net/eac3to.zip

(1) bugfix: (L)PCM -> DTS encoding automation failed when source and destination folders differed
(2) added: new "-allowDnr" switch allows Nero's audio decoder to apply DNR
(3) added: new "-keepDialnorm" switch disables removal of E-AC3 dialnorm information


(1) is DynamicRangeCompression ,right ?
Maybe short : DRC is more obvious ?

@Keymaker
No more Gui Versions ?

madshi
5th August 2007, 16:30
Ouch, why did I write "DNR"? I guess I was sleeping. Of course I meant DRC!! Will fix that in the next build.

madshi
6th August 2007, 00:09
eac3to 1.12 released

http://madshi.net/eac3to.zip

(1) The tools "flac.exe", "aften.exe" and "sox.exe" are now distributed in the eac3to zip to make your life a bit easier.
(2) Correct channel mapping for 7.1 LPCM tracks is default now.
(3) The new option "-down6" allows downconverting of 7.1 tracks to 5.1 (this option is activated by default for AC3 and DTS encoding).
(4) I'm shipping a modded "flac.exe" with eac3to now, which has no problems with 2GB file output, anymore!! As a result the flac encoding by eac3to should now be more or less perfect.
(5) Fixed a number of bugs.

Btw, those Blu-Ray soundtracks which say 6.1 LPCM are actually 7.1. Ok, two channels are identical, that's probably why the cover sais 6.1. But the LPCM track contains full audio data for 8 channels. So use the "-8" switch for 6.1 LPCM tracks.

SvT
6th August 2007, 00:19
I can read 5 more reasons to download this program !!!!!!!!!!!!!!

Thank you very much !!!!!!

ACrowley
6th August 2007, 07:45
@madshi

So is 1.12 a "full Vesrion" of eac3to ?
Or do we need all the older Files like the .pas Files etc ?

Nice work on flac.exe..i will test it

greets

madshi
6th August 2007, 08:08
So is 1.12 a "full Vesrion" of eac3to ?
Or do we need all the older Files like the .pas Files etc ?
It's a "full version". The pas etc files are the source code of eac3to, which is now in the sub folder "sources". You can delete this "sources" folder if you don't need/want to have the source code of eac3to. You should keep the other subfolders and files. Ok, you can delete sox, if you don't plan to downconvert anything from 24bit to 16bit. And you can delete the aften/flac sub folders, if you don't ever plan to use eac3to to encode ac3/flac.

ACrowley
6th August 2007, 10:43
ok, thx

On more suggestion, maybe you should note in eac3to.exe that Sonic Decoder will apply DRC and DialogNormalization, that you can only avoid it with NeroDecoders.
Sure, we here know it, but for other Users its more obvious

And, for bluray lpmc to wave , do i need still the -bluray parameter ?
Or works the Auto CHmapping for lpcm too ,as like as for eac3/TrueHD(when i want standard L=0 R=1 C=2 LFE=3 SL=4 SR=5 ) ?

EDIT:
Nice work!! lpcm24bit to flac 24bit works perfect! With Timeline and no 2gb Restriction!
Older eac3to Version outputs always a 24bit flac which was corrput8 to big, only noise) but now it works !

Ich wüsste nicht wo die encoder ohne deine Arbeit wären im HDDVD/Bluray Audio Sektor...weiter so!

madshi
6th August 2007, 10:58
On more suggestion, maybe you should note in eac3to.exe that Sonic Decoder will apply DRC and DialogNormalization, that you can only avoid it with NeroDecoders.
Sure, we here know it, but for other Users its more obvious
E-AC3 DialNorm is fully defeated by eac3to, doesn't matter which decoder you're using. But I should probably add a warning about DRC with Sonic's decoder, I agree.

And, for bluray lpmc to wave , do i need still the -bluray parameter ?
Or works the Auto CHmapping for lpcm too ,as like as for eac3/TrueHD(when i want standard L=0 R=1 C=2 LFE=3 SL=4 SR=5 ) ?
Channels should automatically be mapped correctly for every kind of input, unless you have a strange input. For Blu-Ray PCM I expect the data to be demuxed by xport or TsRemux, though. If you use the GraphEdit dump method to demux a Blu-Ray PCM track, you'll have to set different parameters in eac3to, e.g. endian will be "little" instead of big etc...

ACrowley
6th August 2007, 18:42
E-AC3 DialNorm is fully defeated by eac3to, doesn't matter which decoder you're using. But I should probably add a warning about DRC with Sonic's decoder, I agree.

Ah, Ok....sure ea3to "reverse" DialogN itselft...
Sonic Decoder outsinde eac3to applies starnge Mix of DRC and or DialogNorm+gain


Channels should automatically be mapped correctly for every kind of input, unless you have a strange input. For Blu-Ray PCM I expect the data to be demuxed by xport or TsRemux, though. If you use the GraphEdit dump method to demux a Blu-Ray PCM track, you'll have to set different parameters in eac3to, e.g. endian will be "little" instead of big etc...

Yes..works perfect

But thats not my Experience....All LPCM Tracks i have demuxed with SonicHDDemxuer/graphedit are working with BigEndian.
Shouldt eac3to detects autom wich Endian it is ?
When i set no Endian Switch the Output is ok

And your tweaked flac.exe...is it working only eac3to intern or can i use the 2gb workarounds outside eac3to ?

madshi
6th August 2007, 19:18
Sonic Decoder outsinde eac3to applies starnge Mix of DRC and or DialogNorm+gain
I'm quite sure it's no DialNorm with the later eac3to versions. But probably DRC + gain.

But thats not my Experience....All LPCM Tracks i have demuxed with SonicHDDemxuer/graphedit are working with BigEndian.
Strange. Well, that's just fine.

Shouldt eac3to detects autom wich Endian it is ?
I can try to add auto Endian detection.

And your tweaked flac.exe...is it working only eac3to intern or can i use the 2gb workarounds outside eac3to ?
Of course that tweaked flac.exe works just fine on its own, but I will not tell you that, because I want eac3to to gain world domination... :)

P.S: That said, I've fixed the *output* 2GB limitation. The *input* limitations are still valid. You can work around them by feeding flac.exe though stdin (that's what eac3to is doing), but it's not very comfortable to do that manually.

ACrowley
6th August 2007, 19:29
Ok thx
Yes ,youre Right. Sonic Output looks more like DRC+Gain, very bad

Ah, Ok...It works everytime for me because Big Endian is default and all my LCPM are Big Endian as i say even demxued with Graphedit
Autodetection would be nice.
I know that SonicHDDemxuer output should be little Endian..But its reversed, with little Endian i get garbage on 24bit lpcm
Maybe the older 4.2 Demxuer outputs little E.

And i was talking about flac "output limitation"

yonta
6th August 2007, 19:44
-down6 downconvert raw data from 8 to 6 channels
-down16 downconvert raw data to 16 bit
-96000 TrueHD output or PCM file is 96 kHz
-8 TrueHD output or PCM file is 8 channels
-16 TrueHD output or PCM file is 16 bit
-24 TrueHD output or PCM file is 24 bit (default)
-little PCM file is little endian
-big PCM file is big endian (default)


I have a 24bit-5.1ch-48kHz-big.endian lpcm file and I tried converting to a flac.
The info about the lpcm file is from the output of xport

LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 24
LPCM Audio Sample Rate = 48000

So, I figured I don't have to use any option above and used this simple command line.

eac3to "the.wild.LPCM24.pcm" "The.Wild.flac"

This is what eac3to says;
Tried to find out the bitdepth automatically, but the algorithm failed.
Please use either "-16" or "-24" to tell eac3to which bitdepth the source has.

probably auto-detection is default instead of "-16" or "-24"?

madshi
6th August 2007, 19:55
probably auto-detection is default instead of "-16" or "-24"?
True, auto detection is default. You'll have to specify "-24".

pyrates
6th August 2007, 20:01
Is it possible to convert truehd 8 channel from either inside an evo or demuxed to a pcm file and then I can use each3to to convert that to flac 7.1 audio file? I did try renaming the demuxed mlp file to .pcm but it only picks up the first 21-22 minutes of the movie instead of the full 2 hours worth which all the dolby digital plus tracks do. If I can somehow convert that truehd 8 channel track to pcm 7.1, then I can use each3to to convert it to a flac 7.1 audio file.

madshi
6th August 2007, 20:56
The Nero TrueHD decoder can only do 5.1. And the Sonic TrueHD decoder is totally unusable. So currently I don't see how you can decode all 8 channels of a 7.1 TrueHD track.

pyrates
7th August 2007, 03:50
I checked with Powerdvd Ultra and it can only decode Dolby TrueHD 5.1. So that can't be used either.

madshi
7th August 2007, 07:22
I checked with Powerdvd Ultra and it can only decode Dolby TrueHD 5.1. So that can't be used either.
Thanks for testing. Wasn't sure about that myself. However, PowerDVD only outputs 16bits, so it wouldn't have been the optimal solution, anyway.

ACrowley
7th August 2007, 17:32
I checked with Powerdvd Ultra and it can only decode Dolby TrueHD 5.1. So that can't be used either.


And PowerDVD can play eac3 ofcourse , but only in evo, as like as TrueHD only in evo

Nero/WindDVD8 can open/play single eac3 tracks, but truehd again only in evo, with nero.
With winddvd8 no Truehd possible (only fileinfo)

The_Keymaker
7th August 2007, 20:05
For Acrowley and others using EAC3toGUI, I will try and implement changes and release an updated GUI shortly.

I've been working on a WiFi remote for my HTPC and have not followed eac3to much lately.

It would help if Madshi could PM me OR briefly post a list of changes since the last revision of EAC3toGUI.

Regards,
The_Keymaker

pyrates
9th August 2007, 03:29
When using Nero audio decoders 7.10.1.0, I get this output:

eac3to.exe L:\Encoding\PEVOB_1_MERGED.DD+.stream.00.ddp L:\Encoding\movie.ac3 -640 -keepDialnorm -24
E-AC3, 5.1 channels, 1:48:32, 640kbit/s, 48khz, dialnorm: -27dB
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.
Exception EIntOverflow in Modul eac3to.exe bei 0001F6E6.
Integerüberlauf.

And eac3to just crashes with this output when I use sonic audio decoder 4.2.0:

eac3to.exe L:\Encoding\PEVOB_1_MERGED.DD+.stream.00.ddp L:\Encoding\movie.ac3 -640 -sonic -keepDialnorm -24
E-AC3, 5.1 channels, 1:48:32, 640kbit/s, 48khz, dialnorm: -27dB
Muxing eac3 file to raw. Please wait...

Faulting application eac3to.exe, version 1.12.0.0, time stamp 0x2a425e19, faulting module CinemasterAudio.dll, version 4.3.0.169, time stamp 0x466494c3, exception code 0xc0000005, fault offset 0x000efb73, process id 0x450, application start time 0x01c7da2b199021d5.

hanti
9th August 2007, 06:10
D:\dvdrip\eac3to\eac3to.exe D:\dvdrip\work\300\eac3.eac3 D:\dvdrip\work\300\output.ac3 -640
E-AC3, 5.1 channels, 1:56:33, 640kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
The file size of the raw file doesn't seem to fit.
pls help ;)

pyrates
9th August 2007, 07:25
.
pls help ;)

Use sonic audio decoder 4.2.0 instead and add -sonic to the command arguements when encoding, then it should work.

ACrowley
9th August 2007, 08:59
Use sonic audio decoder 4.2.0 instead and add -sonic to the command arguements when encoding, then it should work.

not recommned. With SonicDecoder you get full DRC+gain.

pyrates
9th August 2007, 09:17
not recommned. With SonicDecoder you get full DRC+gain.

Well that's how I got it to work. By default it uses the nero audio decoder.

ACrowley
9th August 2007, 11:50
Well that's how I got it to work. By default it uses the nero audio decoder.

simply the best is to use only NeroDecoder. No RDc and no DialogN= good :)

hanti
9th August 2007, 19:20
so i want to use nero but still getting this error :/

The file size of the raw file doesn't seem to fit.
i have even nero hd/bluray plugin ;)

madshi
9th August 2007, 19:39
Please wait for the next eac3to version. I think I will have the EIntOverflow problem solved there. However, I doubt that it will fix the problem with the unexpected raw file size. It seems there's something wrong with your Nero installation, I'd guess...

bullet_ballet
9th August 2007, 21:11
I must have the same problem with my install because I get the same error consistently. I don't have the HD plug-in, but I understand that's only necessary for TrueHD.

I might just have to call Ahead and try and get my money back.

ACrowley
10th August 2007, 09:49
I must have the same problem with my install because I get the same error consistently. I don't have the HD plug-in, but I understand that's only necessary for TrueHD.

I might just have to call Ahead and try and get my money back.


I would say Nero is necessary for EAC3 to, cause ist the only Way to keep the full Dynamcis

@hanti
Try to rebuild the Evo with only your desired Audio and run eac3to onto it . I think its only your Audio File

calinb
10th August 2007, 19:14
Thanks for the great tool, madshi! Would it be possible to add a -dtswav option? I get mkvmerge errors when I attempt to mux a .dts file but a dts .wav file works okay.

dts2wav.exe doesn't appear to handle 48k / 24-bit .dts files so adding it to my batch file won't help.

-Cal

Edit:
or perhaps the syntax

eac3to.exe <inputfile.xxx> <outputfile.wav> -1536

and

eac3to.exe <inputfile.xxx> <outputfile.wav> -768

could be supported to produce a dtswav output file. Curently, it results in an error.

"Bitrate "1536" is only allowed for DTS encoding."

squal
10th August 2007, 19:15
Don't know if this has been resolved somewhere in the thread but I had this problem and resolved it so I'm posting how I fixed it.

When trying to decode anything to wav (ddp or mlp) I got this:

E-AC3, 5.1 channels, 2:12:32, 640kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.

Finally I discovered the actual problem was the dtsac3source-full.ax file which was corrupted or something. I had the same exact version on another computer which I had downloaded a couple of weeks before. That one was working, I knew, so I unregistered the old one (don't know if this is necessary)...

regsvr32 /u C:\WINDOWS\system32\dtsac3source-full.ax

...got the new one, and it worked.

If your raw file is 0 bytes and then eac3to crashes, chances are this is your problem.

Get some new dtsac3source from some different mirror or download site, register it and try again. That worked for me.

The version I have is 1.0.0.1, BTW.

Hope this helps.

madshi
10th August 2007, 22:37
Would it be possible to add a -dtswav option? I get mkvmerge errors when I attempt to mux a .dts file but a dts .wav file works okay.
Ehm, now I'm confused. What is a "dtswav" file? Is it a wav file or a dts file or what? :confused:

madshi
10th August 2007, 22:39
Finally I discovered the actual problem was the dtsac3source-full.ax file which was corrupted or something.
That's interesting - thanks! I'm wondering why it happens in the first place, though, because eac3to by default doesn't even use the dtsac3source filter! The filter is only used if you use the "-orbitlee" switch or if the "Nero File Splitter" fails to work. Usually the Nero File Splitter should work just fine.

bullet_ballet
10th August 2007, 23:00
Thanks for the tip, squal. Unfortunately, I still can't get eac3to to work. I tried -orbitlee switch and reinstalling, but nada. Here's hoping something good comes along.

Oh, and thanks for the tool, madshi. Hopefully I get to try it sometime.

tebasuna51
10th August 2007, 23:08
Ehm, now I'm confused. What is a "dtswav" file? Is it a wav file or a dts file or what? :confused:
Really WAV is a container and can contain PCM-uncompressed audio but also compressed audio mp3, dts, ...

Then a dtswav is a .wav file with a wav header continued by the dts stream.

In SurCode DTS v1.0.23 when you select Destination... -> Type you can choose betwen:

DTS Compact (.cpt)
DTS Padded (.dts)
DTS WAV (.wav)

calinb
11th August 2007, 01:33
Thanks for answering madshi's question, tebasuna51. Yes--Surcode allows the GUI user to specify the target file as a .wav file but the .wav contains DTS code rather than the more common PCM or, as you point out, other code.

The only other time I've used dtswav was when I played around with authoring a DTS audio CD. Using dtswav, it was possible to use conventional audio CD burning software--just burn the DTS .wav files like PCM .wav audio files. Now I'm interested in the dtswav format to cleanly mux DTS without errors or audio stuttering using mkvmerge.

The_Keymaker
12th August 2007, 07:53
New Version (v1.25) of EAC3toGUI. Download at:

http://www.sendspace.com/file/yagije

Change log for version 1.25:
- Added -allowDrc option
- Added -keepDialnorm option

As usual, place EAC3toGUI in the same directory as eac4to.exe and run. Alternatively, you can place it anywhere as long as you set the location of eac3to.exe using the "Settings" menu option. Please report any errors or suggestions.

@madshi:
if you like, you may want to consider establishing a permanent link for EAC3toGUI and putting it in the first post or distributing it with eac3to.

Regards,
The_Keymaker

Darth Pinous
12th August 2007, 09:05
Does anyone know a method for decoding truhd from mt2s files? No splitter I have sees that (sonic, nero, cyberlink, etc). Only xport can demux but that doesn't help much as I don't think there is a filter source for that.

I tried some things with a blu-ray trueHD track, but no luck so far.
The file demuxed by xport can't be imported in Scenarist (Scenarist sees it as an AC3 track and refused it because the bitrate is above 448Kb).

However, the file demuxed by xport is seen as a dolby trueHD track by Sonic HD Demuxer in graphedit. So I tried a dump with the graph FileSource(async) -> Sonic HD Demuxer-> Dump. The resulting file is a couple of Kb smaller, and still can't be imported in Scenarist, but the error is different : "Maximum frame size of MLP Audio file exceeds HD DVD limit.", so Scenarist sees it as a TrueHD track, but the file header is certainly wrong...

yonta
12th August 2007, 17:21
filename recognition problem:

command line and eac3to output is;
eac3to.exe f:\innocence.LPCM16.pcm f:\innocence.ac3 -640 -16
RAW, 5.1 channels, 0:01:20, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version SVN - r552
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

error opening input file: f:\innocence.wav
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.

Aften is looking for "innocence.wav" but this file doesn't exist.
the wav file eac3to created is in fact "innocence.LPCM16.wav".

dade49
13th August 2007, 09:45
filename recognition problem:

I see this problem as well. There is an error in eac3to that is sending aften.exe the filename of the output.wav. eac3to is creating the filename as source.wav, so the file doesn't exist.

eac3to.exe LPCM.pcm audio_640k.ac3 -640 -16
RAW, 5.1 channels, 1:37:08, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version SVN
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

error opening input file: audio_640k.wav
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.

The wav file created is named LPCM.wav in this case. Aften is being fed the wrong filename from eac3to.

As always Madshi, thanks for all your work. I hope to see ver 1.13 soon with this bugfix.

-Dade

big-guy
13th August 2007, 20:57
I am ripping a Blu-Ray movie and am encountering a problem.
There are 3 tracks included: Japanese TrueHD 5.1 (DD5.1 Core), LPCM 2.0 and English DD+ 2.0.
As you can see only the first track is usefull...
Is there any way I can transcode a Dolby TrueHD track from a Blu-Ray disc? I've read that with Blu Ray streams the TrueHD stream has a normal AC3 stream at probably 640kbps weaved in (Like with DTS-HD). Does anyone here know, how I can do that with a TrueHD track?

Thanks.

madshi
14th August 2007, 21:08
Really WAV is a container and can contain PCM-uncompressed audio but also compressed audio mp3, dts, ...

Then a dtswav is a .wav file with a wav header continued by the dts stream.

In SurCode DTS v1.0.23 when you select Destination... -> Type you can choose betwen:

DTS Compact (.cpt)
DTS Padded (.dts)
DTS WAV (.wav)
Ah, thanks!

Would it be possible to add a -dtswav option? I get mkvmerge errors when I attempt to mux a .dts file but a dts .wav file works okay.
I'd prefer if Mosu could fix mkvmerge. However, I've just tried muxing a DTS file encoded by eac3to/Surcode with mkvmerge and it works perfectly fine for me. If all else fails, I can of course add dtswav support.

madshi
14th August 2007, 21:09
@madshi:
if you like, you may want to consider establishing a permanent link for EAC3toGUI and putting it in the first post
Done.

madshi
14th August 2007, 21:10
filename recognition problem

I see this problem as well. There is an error in eac3to that is sending aften.exe the filename of the output.wav. eac3to is creating the filename as source.wav, so the file doesn't exist.

Fixed in latest version (see below).

madshi
14th August 2007, 21:11
Is there any way I can transcode a Dolby TrueHD track from a Blu-Ray disc? I've read that with Blu Ray streams the TrueHD stream has a normal AC3 stream at probably 640kbps weaved in (Like with DTS-HD). Does anyone here know, how I can do that with a TrueHD track?
I've just added this functionality to the latest eac3to version.

madshi
14th August 2007, 21:16
eac3to v1.13 released

http://madshi.net/eac3to.zip

(1) "eac3to src.ac3 dst.ac3" removes Dialog Normalization from AC3 files.
(2) "eac3to src.eac3 dst.eac3" removes Dialog Normalization from E-AC3 files.
(3) "eac3to src.thd dst.ac3" extracts the AC3 frames from a Blu-Ray TrueHD track and removes Dialog Normalization.
(4) some bugfixes

ACrowley
14th August 2007, 21:42
eac3to v1.13 released

http://madshi.net/eac3to.zip

(1) "eac3to src.ac3 dst.ac3" removes Dialog Normalization from AC3 files.
(2) "eac3to src.eac3 dst.eac3" removes Dialog Normalization from E-AC3 files.
(3) "eac3to src.thd dst.ac3" extracts the AC3 frames from a Blu-Ray TrueHD track and removes Dialog Normalization.
(4) some bugfixes

nice :)

Would be great when there would be a solution to remove DialogN on TrueHD..i know youve not enough Infos for TrueHD at the Moment

Is it now possible to decode AC3 with eac3to ?
Sure, its not so important because there are enough stable Methods to decode AC3 without DRC/DialogN

honai
14th August 2007, 22:14
@madshi

I just converted a TrueHD track from an .evo to mono WAVs. eac3to did not print any information about which decoder was used, and if DRC was removed. Is this behavior intentional? Am I to assume that Nero was used, and that all went fine?

madshi
14th August 2007, 23:36
Would be great when there would be a solution to remove DialogN on TrueHD..
Agreed!

i know youve not enough Infos for TrueHD at the Moment
That's true(HD).

Is it now possible to decode AC3 with eac3to ?
No.

Sure, its not so important because there are enough stable Methods to decode AC3 without DRC/DialogN
Right. And since eac3to can now remove dialnorm information from AC3 tracks, too, there should be even more stable methods. E.g. ffdshow should now work, too, I think.

madshi
14th August 2007, 23:38
I just converted a TrueHD track from an .evo to mono WAVs. eac3to did not print any information about which decoder was used, and if DRC was removed. Is this behavior intentional? Am I to assume that Nero was used, and that all went fine?
If you used eac3to v1.12 or v1.13, Nero is the default TrueHD decoder. DRC is not applied by Nero's current TrueHD decoder at all (as far as I can say). So there's nothing eac3to had to remove. You can assume that Nero was used and that all went fine.

Nikos
15th August 2007, 01:50
Usually i convert the .eac3 audio to 6 mono .wav and then i convert them to .ac3 with aften or vegas. I know that the Dialog Normalization value in a .ac3 file is essential.

My question:
Is there any method to find out the Dialog Normalization value of a .eac3 file and then put the same value in the final .ac3 file?

dade49
15th August 2007, 04:11
Removes Dialog Normalization from AC3 tracks.

Madshi,
This worked awesome on most of my AC3 tracks. I do have 2 examples where eac3to detected DialNorm, but it dumps out. EX:

C:\>eac3to.exe old.ac3 new.ac3
AC3, 5.1 channels, 1:48:07, 640kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...

C:\>

No new file is created. Is there a way to run eac3to in debug mode? If I send you a sample file, is there a certain size you want, and/or is there a specific frame size I should cut to? Do you want the beginning or the middle somewhere?

-Dade

calinb
15th August 2007, 08:24
I'd prefer if Mosu could fix mkvmerge. However, I've just tried muxing a DTS file encoded by eac3to/Surcode with mkvmerge and it works perfectly fine for me. If all else fails, I can of course add dtswav support.

Hmm--With .dts, I get a screenful of these warnings and stuttering playback. No problem with dtswav. I can certainly see what Mosu thinks about it.

Warning: dts_packetizer: skipping 3 bytes (no valid DTS header found). This might make audio/video go out of sync, but this stream is damaged.
Warning: dts_packetizer: skipping 3 bytes (no valid DTS header found). This might make audio/video go out of sync, but this stream is damaged.

madshi
15th August 2007, 08:33
Usually i convert the .eac3 audio to 6 mono .wav and then i convert them to .ac3 with aften or vegas. I know that the Dialog Normalization value in a .ac3 file is essential.

My question:
Is there any method to find out the Dialog Normalization value of a .eac3 file and then put the same value in the final .ac3 file?
Sure. When using eac3to to convert the eac3 audio to 6 mono wavs, eac3to will output the Dialog Normalization value of the eac3to track (see end of first line of output). However, are you sure that you want to put it back in to the AC3 file? Personally, I don't like dialnorm.

madshi
15th August 2007, 08:35
This worked awesome on most of my AC3 tracks. I do have 2 examples where eac3to detected DialNorm, but it dumps out. [...] No new file is created. Is there a way to run eac3to in debug mode? If I send you a sample file, is there a certain size you want, and/or is there a specific frame size I should cut to? Do you want the beginning or the middle somewhere?
If you want to do frame correct cutting, you can drop the track into delaycut. It will tell you how many bytes per frame that AC3 track is using. I'm not sure what I need. I'd suggest that you try copying the first 2MB into a new file. Then simply check whether eac3to fails on that. If yes, those 2MB will be plenty enough. Heck, even 500KB would be enough, as long as the little chunk makes eac3to fail.

madshi
15th August 2007, 08:36
Hmm--With .dts, I get a screenful of these warnings and stuttering playback. No problem with dtswav. I can certainly see what Mosu thinks about it.

Warning: dts_packetizer: skipping 3 bytes (no valid DTS header found). This might make audio/video go out of sync, but this stream is damaged.
Warning: dts_packetizer: skipping 3 bytes (no valid DTS header found). This might make audio/video go out of sync, but this stream is damaged.
Strange, I'm not getting this problem on my PC. Are you encoding with 768 or 1536? I'm always using 1536. Maybe that's the difference? Anyway, I think this is a job for Mosu to fix - unless the DTS file is really buggy.

ACrowley
15th August 2007, 10:22
Usually i convert the .eac3 audio to 6 mono .wav and then i convert them to .ac3 with aften or vegas. I know that the Dialog Normalization value in a .ac3 file is essential.

My question:
Is there any method to find out the Dialog Normalization value of a .eac3 file and then put the same value in the final .ac3 file?

"Dont" set it to the same Value for the reencoded AC3

Heres a little Discussiuon on this Thread a few Sites before
Conclusion about AC3 encoding :

Youve 2 Options

1. Encode with -31db DialogNorm. DRC Profiles "off"
http://forum.doom9.org/showthread.php?t=118759&highlight=sony+vegas
Keeps the VolumeLevels from Wavesource. You get the Full Dynamcis back", but not fully Dolby Compliant, nevermind

2. Measure the RMS Value from the Center Channel and set it for DialogNormalization "with" a DRC preset
http://forum.doom9.org/showthread.php?t=56020

I suggest Method 1

Zelos
15th August 2007, 12:08
MAdshi great job !

Something strange , i tried to extract english channel from bourne identity movie.
I get the wav which is about 1h58 if i believe eac3to.
When i tried to play it with a player i get a 35mins sound channel , even when i try to convert it to ac3 !

For people who had problemns with The file size of the raw file doesn't seem to fit.
It's a registration pb , buy a real serial , i just bought one on Ebay ( i precise a REAL one from an original box ) , and cost me 15€ ;)

madshi
15th August 2007, 12:42
Something strange , i tried to extract english channel from bourne identity movie.
I get the wav which is about 1h58 if i believe eac3to.
When i tried to play it with a player i get a 35mins sound channel, even when i try to convert it to ac3 !
The "wav" format can't really properly handle files > 2GB (or was it 4GB?). I guess that's the problem you're having. eac3to usually works around this problem. Some other software packages do that, too. But some do not. I recommend to directly recode the E-AC3 track to either AC3, DTS or FLAC with eac3to. This way you should get a proper result. If you want to use a different AC3 encoder, you'll have to find out how to make that AC3 encoder properly handle big "wav" files. Or maybe you can use 6 mono "wav" files instead of one big 5.1 file. That should help, too.

tebasuna51
15th August 2007, 13:28
The "wav" format can't really properly handle files > 2GB (or was it 4GB?).

The wav format can handle until 4 GB.

The limit is two fields with 4 bytes (to store filelength and datalength) only can support values until 2^32.

The 2 GB limit is a wrong soft than read/write these 4 bytes with signed int then the limit is 2^31 -> 2 GB, if the fields are read/write with unsigned int the soft can manage until 4 GB.

The workaround to support wav > 4 GB is ignore these two fields in wavheader and read until end of file. The only problem is if the wav file have extrachunks (some extra info) after the audio data, then are converted also to audio with final clicks.

Zelos
15th August 2007, 13:45
thanks for the help.
So the best way is to separate the channels then to mux them ?

Nikos
15th August 2007, 14:41
"Dont" set it to the same Value for the reencoded AC3

Heres a little Discussiuon on this Thread a few Sites before
Conclusion about AC3 encoding :

Youve 2 Options

1. Encode with -31db DialogNorm. DRC Profiles "off"
http://forum.doom9.org/showthread.ph...ght=sony+vegas
Keeps the VolumeLevels from Wavesource. You get the Full Dynamcis back", but not fully Dolby Compliant, nevermind

2. Measure the RMS Value from the Center Channel and set it for DialogNormalization "with" a DRC preset
http://forum.doom9.org/showthread.php?t=56020

I suggest Method 1

Thanks ACrowley for the reply. I had read the above threads. The method 1 is ok but in method 2 there is not an accurate way to measure the right Dialog Norm. value.

I wonter why you say "Dont set it to the same Value for the reencoded AC3", i suppose that the .eac3 file had the correct Dialog Norm value. Correct me if i am wrong.

madshi
15th August 2007, 14:45
I wonter why you say "Dont set it to the same Value for the reencoded AC3", i suppose that the .eac3 file had the correct Dialog Norm value. Correct me if i am wrong.
The problem is that many studios just leave the DialNorm value at their default setting. Because of that it is more or less useless IMHO.

madshi
15th August 2007, 14:47
So the best way is to separate the channels then to mux them ?
The best way to do what? You haven't really said what your final aim is.

madshi
15th August 2007, 14:48
The wav format can handle until 4 GB.

The limit is two fields with 4 bytes (to store filelength and datalength) only can support values until 2^32.

The 2 GB limit is a wrong soft than read/write these 4 bytes with signed int then the limit is 2^31 -> 2 GB, is the fields are read/write with unsigned int the soft can manage until 4 GB.
Yeah, that makes sense, thanks.

tebasuna51
15th August 2007, 15:17
thanks for the help.
So the best way is to separate the channels then to mux them ?

The best way depend of final format/encoder, if you use ac3/Aften or aac/NeroAacEnc you need use a wav multichannel > 4 GB and inform the encoder with -readtoeof 1 (for Aften) or -ignorelength (for NeroAacEnc)

Other format/encoders must need separated channels in monowav's.

kidbeach
15th August 2007, 16:46
looks like an awesome program, I'm going to check it out today...

a side note, graphedit doesn't come with dump.ax anymore I found it here:

http://www.apecity.com/tivo/dump.zip

Zelos
15th August 2007, 18:40
yes sorry.
The final aim is to obtain an AC3 file , the channel is in 5.1

Nikos
15th August 2007, 18:47
The problem is that many studios just leave the DialNorm value at their default setting.
Because of that it is more or less useless IMHO.

Thanks madshi for the explanation.

Zelos
15th August 2007, 18:50
The best way depend of final format/encoder, if you use ac3/Aften or aac/NeroAacEnc you need use a wav multichannel > 4 GB and inform the encoder with -readtoeof 1 (for Aften) or -ignorelength (for NeroAacEnc)

Other format/encoders must need separated channels in monowav's.

it works with the Aften command.
Thanks !
I checked on the website but this command doesn't exist.
Is there any way to choose a bitrate more than 448 kbps in Aften ?

madshi
15th August 2007, 19:04
it works with the Aften command.
Thanks !
I checked on the website but this command doesn't exist.
Is there any way to choose a bitrate more than 448 kbps in Aften ?
I don't understand. Why don't you simply use "eac3to source.eac3 dest.ac3"? This will reencode with Aften with 640kbps.

Zelos
15th August 2007, 19:25
I don't understand. Why don't you simply use "eac3to source.eac3 dest.ac3"? This will reencode with Aften with 640kbps.

Right madshi , i tried but i have an error at the end :Starting "aften" failed. A valid *.wav file was created successfully, though.

i tried with the last eac3to but still the same error.
I use the eac3 gui .

madshi
15th August 2007, 19:35
Right madshi , i tried but i have an error at the end :Starting "aften" failed. A valid *.wav file was created successfully, though.
I always need the full eac3to output.

Have you kept all subfolders as they are? Is there a subfolder named "aften" in your eac3to folder? And is there an "aften.exe" in that folder? Did you do anything to this file? E.g. replacing it with a different build or anything else?

Zelos
15th August 2007, 19:48
I always need the full eac3to output.

Have you kept all subfolders as they are? Is there a subfolder named "aften" in your eac3to folder? And is there an "aften.exe" in that folder? Did you do anything to this file? E.g. replacing it with a different build or anything else?
everything is inside and i have replace nothing

Zelos
15th August 2007, 20:52
ok , i erased all , and download again to decompress all the files in the right place.
That works fine !

Thanks for the help ;)

dade49
16th August 2007, 07:23
If you want to do frame correct cutting, you can drop the track into delaycut. It will tell you how many bytes per frame that AC3 track is using. [...]

Madshi,

I PM'd you 2 examples of AC3 files that crash eac3to when removing DialNorm. I still vote for a verbose switch so that more info is output on issues like this. Thanks for all the help, and the great utility.

-Dade

ACrowley
16th August 2007, 09:15
Thanks ACrowley for the reply. I had read the above threads. The method 1 is ok but in method 2 there is not an accurate way to measure the right Dialog Norm. value.

I wonter why you say "Dont set it to the same Value for the reencoded AC3", i suppose that the .eac3 file had the correct Dialog Norm value. Correct me if i am wrong.

Maybe you have mistaken something..
You, should not use the DialogNormValue from the AC3/EAC3 Source (if AC3 or EAC3), right.
Reencoding with -31db (dont care about Source Value) and "no" DynamicRange Profile will guarrante the Input Wave Volume Level with uncompresssed Dynamics.

But it has nothing to do with wrong EAC3 Input Values (by the Way,they are not wrong) :), its only a guideline for reencoding and nothing else :)

Ofcourse you can measure the RMS accurat enough. Just use the Center Wave with a Dialog Part . Use Adobe Audition and you will get a Value which is accurate enough to use it for DialogeNorm in your AC3 reencode .In this Case you have to use a DynamicRange Profile. Otherwise it makes no Sense.
As i say , its the full DolbyCompliant Method to encode AC3..

But i ,and most guys i know ( eac3to too) are using the -31db with no DRC Method. Its sounds best on my Receiver/Setup

@Madshi
I have a few eac3 Tracks ( FullMetalJacket HDDVD) with Problems when removing DialoNorm with eac3to. eac3 starts with removing DialNorm...and after a few seconds the whole Process stopps without Error Message. It works with DialNor enabled

madshi
16th August 2007, 09:24
In this Case you have to use a DynamicRange Profile. Otherwise it makes no Sense.
Why ?

ACrowley
16th August 2007, 10:32
Why ?
http://forum.doom9.org/showthread.php?t=56020

The following point, however, cannot be stressed enough: In order for the Dynamic Range Compression to work as designed, the Dialogue Normalization parameter MUST be properly set first!

I should better say "makes more Sense" .
When you want a Dolby Compliant AC3 ,use DRC .
But DRC needs a proper DialogNormlization Value = RMS calculated

When you use no DRC ,-31db is the Best Value to keep Wave Source Dynamic/Volume ( lange Rede lurzer Sinn, thats all what counts for me)
So why should i touch the -31db Value , "without" a DRC Profile. -31db makes "more Sense" because i dont change anything
There are these 2 Methods to reencode to AC3. Taker the one "or" the other Method...thats what i mean :)

PS
you know, my English is very bad an i cant say everything i want in english

madshi
16th August 2007, 11:00
The following point, however, cannot be stressed enough: In order for the Dynamic Range Compression to work as designed, the Dialogue Normalization parameter MUST be properly set first!
Yeah. So DRC needs DialNorm to be set correctly. But where is it written that DialNorm needs DRC to be set?

So why should i touch the -31db Value , "without" a DRC Profile. -31db makes "more Sense" because i dont change anything
Either you want DialNorm or you do not want it. If you want it, you tell the encoder to set it to the desired value. If you do not want it, you tell the encoder to set it to -31db. I don't see what DRC has to do with this.

There are these 2 Methods to reencode to AC3. Taker the one "or" the other Method...thats what i mean :)
Or take the third method which is to set a proper DialNorm value but not use any DRC. I don't see any reason why this shouldn't be used.

Well, personally I don't like neither DRC nor DialNorm. But I can understand if other people like DialNorm. So why forcing them to set DRC, if they only want DialNorm?

madshi
16th August 2007, 12:04
I PM'd you 2 examples of AC3 files that crash eac3to when removing DialNorm.
eac3to expects clean AC3 files. It aborts if there are errors in the AC3 file. The 2 examples you sent me were not clean. Please run them through besweet or delaycut to fix all the CRC errors etc. Afterwards eac3to will handle these files just fine.

Nikos
16th August 2007, 13:50
Thanks madshi and ACrowley for the explanations.

@madshi when i set a value of Dialog Norm. -27 db without DRC then the decoder simply attenuate the whole stream by [31 + (-27)] = 4 db.

I made a test with the audio from the "RIO Bravo" movie (.eac3 mono, -27 db Dial. Norm). I convert to mono .wav with eac3to.

eac3to without any parameter:
peek value --> -1.1 db, RMS value --> -28.2 db

eac3to with -keepDialnorm:
peek value --> -5.1 db, RMS value --> -31.4 db

eac3to with -keepDialnorm and -allowDRC:
peek value --> -9.4 db, RMS value --> -32.4 db

The above values taken from whole stream, not from a part. I use Sound Forge with "ignore sound below -45 db" and "use equal loudness contour".


@ACrowley "Just use the Center Wave with a Dialog Part" it's not enough. We must use several parts from Center Wave with Dialog only and calculate the average RMS because there are high volume Dialog parts and low volume Dialog parts.

madshi
16th August 2007, 14:02
@madshi when i set a value of Dialog Norm. -27 db without DRC then the decoder simply attenuate the whole stream by [31 + (-27)] = 4 db.
Correct. That's how DialNorm works... :)

tebasuna51
16th August 2007, 14:56
Just my opinion:

- DialNorm: is a tool to equalize volume from different sources. If you only listen ac3 sources is a valid option to maintain the volume control at same position. If you listen also modern CDA music, commercial TV, mp3, ... use DialNorm -31 dB (and maximize peak to 0 dB).

- DRC: useful in bad listen environment (neighbors, night, bad audio equipment, ...). Recommended, if your audio equipment is bad you need them, if is good you can disable/enable at your choice. Remember, the audio is equal encoded, only attenuation/gain values are added and the decoder can use or not.

yonta
16th August 2007, 16:07
eac3to generates a wrong wav file

source is 16bit 48khz 7.1ch Blu-ray lpcm and tried converting to ac3.

command line and output is:
F:\eac3to>eac3to f:\Innocence.pcm f:\Innocence.ac3 -8 -16 -down6
RAW, 7.1 channels, 0:01:00, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version 0.07
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

invalid RIFF id in wav header
invalid wav file: -b
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.

this wav file eac3to created crashes mpc.

mediainfo says;
Codec : PCM
Codec/Family : PCM
Codec/Info : Microsoft PCM
Bit rate : 6144 Kbps (should be 4608 Kbps?)
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits

madshi
16th August 2007, 17:15
eac3to generates a wrong wav file

source is 16bit 48khz 7.1ch Blu-ray lpcm and tried converting to ac3.

command line and output is:
F:\eac3to>eac3to f:\Innocence.pcm f:\Innocence.ac3 -8 -16 -down6
RAW, 7.1 channels, 0:01:00, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version 0.07
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

invalid RIFF id in wav header
invalid wav file: -b
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.

this wav file eac3to created crashes mpc.

mediainfo says;
Codec : PCM
Codec/Family : PCM
Codec/Info : Microsoft PCM
Bit rate : 6144 Kbps (should be 4608 Kbps?)
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits
Thanks for the information. I've checked and the "-down6" option results in some fields being set incorrectly in the wav header. I'll fix that in the next build. In the meanwhile you could try using the Aften build that ships with eac3to instead of 0.07. I'm not sure if the older Aften build ignores the incorrect wav header but there have been cases before where the older Aften build worked fine where Aften 0.07 failed.

yonta
16th August 2007, 17:35
In the meanwhile you could try using the Aften build that ships with eac3to instead of 0.07. I'm not sure if the older Aften build ignores the incorrect wav header but there have been cases before where the older Aften build worked fine where Aften 0.07 failed.

same thing happens with the Aften build in eac3to.zip.
rev.561 of Aften does create a file which is just stereo@640k and produces only noise.

madshi
16th August 2007, 18:13
Ok, thanks, will upload a fixed build later.

ACrowley
16th August 2007, 19:21
yes Madshi, ofcourse youre right...its reversed. DRC makes only Sense with proper Dialnorm. As written in the Guide
My Post was very vague and i dont force anybody to anything

@Nikos..i know :) When its a full lengt Track you cant use only a small Part.

However.. i dont use DRC and no DialNorm.. i encode with -31db ( -31db +31db = attenuate 0db) and no DRC Profile

Nikos
16th August 2007, 20:04
However.. i dont use DRC and no DialNorm.. i encode with -31db ( -31db +31db = attenuate 0db) and no DRC Profile
I agree the optimal solution.

One more question:
If one ac3 file has Dialog Norm. and DRC, the software ac3Filter bypass them or not?

honai
16th August 2007, 20:21
DRC can be enabled/disabled in AC3Filter. Don't know about Dial.Norm.

Nikos
16th August 2007, 21:39
DRC can be enabled/disabled in AC3Filter. Don't know about Dial.Norm.
This is another thing.
I mean if the ac3Filter can bypass the Dialog Norm. and DRC written as metadata inside the ac3 stream.

honai
16th August 2007, 21:46
This is another thing.
I mean if the ac3Filter can bypass the Dialog Norm. and DRC written as metadata inside the ac3 stream.

No, it's not, it's precisely the answer to your question. ;)

The DRC option in AC3Filter allows for respecting or ignoring the DRC data in the AC3 stream.

If you set AC3Filter to passthrough AC3 to an external receiver of SPDIF then the receiver (or your hand at the remote control) decides whether DRC should be applied.

tebasuna51
16th August 2007, 22:12
IOne more question:
If one ac3 file has Dialog Norm. and DRC, the software ac3Filter bypass them or not?

I don't know DialNorm (is not a problem a fix attenuation), but, in accordance with my test, the DRC values in ac3 stream are bypassed and ac3filter apply a owner function to make the DRC.

This kind of function can be applied for any source, not only ac3, and is a better solution than ac3 DRC but require more resources, is not habitual in receivers or standalone players.

tebasuna51
16th August 2007, 22:38
yes Madshi, ofcourse youre right...its reversed. DRC makes only Sense with proper Dialnorm. As written in the Guide
My Post was very vague and i dont force anybody to anything
Of course anybody can do anything, but "DRC makes only Sense with proper Dialnorm" ???

The values of DRC are modified by DialNorm but the concept is absolutely different:

DialNorm try to normalize all the sources at same level (dialogs at -31 bB), ... but is a lose battle, the others formats go 10 dBs upper.

But DRC is a help for some situations. The ideal solution is, like I say in precedent post, the player make the function at player time, but waiting for this solution we can use ac3 DRC, not necessarily with DialNorm.

ACrowley
16th August 2007, 23:44
When i have have mistaken something ,ok no Problem.
I can only read the Guide ,where you can find for "AC3 encoding"

The following point, however, cannot be stressed enough: In order for the Dynamic Range Compression to work as designed, the Dialogue Normalization parameter MUST be properly set first

When its wrong....nevermind. THX for the Infos. But No need to correct me with fat black letters
I dont care...as i say i dont use DRC in encoding/decoding

big-guy
16th August 2007, 23:56
I've just added this functionality to the latest eac3to version.

Thank you very much :D.
Keep up the great work :p.

Nikos
17th August 2007, 00:41
Thanks all for the helpfull informations.
You are very illustrative.
I feel happy!!!

tebasuna51
17th August 2007, 01:10
But No need to correct me with fat black letters

Sorry, really I want support your previous comments about don't care the Dolby specs.

My option is use DRC but not DialNorm, the guide, of course, try to be Dolby compliant.

Sorry.

big-guy
17th August 2007, 08:17
Somehow the audio I ripped isn't timed correctly... The movie itself is 01:59:55. While the extracted AC3 track is 01:49:55 in length ><. So if you have any way to fix that? Or is my BD disc just crap >_>... Otherwise I'll just use the AC3 448kbps stream from the DVD...

I used this command: eac3to bits0001.thd WoH.ac3
That should be correct right?
I demuxed the thd stream with xport. With the -a option.

madshi
17th August 2007, 09:00
That's strange. Which movie is that?

ACrowley
17th August 2007, 14:02
Sorry, really I want support your previous comments about don't care the Dolby specs.

My option is use DRC but not DialNorm, the guide, of course, try to be Dolby compliant.

Sorry.

everything Ok!
You helped me a lot with all these previous AC3 encoding/decoding DRC/Dialnorm Thing .
No i see Things clear. THX :)

big-guy
17th August 2007, 22:00
That's strange. Which movie is that?

It's The Wings of Honnêamise BD Rip. (I got the rip from usenet, everything was ok with it, no faulty rars and such).

If you could find a solution for such a weird error ? otherwise I'll just use the 448kbps audio from the DVD.

Also the subs are troublesome :mad:, need to enter all text manually...

onlym3
21st August 2007, 12:42
Has the "File size of the raw file doesn't fit" problem been solved yet? I get that problem on 3 different pcs and other than running on Windows XP they dont have anything in common. One has Nero 7.10 installed, the other 7.8.5 so i doubt they both suffer from a bad Nero install. And one doesnt have the mention dtsac3source filter installed so that cant be it either.

madshi
21st August 2007, 13:46
It's The Wings of Honnêamise BD Rip.
I don't have that BD. I have two other BDs with TrueHD, though. I'll double check whether the length of the extracted AC3 file is ok with those tracks. Maybe there's a bug in eac3to.

madshi
21st August 2007, 13:47
Has the "File size of the raw file doesn't fit" problem been solved yet? I get that problem on 3 different pcs and other than running on Windows XP they dont have anything in common. One has Nero 7.10 installed, the other 7.8.5 so i doubt they both suffer from a bad Nero install. And one doesnt have the mention dtsac3source filter installed so that cant be it either.
Do you have that problem with every E-AC3 track you try to convert? Or only with mono E-AC3 tracks?

onlym3
21st August 2007, 14:21
Do you have that problem with every E-AC3 track you try to convert? Or only with mono E-AC3 tracks?I tried 2 EAC3 tracks from 2 different HDDVDs, same result. And they arent mono.

madshi
21st August 2007, 14:36
I tried 2 EAC3 tracks from 2 different HDDVDs, same result. And they arent mono.
Have you tried GraphEdit? You need to rename it to Recode.exe. Then try "Nero File Source /Splitter -> Nero Audio Decoder 2 -> Default DirectSound Device". Does sound play for you that way?

I'm not sure, but probably you need the Blu-Ray/HD DVD plugin? Originally I thought you don't need it for E-AC3 decoding. But right now I guess you do.

onlym3
21st August 2007, 17:19
I'm not sure, but probably you need the Blu-Ray/HD DVD plugin? Originally I thought you don't need it for E-AC3 decoding. But right now I guess you do. 24.99$ later in can confirm that, works after i activated the Bluray/HDDVD Plugin.

orbitlee
21st August 2007, 18:49
I don't have that BD. I have two other BDs with TrueHD, though. I'll double check whether the length of the extracted AC3 file is ok with those tracks. Maybe there's a bug in eac3to.


@madshi

From what I know, TrueHD in Blu-ray contains DD 5.1 640K core. And, just like DTS-HD, you have to handle sync word emulation very carefully to avoid the incorrect length of extracted AC3. I wrote a tool to extract the DD 5.1 core from Blu-ray TrueHD, and tested on 3 BDs without any problem. I'll send the source code to you so you can merge into eac3to.

madshi
21st August 2007, 19:07
24.99$ later in can confirm that, works after i activated the Bluray/HDDVD Plugin.
Thanks, that's good to know.

madshi
21st August 2007, 19:09
@madshi

From what I know, TrueHD in Blu-ray contains DD 5.1 640K core. And, just like DTS-HD, you have to handle sync word emulation very carefully to avoid the incorrect length of extracted AC3. I wrote a tool to extract the DD 5.1 core from Blu-ray TrueHD, and tested on 3 BDs without any problem. I'll send the source code to you so you can merge into eac3to.
Thanks, the source code would be welcome and I'd love to integrate it into eac3to! :)

I think I was careful about the sync word stuff etc. I'm checking for the signature and I'm only accepting frames with a valid CRC. Every AC3 frame should have a valid CRC. Because of that valid AC3 frames should be easy to identify. I think it's more difficult with DTS. There CRC is optional and rarely used, as far as I know. Anyway, I'll compare your source code to mine and check if I can find significant differences... :)

madshi
21st August 2007, 20:48
@madshi

From what I know, TrueHD in Blu-ray contains DD 5.1 640K core. And, just like DTS-HD, you have to handle sync word emulation very carefully to avoid the incorrect length of extracted AC3. I wrote a tool to extract the DD 5.1 core from Blu-ray TrueHD, and tested on 3 BDs without any problem. I'll send the source code to you so you can merge into eac3to.
Could you make your DDCore tool available as an exe file? That way "big-guy" could test whether it works better for him than eac3to's solution. I've checked your code and it looks alright to me. But if your code doesn't work better than mine I'd prefer to keep mine.

Thanks!

orbitlee
22nd August 2007, 04:02
Here is my DDCore executable.
http://www.sendspace.com/file/h1thbq

Usage: DDCore source.thd dest.ac3

It ONLY works on TrueHD from Blu-ray!

pyrates
22nd August 2007, 05:17
Here is my DDCore executable.
http://www.sendspace.com/file/h1thbq

Usage: DDCore source.thd dest.ac3

It ONLY works on TrueHD from Blu-ray!

You can test it using the 300 hd dvd, that has a truehd 8 channel track. And how is it just for truehd from blu-ray? Isn't truehd the same on both kinds of discs?

madshi
22nd August 2007, 08:38
Here is my DDCore executable.
http://www.sendspace.com/file/h1thbq

Usage: DDCore source.thd dest.ac3

It ONLY works on TrueHD from Blu-ray!
Thanks! So big-guy, does DDCore work better for you than eac3to with "Wings of Honnêamise"?

madshi
22nd August 2007, 09:42
how is it just for truehd from blu-ray? Isn't truehd the same on both kinds of discs?
No, it's different. HD DVD is straight TrueHD with no AC3 in it. In Blu-Ray TrueHD consists of an AC3 track with added TrueHD blocks. The end result is more or less the same. HD DVD needs a bit less space.

woah!
22nd August 2007, 10:46
i just tried ddcore on a thd track out of Vacancy BR disc and it works very well and fast :)

seemed to got the same result from eac3to aswell, if not faster heh, and correct times on both.

madshi
22nd August 2007, 11:29
i just tried ddcore on a thd track out of Vacancy BR disc and it works very well and fast :)

seemed to got the same result from eac3to aswell, if not faster heh, and correct times on both.
Thanks for testing! :)

woah!
22nd August 2007, 11:52
opps sorry that should be Ghostrider THD track not Vacancy .... still both give me correct files at about the same speed.

big-guy
22nd August 2007, 20:50
Thanks! So big-guy, does DDCore work better for you than eac3to with "Wings of Honnêamise"?

Sorry, I've already deleted the source file. And just used the DVD track ><. Will test it the next time I rip a BD...

:thanks: for the hard work everybody :D.

andybno1
26th August 2007, 17:58
Don't know if this has been resolved somewhere in the thread but I had this problem and resolved it so I'm posting how I fixed it.

When trying to decode anything to wav (ddp or mlp) I got this:

E-AC3, 5.1 channels, 2:12:32, 640kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.

Finally I discovered the actual problem was the dtsac3source-full.ax file which was corrupted or something. I had the same exact version on another computer which I had downloaded a couple of weeks before. That one was working, I knew, so I unregistered the old one (don't know if this is necessary)...

regsvr32 /u C:\WINDOWS\system32\dtsac3source-full.ax

...got the new one, and it worked.

If your raw file is 0 bytes and then eac3to crashes, chances are this is your problem.

Get some new dtsac3source from some different mirror or download site, register it and try again. That worked for me.

The version I have is 1.0.0.1, BTW.

Hope this helps.

where can I get the 1.0.0.1 version from? I am getting the above problem, dont know if it helps but I get this after getting the above message: http://img508.imageshack.us/img508/2788/crashay9.jpg

madshi
27th August 2007, 21:41
eac3to v1.14 released

http://madshi.net/eac3to.zip

(1) DTS dialog normalization can be removed now
(2) DTS core can be extracted from DTS-HD track now

Usage:
eac3to source.dts dest.dts
eac3to can detect if a DTS-HD stream is clean or not. If it's clean, the DTS core extraction should be perfect with no audio sync issues and no crackling sound etc. If the DTS-HD stream is not clean, eac3to will complain, but it will still do the extraction. In this case you need to check if audio is in sync throughout the whole movie.

I've tested the new DTS core extraction on all my HD DVD and Blu-Ray movies with such tracks. The tracks were demuxed by EvoDemux (for HD DVDs) and xport (for Blu-Rays). eac3to reported all tracks to be clean - except the "Perfume" tracks. This problem has been reported before. For whatever reason the "Perfume" DTS-HD tracks demuxed by EvoDemux are corrupt. Well, eac3to detects that, which is good. So, if eac3to doesn't complain you can feel safe that everything is fine.

One important thing to note: The current version of the "DTS/AC3/DD+" filter plays all DTS(-HD) streams from Blu-Ray and HD DVD incorrectly. Basically as soon as you seek, audio sync is lost. I've fixed the problem in the filter and uploaded a new version here:

http://madshi.net/dtsac3source.zip

This is not a unicode build, though, so it might not work with DTS/AC3/DD+ files in folders with "strange" file names. I hope we'll get a unicode build from orbitlee or Casimir later.

Another way to work around the DTS/AC3/DD+ filter problem is to mux the HD DVD and Blu-Ray DTS (core) tracks into a container, e.g. MKV or TS. That way the sync problems with seeking should also disappear.

andybno1
28th August 2007, 06:38
Thanks for the new eac3to and the upload of dtsacesource but could anyone tell me why I am getting this:

C:\audio>eac3to audio-in.eac3 audio-out.ac3 -640
E-AC3, 5.1 channels, 1:00:10, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.
The expected file size for 16 bit is 1.93 GB.
The expected file size for 24 bit is 2.90 GB.
The real file size is 0 Bytes.

madshi
28th August 2007, 07:23
Thanks for the new eac3to and the upload of dtsacesource but could anyone tell me why I am getting this:
Probably you need the Nero HD DVD / Blu-Ray plugin.

ACrowley
28th August 2007, 09:38
THX Madshi ! Yure the Man :)

I had the same Problems with Perfume HDDVD DTS HD..
But its clean when the DTS HD is demuxed with SonicHDDemuxer in Graphedit :)

Your Source Filter Fix works good on dtscore Tracks , nice !

greets

PS ,maybe The Keymaker can update his gui with new Tab for TrueHD/DTS HD extraction etc

honai
28th August 2007, 10:22
Thanks for the new version, madshi.

One suggestion: Could you implement the padding fix that BeSliced performs on DTS tracks produced by some versions of Surcode? That way eac3to would be your one-stop solution for converting audio from HD discs. ;)

madshi
28th August 2007, 10:35
One suggestion: Could you implement the padding fix that BeSliced performs on DTS tracks produced by some versions of Surcode? That way eac3to would be your one-stop solution for converting audio from HD discs. ;)
I think eac3to v1.14 should already do that just fine. It will complain that the track is not clean, but you can ignore that warning in this case. To be sure I'd suggest that you test run the same Surcode DTS track through both BeSliced and eac3to. The end result should be 100% bit identical.

Btw, when using eac3to to automate Surcode the DTS tracks are already padding free.

madshi
28th August 2007, 10:41
P.S: Wait, I'm wrong. eac3to v1.14 will not do that. I'll add that to the next build.

andybno1
28th August 2007, 18:58
Probably you need the Nero HD DVD / Blu-Ray plugin.

is this a seperate download to the actual installer of nero ultra? cause I chose typical install with ultra serial. Oh yeh I have version 7.1.0

Nikos
28th August 2007, 21:02
is this a seperate download to the actual installer of nero ultra? cause I chose typical install with ultra serial. Oh yeh I have version 7.1.0
You need the separate HD DVD/Blu-ray serial number!!!

andybno1
28th August 2007, 23:03
ah right lol

madshi
29th August 2007, 08:02
Correct, it's not a separate install. You don't have to install anything. But you need to register a separate license key. When I had bought the plugin I was waiting for a download link for the plugin installer. Only after a while I understood that I don't need to install anything, but that registering the license key was enough to make it work... :)

Xorcist
29th August 2007, 19:20
Thanks for this great software!

I have used it to convert E-AC3 track on Heroes HD-DVD to AC3, but for one of the episodes (Episode 5) eac3to reports that the E-AC3 is not clean and tells me to use delaycut to fix it. However delaycut doesn't seem to support E-AC3.. Or am I mistaken?

EVOs has been demuxed using EVOdemux 0.627 b7.

The_Keymaker
30th August 2007, 06:06
@Acrowley,

I don't think madshi added any new OPTIONS in the latest version of eac3to. Madshi's updates in v.1.14 are automatically invoked based upon the filename extension(s).

If there are new options I will try and update EAC3toGUI. Are there any new command line options I am not aware of?

Regards,
The_Keymaker

andybno1
30th August 2007, 06:29
Correct, it's not a separate install. You don't have to install anything. But you need to register a separate license key. When I had bought the plugin I was waiting for a download link for the plugin installer. Only after a while I understood that I don't need to install anything, but that registering the license key was enough to make it work... :)

where do you put the serial for the blu-ray/hd dvd plugin?

SvT
30th August 2007, 08:30
where do you put the serial for the blu-ray/hd dvd plugin?

Once you've installed Nero you open Nero ProductSetup and select Licences panel. Click add and insert your serial to get the plugin to work.

Goodluck !

madshi
30th August 2007, 08:33
Thanks for this great software!

I have used it to convert E-AC3 track on Heroes HD-DVD to AC3, but for one of the episodes (Episode 5) eac3to reports that the E-AC3 is not clean and tells me to use delaycut to fix it. However delaycut doesn't seem to support E-AC3.. Or am I mistaken?

EVOs has been demuxed using EVOdemux 0.627 b7.
Ehm yes, you're right. delaycut (sadly) doesn't support E-AC3 yet. What I can offer to you is a switch to either ignore dirty E-AC3 tracks (the E-AC3 audio decoder might eventually stumble then - but probably not) or to remove any dirty audio frames (which may affect audio sync). What do you think?

Xorcist
30th August 2007, 09:55
Ehm yes, you're right. delaycut (sadly) doesn't support E-AC3 yet. What I can offer to you is a switch to either ignore dirty E-AC3 tracks (the E-AC3 audio decoder might eventually stumble then - but probably not) or to remove any dirty audio frames (which may affect audio sync). What do you think?

That would be really cool. It would give the user 3 options with dirty E-AC3 tracks; plain old error like today, possibly a good AC3 track if the decoder is ok with errors or an AC3 track that is out of sync depending on the number of dirty audio frames. If eac3to could print out the number of frames (and possibly timecode) removed in the last case it would help as well, but the most important thing is to have the switch you talk about.

I take it you are talking about possible improvements in new versions of eac3to?

madshi
30th August 2007, 10:19
I take it you are talking about possible improvements in new versions of eac3to?
Yes...

Xorcist
30th August 2007, 12:10
Ok, just wanted to make sure you weren't talking of any current options that I somehow hadn't noticed :)

madshi
30th August 2007, 12:42
I don't think madshi added any new OPTIONS in the latest version of eac3to. Madshi's updates in v.1.14 are automatically invoked based upon the filename extension(s).
That's correct. It's just that now "dts", "dtshd" and "ac3" are accepted as input formats, if appropriate output formats are used. Also "eac3" etc is accepted as output format, if "eac3" (or similar) is also the input extension.

sl1pkn07
30th August 2007, 13:00
exist eac3to tool for linux (native)?

madshi
30th August 2007, 13:11
exist eac3to tool for linux (native)?
Nope.

sl1pkn07
30th August 2007, 17:15
is possible port your program to linux?

andybno1
30th August 2007, 18:36
Once you've installed Nero you open Nero ProductSetup and select Licences panel. Click add and insert your serial to get the plugin to work.

Goodluck !

cheers for the hint ;)

EDIT: small problem I entered my serial and in product setup I get ? where the serial should be and eacto still not processing the file grrrr I dont wanna try sonic cause I could never get the delay synced in the muxed file

madshi
30th August 2007, 22:18
is possible port your program to linux?
Not really because big parts of it are relying on Windows DirectShow filters.

madshi
30th August 2007, 22:20
EDIT: small problem I entered my serial and in product setup I get ? where the serial should be and eacto still not processing the file grrrr I dont wanna try sonic cause I could never get the delay synced in the muxed file
If you have properly bought the plugin you can contact Nero customer support about why the serial number doesn't work in your case... ;)

andybno1
30th August 2007, 23:02
If you have properly bought the plugin you can contact Nero customer support about why the serial number doesn't work in your case... ;)

all I have to say is BUGGER lol

dvd-freak
31st August 2007, 10:46
If you have properly bought the plugin you can contact Nero customer support about why the serial number doesn't work in your case... ;)

I think, I would REALLY LIKE TO BE THERE when this call is made.

lol :rolleyes:




@mashi:
Any news on the Dolby TrueHD dialnorm issue? DRC can be disabled, right?

madshi
31st August 2007, 13:17
Any news on the Dolby TrueHD dialnorm issue? DRC can be disabled, right?
DRC is luckily disabled by default in the current Nero TrueHD decoder version. I've not found a way to disable Dialnorm yet. If only I had some kind of TrueHD specification/documentation!

andybno1
31st August 2007, 21:28
ok I took the plundge and purchased the plugin all registered now I am at a new fence with the followin error

C:\audio>eac3to audio-in.eac3 audio-out.ac3 -640
E-AC3, 5.1 channels, 1:00:10, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...
Starting "aften" failed. A valid *.wav file was created successfully, though.

madshi
31st August 2007, 21:39
ok I took the plundge and purchased the plugin all registered now I am at a new fence with the followin error
Well, you're nearly there. The Nero E-AC3 decoder evidently works fine now for you. But for whatever reason aften didn't get started correctly. Do you have a subfolder named "Aften" in the eac3to folder? And is there an "aften.exe" in that "Aften" subfolder?

andybno1
31st August 2007, 23:05
I downloaded the last zip file and put all exe files into the main folder......... is this wrong?

sportcenter
1st September 2007, 05:01
so not possible to encode anything above 640 ac3?...

ACrowley
1st September 2007, 13:40
so not possible to encode anything above 640 ac3?...

No
maximum is 640kbps

madshi
1st September 2007, 22:28
I downloaded the last zip file and put all exe files into the main folder......... is this wrong?
Yes, that is wrong. Just unzip and leave everything as it is.

Xorcist
2nd September 2007, 21:08
I earlier mentioned having problems with dirty EAC3 tracks on some Heroes episodes. Turns out my harddrive were having some problems and the rip actually had some messed up files. I re-ripped and eac3to worked perfectly :)

madshi
2nd September 2007, 21:45
I earlier mentioned having problems with dirty EAC3 tracks on some Heroes episodes. Turns out my harddrive were having some problems and the rip actually had some messed up files. I re-ripped and eac3to worked perfectly :)
That's good to know. So eac3to told you the files were messed up... :)

sportcenter
3rd September 2007, 00:44
No
maximum is 640kbps

so for doing a lossless 1.5mbps .wma audio track i would need to use .wavs, then vegas 7 or equivalent audio encoder to give me the .wma?

Exiton
3rd September 2007, 02:46
Question for anyone who knows. I've rebuilt an .EVO containing a single TrueHD track. When I use EAC3TO, the raw file it generates is 0kb. I can do conversions of eac3 -> ac3 all day long no problem. Anyone know the possible problem leading to the raw output failing?

EDIT: I've got the following in my system because I can see the last three in graphedit. The nero filter works because the standard EAC3 -> AC3 conversions work.

(1) Nero HD-DVD/Blu-Ray plugin
(2) "Nero Splitter"
(3) "Nero Audio Decoder 2"
(4) "Dump" filter

EDIT #2: I think it may be a bad source file. I'm doing some testing and will post back. I could duplicate the error on another machine so I think it's the source.

sportcenter
3rd September 2007, 03:30
Question for anyone who knows. I've rebuilt an .EVO containing a single TrueHD track. When I use EAC3TO, the raw file it generates is 0kb. I can do conversions of eac3 -> ac3 all day long no problem. Anyone know the possible problem leading to the raw output failing?

EDIT: I've got the following in my system because I can see the last three in graphedit. The nero filter works because the standard EAC3 -> AC3 conversions work.

(1) Nero HD-DVD/Blu-Ray plugin
(2) "Nero Splitter"
(3) "Nero Audio Decoder 2"
(4) "Dump" filter

what is the error message say?....are you putting

eac3to.exe audio.eac3 audio.wav -nero

thats the only way you will get a RAW file that stays...otherwise it creates the RAW filein the begining and then converts to .ac3 or whatever...

ACrowley
3rd September 2007, 12:38
what is the error message say?....are you putting

eac3to.exe audio.eac3 audio.wav -nero

thats the only way you will get a RAW file that stays...otherwise it creates the RAW filein the begining and then converts to .ac3 or whatever...


You can set the output Extension to .raw when you want a .raw or to wav (5.1 wave) or .wavs (mono waves).

Or to ac3 /dts
So youve a lot of options :)

so for doing a lossless 1.5mbps .wma audio track i would need to use .wavs, then vegas 7 or equivalent audio encoder to give me the .wma?
When you need 6 mono wave use .wavs output extension.
Then feed your prefered encoder to encode to whatever, for example to WMA10pro or WMA 9.2 lossless.
But note that WMA lossless wont play smooth with WVC1 VBR Peak Video on your Xbox360.

Nasgul
3rd September 2007, 19:15
I get the same error than Yonta trying to convert a bluray lpcm to ac3... Any ideas?


>eac3to.exe ..\..\Remux\rock_3.pcm ..\..\Rock3_448.ac3 -16 -448
RAW, 5.1 channels, 0:23:30, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version 0.07
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

invalid RIFF id in wav header
invalid wav file: -b
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.


I tried both Aften 0.07 and the version that ships with eac3to, same error.

Regards,
Nas

liquidator87
4th September 2007, 00:43
I see that eac3to encode to flac directly from raw samples. Let's say I want to use the same "strategy" for encoding, but I've 6 mono wave files, how can I obtain the big raw multichannel file? Can wavewizard do this?

Edit: yes it can

sportcenter
4th September 2007, 06:48
But note that WMA lossless wont play smooth with WVC1 VBR Peak Video on your Xbox360.

yeah i know, but it sounds excellent on the pc...

thanks

madshi
4th September 2007, 08:42
I get the same error than Yonta trying to convert a bluray lpcm to ac3... Any ideas?

>eac3to.exe ..\..\Remux\rock_3.pcm ..\..\Rock3_448.ac3 -16 -448
RAW, 5.1 channels, 0:23:30, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version 0.07
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

invalid RIFF id in wav header
invalid wav file: -b
"aften" reported error code "1". A valid *.wav file was created sucessfully, though.

I tried both Aften 0.07 and the version that ships with eac3to, same error.
Which eac3to version is that? And can I please see the output of the Aften version that ships with eac3to?

Nasgul
4th September 2007, 11:03
Hi madshi,


Which eac3to version is that? And can I please see the output of the Aften version that ships with eac3to?


I tried both Eac3to versions 1.14 and 1.13.
I´m not at my home pc right now, but I´m pretty sure the error message looked exactly the same with the aften version that shipped with eac3to.
I will check again this evening.

Thanks,
Nas

Creator1
4th September 2007, 17:52
Hello to all,

First I want to send many thanks to madshi for this great program! :thanks:

I used eac3to with success but I still have a small problem that maybe some of you guys can give me a tip on?

What I am trying to do is import LPCM to Scenarist HDMV (Blu-Ray). What I do is this:

1) I take an eac3 source (DD+) and use eac3to to transform it into ac3 (DD).

2) eac3to goes into it's different stage of treatment and at some point, it generates a big .WAV file (from the .raw file) which contains the 5.1 channels. It is about 6GB.

3) I then open MUI Generator in Scenarist and import the 6GB WAV file into it. It auto detects the file as a LPCM with 6 channels L-R-SL-SR-C + Lfe. So all is super so far.

4) Then I click the "Create files" button so that the MUI Generator c reates the importation stats files but it gives an error saying that the "ChannelAssign" specified does not correspond to the data in the file?

So, in other words, the tool correctly auto-detects the content of the wav files but still gives me an error on the channels assignment. I tried all the other possibilities (8 channel, mono, 1 ch, 4ch, etc.) and it always says this?

What I can think of is maybe there are "names" for each channels embedded in a wav file and the names created by eac3to (probably more by Aften I think) are not compliant so the program does not know which channel is the LFE, which channel is the center, etc.?

Anyone had that problem or can give me a tip that I can try out? Are the channels in a WAV file "named" like I said and if so can I use a program like Audacity to change the names?

Basically, I am trying to make a blu-ray disc with a LPCM soundtrack coming from a DD+ source.

Thanks in advance for any help! :)

harlis
4th September 2007, 18:49
Hi

First of all Tanks for this application! (seems to be a cool tool)

I tried to use it to convert eac3 traks to ac3.
used v1.13 and v.1.14
I have Nero installed and the bluray pug registered i have also the sonic filters installed but i always get the same result - nothing :(

this is the commandline
The dump filter (from the graphedit pack) is installed (i've registered it again manualy to be sure)

It creates a 2. file named fdolby.ddp (dialognorm removed i guess) and then aborts.

H:\d\a>eac3to fdolby.eac3 fdolby.ac3 -640
E-AC3, 5.1 channels, 1:58:29, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Getting "Dump" instance failed.

so any idea what i'm doing wrong or what i'm possibly missing?

Creator1
4th September 2007, 19:31
Hi

First of all Tanks for this application! (seems to be a cool tool)

I tried to use it to convert eac3 traks to ac3.
used v1.13 and v.1.14
I have Nero installed and the bluray pug registered i have also the sonic filters installed but i always get the same result - nothing :(

this is the commandline
The dump filter (from the graphedit pack) is installed (i've registered it again manualy to be sure)

It creates a 2. file named fdolby.ddp (dialognorm removed i guess) and then aborts.

H:\d\a>eac3to fdolby.eac3 fdolby.ac3 -640
E-AC3, 5.1 channels, 1:58:29, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Getting "Dump" instance failed.

so any idea what i'm doing wrong or what i'm possibly missing?

This is a problem with the Dump filter. It is not correctly registered. I had the same problem before I registered it. I know it sounds weird because you said that you registered it but the problem is still that clearly from the log you just typed. Did you move the Dump.ax file after registering it. I think you need to not move it but I am not sure.

sportcenter
4th September 2007, 19:37
Hi

First of all Tanks for this application! (seems to be a cool tool)

I tried to use it to convert eac3 traks to ac3.
used v1.13 and v.1.14
I have Nero installed and the bluray pug registered i have also the sonic filters installed but i always get the same result - nothing :(

this is the commandline
The dump filter (from the graphedit pack) is installed (i've registered it again manualy to be sure)

It creates a 2. file named fdolby.ddp (dialognorm removed i guess) and then aborts.

H:\d\a>eac3to fdolby.eac3 fdolby.ac3 -640
E-AC3, 5.1 channels, 1:58:29, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Muxing eac3 file to raw. Please wait...
Getting "Dump" instance failed.

so any idea what i'm doing wrong or what i'm possibly missing?

you are missing the dumpfilter

also make sure your command line is:

eac3to fdolby.eac3 fdolby.ac3 -640 -nero

so you avoid DRC and normalization

harlis
4th September 2007, 19:50
Thanks to you all

I removed and reinstalled everything now the dump stuff worked (seems like i moved the dir) but got a message like 0byte something....
but that's caused by my nero stuff is to old or faulty :(

so i used the sonic switch and now it WORKED :)

Thanks again for all the help and for this Great Tool :)

Creator1
4th September 2007, 19:52
Thanks to you all

I removed and reinstalled everything now the dump stuff worked (seems like i moved the dir) but got a message like 0byte something....
but that's caused by my nero stuff is to old or faulty :(

so i used the sonic switch and now it WORKED :)

Thanks again for all the help and for this Great Tool :)

It is highly recommenced to use the Nero pluging though. It does the best job overall for the sound quality. But it is good that it works now for you.

sportcenter
4th September 2007, 19:53
so i used the sonic switch and now it WORKED :)


but remember you will have DRC normalization and compression...translation, the dvd audio will have better peaks than your encode....

you need to use nero to avoid that

harlis
4th September 2007, 19:55
Yes I will have to check my nero and maybe i need to update it so i will get better results.

Creator1
4th September 2007, 20:06
but remember you will have DRC normalization and compression...translation, the dvd audio will have better peaks than your encode....

you need to use nero to avoid that

From what my friend told me, DRC is evil and pretty much destroy a surround soundtrack. I think he said it makes everything flat. You definitely want to avoid that.

Can someone tell me what dialog normalization is though? From what I could see so far, it seems to be the thing they use on DVDs and now HD-DVDs and Blu-Ray so that the sound is way lower than, for example, a video game sound. I did a test with dialNorm removed and the movie was playing loud on -50dB on my amp and I normally put any movie at -36dB or something like that to have the same volume level. I did a encode with "keepNorm" but I have yet have the time to compare both tracks but on the PC Speakers it seemed like the new encode is lower in volument like I suspected.

Am I right in my understanding of dialNorm? If so, I guess I will keepNorm always because I am used to put the volume high on movies and I may get "surprised" everytime if the volume is too loud on my BD-R projects.

Is there a negative in keeping dialog normalization on? I know DRC is bad but is dialNorm bad for the sound quality or is it just a volume thing?

Thanks for any help.

madshi
4th September 2007, 21:32
What I am trying to do is import LPCM to Scenarist HDMV (Blu-Ray). What I do is this:

1) I take an eac3 source (DD+) and use eac3to to transform it into ac3 (DD).

2) eac3to goes into it's different stage of treatment and at some point, it generates a big .WAV file (from the .raw file) which contains the 5.1 channels. It is about 6GB.

3) I then open MUI Generator in Scenarist and import the 6GB WAV file into it. It auto detects the file as a LPCM with 6 channels L-R-SL-SR-C + Lfe. So all is super so far.

4) Then I click the "Create files" button so that the MUI Generator c reates the importation stats files but it gives an error saying that the "ChannelAssign" specified does not correspond to the data in the file?
The WAV file eac3to creates doesn't have any channel assignment information in it. Maybe the MUI Generator doesn't like that. But it's difficult to create wav files that everybody likes, especially once the wav files get bigger than 2GB or even 4GB.

Can the MUI Generator accept raw PCM data instead of a wav file?

madshi
4th September 2007, 21:32
eac3to fdolby.eac3 fdolby.ac3 -640 -nero
"-640 -nero" isn't really needed because both switches are default in the newer eac3to versions.

Creator1
4th September 2007, 22:56
The WAV file eac3to creates doesn't have any channel assignment information in it. Maybe the MUI Generator doesn't like that. But it's difficult to create wav files that everybody likes, especially once the wav files get bigger than 2GB or even 4GB.

Can the MUI Generator accept raw PCM data instead of a wav file?

Thank you for the reply.

I tried the .raw file also in the MUI generator and it did create the stats file but when I tried to import the .ves file in scenarist it said it could not read the file. I think it was "mixed up" and that it does not accept raw. In the doc it says it accepts ".lpcm" and ".wav". I don't think I can import 6 channels separately either from what I saw. It needs to be a single .wav file with correct channel assignment.

How does channel assigment works? Can I edit that in a WAV editor or in a HEX editor?

Thank you.

madshi
5th September 2007, 08:24
In the doc it says it accepts ".lpcm" and ".wav".
"lpcm" is raw data. However, it's usually big endian while eac3to's raw output is usually little endian, IIRC. You could try using sox to convert eac3to's raw output to little endian. Maybe that helps.

How does channel assigment works? Can I edit that in a WAV editor or in a HEX editor?
It needs a slightly different wav header than the one eac3to is writing. You could try rewriting the file with some wav compatible tools, e.g. wavwizard. Maybe those make eac3to's wav file acceptable for Scenarist.

ACrowley
5th September 2007, 09:24
@creator1

Whn you talking about Scenarist Ac3 Encoder, you need 16bit waves.
Simply use .wavs Output with 16bit donwconvert in eac3to.
These waves are compatible with the Scenarist Audio Transcoder to load each channel

Creator1
5th September 2007, 14:32
"lpcm" is raw data. However, it's usually big endian while eac3to's raw output is usually little endian, IIRC. You could try using sox to convert eac3to's raw output to little endian. Maybe that helps.


It needs a slightly different wav header than the one eac3to is writing. You could try rewriting the file with some wav compatible tools, e.g. wavwizard. Maybe those make eac3to's wav file acceptable for Scenarist.

Excellent tips. I will try the sox thing first and then the other one if it fails. Thanks!

I have another question for you. It seems like eac3to's default bits are 24 bits for the sound right? The first line that appears when eac3to starts, is it the stats of the source file? Because on my eac3 (DD+) it said 24 bits but I am wondering if it is the default value that was said there or if it really is that the source file is 24 bits? I think the source file is 24 bits because it describes the length of the file (2:00:34 for example), the format (DD+), etc.

@creator1

Whn you talking about Scenarist Ac3 Encoder, you need 16bit waves.
Simply use .wavs Output with 16bit donwconvert in eac3to.
These waves are compatible with the Scenarist Audio Transcoder to load each channel

Yes but it's Scenarist HDMV, not Scenarist SD DVD and when I loaded up my 24 bits WAV file it auto-detected as 24 bits and it seems to be acceptable to Scenarist since it is in the possible pop-up option for LPCM.

Do you know of a way to import all the 6 channels separately to create a 5.1 track in Scenarist HDMV? I will need to check that out then if it is a possibility.

madshi
5th September 2007, 15:16
I have another question for you. It seems like eac3to's default bits are 24 bits for the sound right? The first line that appears when eac3to starts, is it the stats of the source file? Because on my eac3 (DD+) it said 24 bits but I am wondering if it is the default value that was said there or if it really is that the source file is 24 bits? I think the source file is 24 bits because it describes the length of the file (2:00:34 for example), the format (DD+), etc.
There's no thing like a specific bitdepth for AC3 and E-AC3 tracks. The (E-)AC3 headers don't contain any such information. In the end it's the AC3 decoder which decides which bitdepth it outputs. The Nero audio decoder usually outputs 24bits. eac3to just takes what the E-AC3 decoder outputs.

Creator1
5th September 2007, 18:07
There's no thing like a specific bitdepth for AC3 and E-AC3 tracks. The (E-)AC3 headers don't contain any such information. In the end it's the AC3 decoder which decides which bitdepth it outputs. The Nero audio decoder usually outputs 24bits. eac3to just takes what the E-AC3 decoder outputs.

Oh ok, so the eac3to utility just records what Nero's E-AC3 plugin outputs when playback? That is pretty cool.

I suppose that for .LPCM or .WAV file there is a bit depth though inside the file?

ACrowley
6th September 2007, 10:18
Oh ok, so the eac3to utility just records what Nero's E-AC3 plugin outputs when playback? That is pretty cool.

I suppose that for .LPCM or .WAV file there is a bit depth though inside the file?


BluRay LPCM is 16Bit or 32Bit
Wave can be from 8-32Bit

Its a huge difference in Filesize.
But, imho, when you convert LPCM 24bit to 16bit Flac its enough. Its not lossless anymore. You wont hear any big differrence
24Bit Filesite is not worth it, imho

Creator1
6th September 2007, 17:57
BluRay LPCM is 16Bit or 32Bit
Wave can be from 8-32Bit

Its a huge difference in Filesize.
But, imho, when you convert LPCM 24bit to 16bit Flac its enough. Its not lossless anymore. You wont hear any big differrence
24Bit Filesite is not worth it, imho

Ok thanks.

I am just trying to make the LPCM work for the sake of testing. I may end up using the DTS 1.5Mbps re-encode since I am not an audiophile much but more of a videophile. It's always good to have lossless on audio too though.

maya
7th September 2007, 01:20
Ok, I am new at using the eac3to program. I have used evo demux to strip everything out of the first feature evo file for "A Perfect Storm" and now I am left with the video and the single DD+ audio track. I open up Eac3toGui and set up the source file, it automatically sets the output file, and I set the rate to 640kbits, Nero as force filter, and leave everything else at defualt. When I hit convert the black command prompt screen comes up and states the following:

I: Evodemux ARea>"C:\Documents and Settings\Ryan\Desktop\eac3to.exe" "I:\Evodemux ARea\Perfect Storm 1.EVO"
"I:\Evodemux ARea\Perfect Storm1.ac3"-640-nero-24
"C:\Documents and Settings\Ryan\Desktop\eac3to.exe"is not recognized as an internal or external command, iperable program or batch file.
I:\Evodemux ARea>

I have no idea what this means. Does it have something to do with certain filters not being installed? I have the newest version of nero, and have selected "Nero" as the force filter. I don't really understand what the following are, that are needed for the program to work:

Nero File Source/Splitter
Nero Audio Decoder 2
Dump Filter

I did a search of my c: drive and saw that these things are there as .ax extensions (whatever that means). I do not have the Nero HD-DVD/Blu Ray plugin-assumed I would never need it due to the fact that I never watch VC-1 on my PC. I put these VC-1 files on my Tvix 4100 and play them from there.

I guessed that since I own the newest version of Nero, that all the Nero stuff above was in there somewhere. Any help would be greatly appreciated.

madshi
7th September 2007, 07:25
Oh ok, so the eac3to utility just records what Nero's E-AC3 plugin outputs when playback?
Yep.

I suppose that for .LPCM or .WAV file there is a bit depth though inside the file?
For WAV yes. For LPCM no. LPCM contains nothing but the sound samples. There's no "header" or any other information in a LPCM file about how many channels there are or which bitdepth is being used. However, eac3to tries to find out the LPCM bitdepth by analyzing the audio data.

BluRay LPCM is 16Bit or 32Bit
It's 16bit or 24bit.

madshi
7th September 2007, 07:28
I open up Eac3toGui and set up the source file, it automatically sets the output file, and I set the rate to 640kbits, Nero as force filter, and leave everything else at defualt. When I hit convert the black command prompt screen comes up and states the following:

I: Evodemux ARea>"C:\Documents and Settings\Ryan\Desktop\eac3to.exe" "I:\Evodemux ARea\Perfect Storm 1.EVO"
"I:\Evodemux ARea\Perfect Storm1.ac3"-640-nero-24
"C:\Documents and Settings\Ryan\Desktop\eac3to.exe"is not recognized as an internal or external command, iperable program or batch file.
Eac3toGui is just a wrapper around eac3to. So you need to download eac3to, too, and put both eac3to and eac3toGui into one folder.

I do not have the Nero HD-DVD/Blu Ray plugin-assumed I would never need it due to the fact that I never watch VC-1 on my PC. I put these VC-1 files on my Tvix 4100 and play them from there.
I'm not 100% sure but it seems that for E-AC3 decoding you do need the Nero HD-DVD/Blu-Ray plugin.

TheSof
7th September 2007, 12:01
Please forgive me if this has been asked before.

What happens if the eac3, lpcm or dts has more than 5.1 channels?

Does surcode support dts es? In the surcode log file, at the start of an encode it reports "ES=NO".

Does aften and eac3 support more than 5.1?

Cheers, and many thanks to madshi for his work on eac3to.

madshi
7th September 2007, 12:10
Please forgive me if this has been asked before.

What happens if the eac3, lpcm or dts has more than 5.1 channels?

Does surcode support dts es? In the surcode log file, at the start of an encode it reports "ES=NO".

Does aften and eac3 support more than 5.1?
LPCM with 7.1 is supported by eac3to. E.g. you can do LPCM -> FLAC with full 7.1. You need to tell eac3to that the LPCM track has 8 channels, though, by activating the "-8" option.

I've not seen any E-AC3 tracks with more than 5.1 yet. As a result I don't know what Nero's audio decoder does with such tracks. Maybe it puts out full 7.1, maybe it only puts out 5.1, maybe it doesn't put out anything. I've no idea. Let's revisit this topic when the first 7.1 E-AC3 track shows up.

ACrowley
7th September 2007, 13:04
Does surcode support dts es? In the surcode log file, at the start of an encode it reports "ES=NO".

No. Surcode can only encode to 16/48 dts 5.1.
DTS Pro Series or DTS HD Master Suite can encode 6.1 ( 24/96 too)

Tranzcode/Azidts/NiscDTSSource cant decode to 7 mono waves from DTS ES 6(+)1 They all decode to 5.1 only. In this Case the BC is blends into BL BR because 6.1 DTS ES is downwards Compatible. So you shouldnt loose any BC Sounds in theory.
Its the the same with DD EX

Possible Methods to decode/record all Channels from DTS ES and DD EX:

To get 7CH mono Waves from DTS ES 6.1 you can decode/record it via ASIO in Sony Vegas
Play the DTS ES 6.1 Discrete in PowerDVD (6.1 Output) and record it through ASIO with Sony Vegas.
It works via graphedit and CyberlinkAudioDecoder too with dts es 6.1 discrete

- Sony Vegas 6.1 Project ,recording all (already)mapped 7 Channels through Creative ASIO Input
http://img251.imageshack.us/img251/4187/sshot4as3.th.png (http://img251.imageshack.us/my.php?image=sshot4as3.png)

Now youve 7 mono Waves. Ofcourse you cant encode Discrete 6.1 AC3.
But you can encode the BC in the Matrix to Dolby Digital EX in Sony Vegas.

Other Method for me is my Audigy2ZS Card. It has a build in Decoder which is capable to decode DD EX and DTS ES 6.1.
Works fine with Nero Showtime (HDDVDPlugin) Playback and Output Setting to SPDIF.
Recording again with Vegas through ASIO like above. So i am able to get 7 mono Waves from 6.1 Sources (DD EX,DTS ES)
I succesfully made some DD EX 5(6).1 reencodes from DTS ES 6.1 and DD EX with this Methods.

Alternative to encode more than 5.1 Discrete Channels is FLAC. I made some 6.1 Discrete encodes with FLAC, works perfect
But these are only Experiments for me. I have 1 5.1 Setup and im still satisfied with 5.1.
6.1 (ore more) Formats are downwards compatible...so its no Problem
Does aften and eac3 support more than 5.1?
No 6.1 Discrete AC3 isnt possible. Only Dolby Digital EX delivers Matrix encoded BC Channel.

TheSof
7th September 2007, 14:52
I thought I had everything working but now I have a new problem.

Running a 1.5mbps dts track via spdif to my processor and all is well.

But a 1.5mbps surcode track plays with stuttering, crackling popping sounds. But decoding this and spitting out analog to my processor and all is OK.

Does anyone know why this is?

Creator1
7th September 2007, 15:35
I: Evodemux ARea>"C:\Documents and Settings\Ryan\Desktop\eac3to.exe" "I:\Evodemux ARea\Perfect Storm 1.EVO"
"I:\Evodemux ARea\Perfect Storm1.ac3"-640-nero-24
"C:\Documents and Settings\Ryan\Desktop\eac3to.exe"is not recognized as an internal or external command, iperable program or batch file.
I:\Evodemux ARea>

I did a search of my c: drive and saw that these things are there as .ax extensions (whatever that means). I do not have the Nero HD-DVD/Blu Ray plugin-assumed I would never need it due to the fact that I never watch VC-1 on my PC. I put these VC-1 files on my Tvix 4100 and play them from there.

The error is because the eac3toGUI program cannot find the eac3to.exe program on your system.

Like madshi said, eac3toGUI is only the user interface to facilitate the usage of eac3to. The real eac3to program is named eac3to.exe and needs to be downloaded separately. After you have downloaded eac3to.exe, you can start eac3toGUI and then go to the menu where you can specify where the eac3to.exe application is and point to it so that eac3toGUI knows where to find the application.

Also, you will need Nero HD-DVD/Blu-Ray plugin. eac3to didn't work for me until I got that. Even if you have the full NERO latest version installed, if you did not pay the extra 25$ for the HD-DVD/Blu-Ray plugin it is not "activated" and thus not functional. You need to go to NeroProductSetup on the start menu and then go to "licenses" or something like that and add a serial number to unlock the hd-dvd/blu-ray plugin.

For WAV yes. For LPCM no. LPCM contains nothing but the sound samples. There's no "header" or any other information in a LPCM file about how many channels there are or which bitdepth is being used. However, eac3to tries to find out the LPCM bitdepth by analyzing the audio data.

Ok that's pretty neat. I didn't have time to try the big endian versus little endian thing on the .raw file but I'll try it out when I can. I doubt it will work but who knows until I try. :thanks:

madshi
7th September 2007, 15:43
I thought I had everything working but now I have a new problem.

Running a 1.5mbps dts track via spdif to my processor and all is well.

But a 1.5mbps surcode track plays with stuttering, crackling popping sounds. But decoding this and spitting out analog to my processor and all is OK.

Does anyone know why this is?
Was that Surcode file created by eac3to or did you use Surcode yourself? When not being automated by eac3to, Surcode adds some padding to the DTS files. I've no idea if this may be responsible for the problems you're having or not. Maybe it's something else. Could be that your receiver isn't fully DTS compatible. The eac3to created Surcode files all play perfectly fine with my receiver at least.

ACrowley
7th September 2007, 15:45
I thought I had everything working but now I have a new problem.

Running a 1.5mbps dts track via spdif to my processor and all is well.

But a 1.5mbps surcode track plays with stuttering, crackling popping sounds. But decoding this and spitting out analog to my processor and all is OK.

Does anyone know why this is?


Run it through Besclied 0.3
Simply start Besliced and Dra&Drop your dts into the Windows and select fix.
The fixed dts should be clean.
Its a "must be" to fix surcode dts !
eac3to should use a own internal fix to fix surcode dts

I never had any Problmes with Surcode dts

TheSof
7th September 2007, 15:47
Was that Surcode file created by eac3to or did you use Surcode yourself? When not being automated by eac3to, Surcode adds some padding to the DTS files. I've no idea if this may be responsible for the problems you're having or not. Maybe it's something else. Could be that your receiver isn't fully DTS compatible. The eac3to created Surcode files all play perfectly fine with my receiver at least.

Yeah I was using ac3to. I can't understand it. I'm using a Denon 5803 (A1SR) amp/processor which should be fine. It could be my soundcard (RME), but it passes non surcode 1.5mbps dts fine.

TheSof
7th September 2007, 16:18
Run it through Besclied 0.3
Simply start Besliced and Dra&Drop your dts into the Windows and select fix.
The fixed dts should be clean.
Its a "must be" to fix surcode dts !
eac3to should use a own internal fix to fix surcode dts

I never had any Problmes with Surcode dts

I think eac3to does this, but I ran it through besliced just in case, and it didn't help.

Must just be my processor at fault if the computer can decode the surcode dts stream OK. These top of the range thx ultra 2 processors are not all they're cracked up to be.

maya
7th September 2007, 16:32
The error is because the eac3toGUI program cannot find the eac3to.exe program on your system.

Like madshi said, eac3toGUI is only the user interface to facilitate the usage of eac3to. The real eac3to program is named eac3to.exe and needs to be downloaded separately. After you have downloaded eac3to.exe, you can start eac3toGUI and then go to the menu where you can specify where the eac3to.exe application is and point to it so that eac3toGUI knows where to find the application.

Also, you will need Nero HD-DVD/Blu-Ray plugin. eac3to didn't work for me until I got that. Even if you have the full NERO latest version installed, if you did not pay the extra 25$ for the HD-DVD/Blu-Ray plugin it is not "activated" and thus not functional. You need to go to NeroProductSetup on the start menu and then go to "licenses" or something like that and add a serial number to unlock the hd-dvd/blu-ray plugin.



Ok that's pretty neat. I didn't have time to try the big endian versus little endian thing on the .raw file but I'll try it out when I can. I doubt it will work but who knows until I try. :thanks:

thanks to both of you. I am at work now but will report back on how things go after I get home.

TheSof
7th September 2007, 20:46
More trouble for me, this time with FLAC. As soon as I mkvmerge some avc with FLAC, explorer.exe stops responding whenever I go anywhere near the mkv with FLAC.
Can anyone help me (again:)?

honai
7th September 2007, 21:17
That's likely a problem with Haali Matroska splitter. You should ask in the respective threads.

maya
8th September 2007, 04:19
The error is because the eac3toGUI program cannot find the eac3to.exe program on your system.

Like madshi said, eac3toGUI is only the user interface to facilitate the usage of eac3to. The real eac3to program is named eac3to.exe and needs to be downloaded separately. After you have downloaded eac3to.exe, you can start eac3toGUI and then go to the menu where you can specify where the eac3to.exe application is and point to it so that eac3toGUI knows where to find the application.

Also, you will need Nero HD-DVD/Blu-Ray plugin. eac3to didn't work for me until I got that. Even if you have the full NERO latest version installed, if you did not pay the extra 25$ for the HD-DVD/Blu-Ray plugin it is not "activated" and thus not functional. You need to go to NeroProductSetup on the start menu and then go to "licenses" or something like that and add a serial number to unlock the hd-dvd/blu-ray plugin.



Ok that's pretty neat. I didn't have time to try the big endian versus little endian thing on the .raw file but I'll try it out when I can. I doubt it will work but who knows until I try. :thanks:

Ok, I purchased the Nero HD DVD/Blu Ray Plugin and installed it. And under settings in the eac3togui I click on settings and point to where eac3to.exe is located and get the following message in the command prompt screen:

C:\Program Files\EAc3 Stuff>"C: Program Files\Eac3 Stuff\eac3to.exe" I:\Evodemux Area\Perfect Storm1.EVO" I:\Evodemux Area\Perfect Storm1.ac3-640-nero-24

Muxing evo's first audio track to raw. Please wait...
Getting "Dump" Instance failed

C:\Program Files\EAc3 Stuff>

So, I don't know what to do now. It appears that the program started to do something, but immediately quit-I don't know if I have the "dump" filter installed-I don't even know what it is, let alone how to install it. Again, any help would be greatly appreciated. Thank you.

TheSof
8th September 2007, 10:12
Ok, I purchased the Nero HD DVD/Blu Ray Plugin and installed it. And under settings in the eac3togui I click on settings and point to where eac3to.exe is located and get the following message in the command prompt screen:

C:\Program Files\EAc3 Stuff>"C: Program Files\Eac3 Stuff\eac3to.exe" I:\Evodemux Area\Perfect Storm1.EVO" I:\Evodemux Area\Perfect Storm1.ac3-640-nero-24

Muxing evo's first audio track to raw. Please wait...
Getting "Dump" Instance failed

C:\Program Files\EAc3 Stuff>

So, I don't know what to do now. It appears that the program started to do something, but immediately quit-I don't know if I have the "dump" filter installed-I don't even know what it is, let alone how to install it. Again, any help would be greatly appreciated. Thank you.

I think you need to download graphedit, and then register the dump.ax.

tvjunky
8th September 2007, 13:00
Maybe there is someone out there who can help me with that:

I have done some backups of my hd-dvds last week and found the following problem.

I converted the ddp-stream to ac3 (or wav) with eac3to. After that i converted the resulting ac3 or wav to aac 5.1 with besweet. All files are perfect as long as the movie is shorter than 124 minutes. If the length of the movie is longer than 124 minutes, besweet converts always only the first 124 minutes and stopped without any error. so i think this could be a problem of eac3to. so far i tried "van helsing", "troja", "riddick", "underworld" and "king kong" (all european versions).

Is there anyone having the same problem? I have read the whole thread here but didn't found any solution, so any help will be greatly appreciated!

p.s.: sorry for my bad german school english ;-)

maya
8th September 2007, 15:17
I think you need to download graphedit, and then register the dump.ax.

Thank you very much, that was the final piece of the puzzle it appears. It produced the AC3 audio file. Now, my next quesion, and hopefully my last, how do I put that AC3 audio file back into my Perfect STorm .EVO file?

madshi
8th September 2007, 16:45
I converted the ddp-stream to ac3 (or wav) with eac3to. After that i converted the resulting ac3 or wav to aac 5.1 with besweet. All files are perfect as long as the movie is shorter than 124 minutes. If the length of the movie is longer than 124 minutes, besweet converts always only the first 124 minutes and stopped without any error. so i think this could be a problem of eac3to.
Does the AC3 file you get from eac3to play with the correct length? If so, it's very unprobable that eac3to is at guilt here. Maybe the aac 5.1 encoder generally doesn't like tracks longer than 124 minutes? I've no idea. Btw, what you're doing is not really optimal. You're decoding E-AC3 which is fine. Then you're reencoding to a lossy codec (AC3). Which is fine if AC3 is your final aim. But if you want to end up with another format you should skip the AC3 step to keep audio quality as high as possible. You should probably ask eac3to to give you a wav file and then convert that wav file to aac by using BeSweet.

madshi
8th September 2007, 16:49
Thank you very much, that was the final piece of the puzzle it appears. It produced the AC3 audio file. Now, my next quesion, and hopefully my last, how do I put that AC3 audio file back into my Perfect STorm .EVO file?
Currently I don't know any way to put an external track into an EVO file. What you could do is to mux the EVO + AC3 into either MKV or TS. Muxing into MKV is rather easy, as long as the movie is not H264. Muxing into TS is a bit more complicated but also possible from what I've heard. Personally, I'm currently keeping all audio tracks in separate files. MPC can play these just fine together with the movie EVO file.

maya
8th September 2007, 17:05
Currently I don't know any way to put an external track into an EVO file. What you could do is to mux the EVO + AC3 into either MKV or TS. Muxing into MKV is rather easy, as long as the movie is not H264. Muxing into TS is a bit more complicated but also possible from what I've heard. Personally, I'm currently keeping all audio tracks in separate files. MPC can play these just fine together with the movie EVO file.


How do you do it and with what program? Also, could I use TSremux to put the video file into .ts or .m2ts and then merge the AC3 audio?

madshi
8th September 2007, 17:12
MPC (Media Player Classic) automatically loads the external audio files, if you name them just like the movie file. E.g. if the movie file is named "someMovie.evo", name the audio file "someMovie.ac3". You can also add something to the name, e.g. "someMovie - English.ac3". MPC will automatically load such audio files and play them.

maya
8th September 2007, 17:19
MPC (Media Player Classic) automatically loads the external audio files, if you name them just like the movie file. E.g. if the movie file is named "someMovie.evo", name the audio file "someMovie.ac3". You can also add something to the name, e.g. "someMovie - English.ac3". MPC will automatically load such audio files and play them.

What I want to do is play these on my Tvix 4100 media player-I doubt that it would recognize the audio and video (it plays .ts, .m2ts, .mkv, mpeg2, x264 containers). It will not play .evo files or DD+ or Truehd. I can use TSremux to convert the video, but somehow I need to get that audio to play along with the video. Any ideas?

madshi
8th September 2007, 17:24
What I want to do is play these on my Tvix 4100 media player-I doubt that it would recognize the audio and video (it plays .ts, .m2ts, .mkv, mpeg2, x264 containers). It will not play .evo files or DD+ or Truehd. I can use TSremux to convert the video, but somehow I need to get that audio to play along with the video. Any ideas?
The Dvico people are just now working on adding MKV support. So it might be the easiest way for you to mux your movie + AC3 into MKV. But as I said, remuxing h264 is a bit problematic. As long as your movie is VC-1 there's no problem.

maya
8th September 2007, 21:49
The Dvico people are just now working on adding MKV support. So it might be the easiest way for you to mux your movie + AC3 into MKV. But as I said, remuxing h264 is a bit problematic. As long as your movie is VC-1 there's no problem.

All these files will be VC-1 since they are my HD DVD rips. But what tools do I need to get this to work, and how do I use them if not self-explanatory? I have no experience with command line prompts by the way, but if I knew what the prompts were supposed to be then I could certainly input them. Thanks in advance.