Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 28th September 2020, 11:33   #15001  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by Skyrocket View Post
Can anyone please help me. Been trying for a few days to learn how to fix it with no luck.
I am wanting to convert my audio with eac3to to aac. When trying it comes up with the Nero error. I have Nero 7 installed on my computer but dont think its linked with the eac3to. What can or should i do to convert to aac?
You should rather use Apple's AAC-encoder (in TVBR mode), because it gives better quality sound than the old Nero-encoder.
Use qaac for that (install iTunes first),
https://sites.google.com/site/qaacpage/

https://forum.videohelp.com/threads/...tings-for-QAAC
Forteen88 is offline  
Old 28th September 2020, 11:58   #15002  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Hmmm...

Apples AAC encoder does indeed produce better results than Nero's AAC encoder. But when was its encoder last updated?

From what I understand the only AAC encoder that is still being developed (in some fashion) is FAAC...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 28th September 2020 at 12:00.
SeeMoreDigital is offline  
Old 28th September 2020, 13:21   #15003  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
The Apple CoreAudio AAC encoder can be extracted from the iTunes64 installer, using the "makeportable" script from the qaac downloads "cabinet" page.

Unfortunately, it is now officially only published via the Microsoft Store, so you need a Microsoft account to download it... or you can find it in third-party download archives.

Version 12.10.9(.3?) seems to be most recent.
_

PS: I just noticed that 7zip cannot extract AppleApplicationSupport.msi from installer ... it worked with version 12.9.3.3 (Feb. 2019).

Apple will have changed its software content. But you can try the VideoHelp archive of iTunes. Version 12.10.8 is the last with an installer larger than 250 MB.
_

PPS: Don't confuse FAAC (abandoned OpenSource project) with fdk-aac by Fraunhofer or ffmpeg's own AAC encoder. FAAC is LQ and obsolete; ffmpeg's AAC is MQ but recent; fdk-aac is HQ but has strange bitrate steps as quality control.

And the dummy version for icudt62.dll to save some space, qaac does not need its features.
_

And more news: makeportable2.bat apparently extracts the required DLL files from the iTunes64.msi inside the new installer (64 bit binaries only).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 28th September 2020 at 14:04.
LigH is offline  
Old 28th September 2020, 14:30   #15004  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by LigH View Post
...
Version 12.10.9(.3?) seems to be most recent.
...
True, iTunes Version 12.10.9.3 is the most recent version. I downloaded it today from Apple's webpage.
Forteen88 is offline  
Old 28th September 2020, 15:31   #15005  |  Link
pottzman
Registered User
 
Join Date: Jun 2009
Posts: 10
Quote:
Originally Posted by tebasuna51 View Post
The sonic or arcsoft decoders are not needed at all with eac3to v3.34 (and nero only for aac sources)
but the eac3to wiki states

The Sonic DTS decoder seems to be more or less perfect for DTS, DTS-ES, DTS-96/24, DTS-HD Master Audio and DTS-HD High Resolution tracks. Dialog normalization is ignored by the Sonic DTS decoder. The only "problem" of the Sonic DTS decoder is that it decodes DTS-HD 7.1 tracks only as 5.1. DTS-ES and DTS-HD Master Audio 6.1 tracks are fully decoded as 6.1, though.

and

The ArcSoft DTS decoder seems to be perfect for DTS and DTS-HD decoding. It supports every format and channel configuration that exists including 6.1 and 7.1.

so if I want to use the sonic decoders can anybody show me how to use them without installing them
pottzman is offline  
Old 28th September 2020, 16:12   #15006  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Then the wiki is out of date, recent eac3to versions are using an open-source DTS-HD decoder that decodes all streams without modifications, and without applying DialNorm.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 28th September 2020, 18:02   #15007  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by LigH View Post
The Apple CoreAudio AAC encoder can be extracted from the iTunes64 installer, using the "makeportable" script from the qaac downloads "cabinet" page.
Quote:
Originally Posted by Forteen88 View Post
True, iTunes Version 12.10.9.3 is the most recent version. I downloaded it today from Apple's webpage.
Do any of Apples AAC encoders support HE-AAC v2 (ie: AAC with SBR and PS)?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline  
Old 28th September 2020, 18:56   #15008  |  Link
NiN3
Registered User
 
Join Date: Sep 2020
Location: EU
Posts: 16
Quote:
Originally Posted by nevcairiel View Post
Then the wiki is out of date, recent eac3to versions are using an open-source DTS-HD decoder that decodes all streams without modifications, and without applying DialNorm.
I am assuming libDcaDec? Does it decode bit perfectly? Some people seem to get a "XLL output not lossless" message when using it.
NiN3 is offline  
Old 28th September 2020, 20:17   #15009  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by SeeMoreDigital View Post
Do any of Apples AAC encoders support HE-AAC v2 (ie: AAC with SBR and PS)?
No, it doesn't seem so, since I tried encoding music to a 16kbps stereo-audio and I got an error.
Also, someone wrote this a year ago,
Quote:
AAC LC and HE AAC v1. Apple AAC encoder does not support HE AAC v2 profile (parametric stereo, very low bitrates stereo).
https://www.poikosoft.com/support/viewtopic.php?t=12725


Nero-encoder supports HEv2 (SBR+PS) but it supports maximum 6 (5.1) channels, Apple AAC supports 8 channels,
https://wiki.hydrogenaud.io/index.ph...e=AAC_encoders

Last edited by Forteen88; 28th September 2020 at 20:23.
Forteen88 is offline  
Old 28th September 2020, 20:36   #15010  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by NiN3 View Post
I am assuming libDcaDec? Does it decode bit perfectly? Some people seem to get a "XLL output not lossless" message when using it.
- Yes, the decode is bit perfect, better than ArcSoft with some bit rounded errors in my test.

- qaac is better than NeroAacEnc at low bitrate, but not at default eac3to quality (quality=0.5)
For low bitrates you can use opus, better than aac.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 28th September 2020 at 20:39.
tebasuna51 is offline  
Old 28th September 2020, 22:17   #15011  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by NiN3 View Post
I am assuming libDcaDec? Does it decode bit perfectly? Some people seem to get a "XLL output not lossless" message when using it.
Getting that message once during start of decoding is normal, the message is not entirely accurate at that point, as long as it doesnt spam it repeatedly its fine.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 30th September 2020, 09:19   #15012  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
A few questions about understanding Dialog Normalization. Sorry if these have been answered earlier.

Is DN for both Dolby and DTS stored as metadata in the audiostream itself or is it in - eg. - a BD's playlist?
Will it be preserved in the demuxed elementary stream and can it be edited?

Cheers
von Suppé is offline  
Old 30th September 2020, 10:47   #15013  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
For Dolby Digital (AC3), I am sure it is metadata in the elementary stream. I studied headers in the DVD Video era...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 30th September 2020, 12:41   #15014  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by von Suppé View Post
......
Is DN for both Dolby and DTS stored as metadata in the audiostream itself or is it in - eg. - a BD's playlist?
Will it be preserved in the demuxed elementary stream and can it be edited?

Cheers
Stored as metadata in the elementary stream itself.
Yes, that field can be edited.
From the ts_102114v010301p.pdf document:

DIALNORM/UNSPEC (Dialog Normalization /Unspecified)

For the values of VERNUM = 6 or 7 this 4-bit field is used to determine the dialog normalization parameter. For all
other values of the VERNUM this field is a place holder that is not specified at this time.

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-20).

For all other values of the VERNUM (i.e. 0, 1, 2, 3, 4, 5, 8, 9, …15) the UNSPEC 4-bit field should be extracted but
ignored by the decoder. In addition, for these VERNUM values, the Dialog Normalization Gain should be set to 0
i.e. DNG=0 indicates No Dialog Normalization.
filler56789 is offline  
Old 1st October 2020, 14:52   #15015  |  Link
iSeries
Registered User
 
Join Date: Jan 2009
Posts: 625
Quote:
Originally Posted by tebasuna51 View Post
Hi, sorry how does one use this in UsEac3To to demux TrueHD?
iSeries is offline  
Old 1st October 2020, 15:27   #15016  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by iSeries View Post
Hi, sorry how does one use this in UsEac3To to demux TrueHD?
Drag and drop your media file that contains the 'Dolby TrueHD' stream into UsEac3To's main window.
Wait for the stream to be parsed/read.
Make sure 'demux' is selected with the 'Global Parameters' box.
Click on the 'RUN CL' button.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline  
Old 1st October 2020, 16:35   #15017  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Is eac3to the only software that can remove AC3 dialog normalization?
Thanks

Last edited by Forteen88; 1st October 2020 at 17:36.
Forteen88 is offline  
Old 2nd October 2020, 00:18   #15018  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Nope, long time ago I make a little tool to do the same.

Change the metadata value in all frames of the stream (the big job is recalculate the crc values at begin and end of each frame).
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 2nd October 2020, 09:47   #15019  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
@ LigH and filler56789: Thanks for the info on Dialog Normalization.

So, there was no DN for dts in the DVD era?

I learn that DN removal can be achieved with eac3to. What software would be needed to view & edit DN properties?
von Suppé is offline  
Old 2nd October 2020, 10:13   #15020  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by tebasuna51 View Post
Nope, long time ago I make a little tool to do the same.

Change the metadata value in all frames of the stream (the big job is recalculate the crc values at begin and end of each frame).
Do you implicitly mean BeHappy?
Forteen88 is offline  
Closed Thread

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.