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. |
20th January 2023, 07:21 | #15241 | Link |
Formally known as .......
Join Date: Sep 2021
Location: Down Under.
Posts: 1,003
|
What is the quickest & easiest way to convert THD 7.1 (or higher) to AAC 7.1 ??
Thanks EDIT:- I think I may have found how to, BUT if there IS an easy way. Last edited by TDS; 20th January 2023 at 07:43. |
20th January 2023, 11:46 | #15242 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
For thd input I recommend ffmpeg decoder (avutil 57, avcodec 59), faster and more actualized than eac3to (avutil 52, avcodec 54), and for aac 7.1 output only qaac encoder:
"FFMPEG" -i "INPUT71.thd" -acodec pcm_s24le -f wav - | "QAAC" -V QUALITY --ignorelength --adts --no-delay -o "OUTPUT71.aac" Others encoders, for instance using ffmpeg internal, convert standar thd 7.1 Channel layout: C L R Ls Rs Lb Rb LFE, to aac 7.1 Channel layout: C L R Ls Rs Lw Rw LFE For easy way you can use UsEac3toGUI (load input and button A/V Recode)
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 20th January 2023 at 12:16. Reason: add info |
20th January 2023, 12:14 | #15243 | Link | |
Formally known as .......
Join Date: Sep 2021
Location: Down Under.
Posts: 1,003
|
Quote:
I don't know how to use that command line you provided, and converting the channel layout's.... So you're saying that eac3to isn't the best way to convert ?? I have very recently started using "cleverFFmpeg", and it's got so many options, it's crazy, but I do use eac3to quite bit for e-ac3 conversions. |
|
20th January 2023, 14:07 | #15244 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
UsEac3toGUI can work like eac3to and ffmpeg GUI. If you want some eac3to audio management use it and encode with qaac.
cleverFFmpeg can decode with ffmpeg and encode with qaac, remember the discussion in that thread
__________________
BeHappy, AviSynth audio transcoder. |
30th January 2023, 20:02 | #15245 | Link | |
Registered User
Join Date: Feb 2020
Posts: 541
|
Quote:
https://trac.ffmpeg.org/ticket/667#comment:10 * added special handling for TrueHD seamless branching is that as good as https://github.com/domyd/mlp or worse as in DGDemux? Or even more perfect as in MakeMKV? Last edited by Balling; 30th January 2023 at 20:06. |
|
31st January 2023, 13:18 | #15246 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
A mix of mono and stereo audio.
Quote:
The track uploaded in comment 15 is a correct mono track without problems to decode, after extract thd and ac3 streams. Quote:
__________________
BeHappy, AviSynth audio transcoder. |
||
12th February 2023, 23:25 | #15248 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Use mkvextract or ffmpeg to extract them. For ac3/dts streams I think eac3to use methods like the old DelayCut with really ac3/dts silence frames.
__________________
BeHappy, AviSynth audio transcoder. |
|
13th February 2023, 15:37 | #15249 | Link |
Registered User
Join Date: Jan 2007
Posts: 26
|
mkvextract ignores delay info and just shifts audio to first frame, so that's pretty much useless because audio won't be in sync as it should be. Is it possible to report this bug to eac3to dev for possible fix in the future ?
|
13th February 2023, 22:28 | #15250 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
In the first post you have the link to the bug tracker.
__________________
BeHappy, AviSynth audio transcoder. |
9th April 2023, 17:36 | #15251 | Link |
Registered User
Join Date: Sep 2018
Posts: 391
|
We've recently discovered removing dialNorm from a truehd track during demux actually edits the header in the way the Atmos data is no longer valid. It's still there, but it cannot be used by any official tools or players.
Is there any way to restore dialNorm to normal? I confirmed this by demuxing with eac3to with -keepDialnorm and without it and the only one that actually worked with the Atmos channels was the -keepDialnorm. I'm not sure which header is being edited in the file itself, but editing it with a hex editor to match the one with -keepDialnorm allows the Atmos to work correctly again. However, I can't do this across other files as easily. Is there a way to do this with eac3to or any other tool? |
1st May 2023, 22:19 | #15254 | Link |
Registered User
Join Date: Jun 2002
Location: Greece
Posts: 242
|
eac3to and DRC
With the following line:
eac3to audio.thd audio.wav eac3to removes the Dialogue Normalization metadata. The question is what happens to Dynamic Range Compression metadata?
__________________
Greece PAL User... |
2nd May 2023, 13:04 | #15255 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Quote:
I can't check it.
__________________
BeHappy, AviSynth audio transcoder. |
||
6th May 2023, 17:53 | #15256 | Link |
Registered User
Join Date: Jun 2002
Location: Greece
Posts: 242
|
After testing I came to the conclusion:
With a .thd sound, the ffmpeg ignores the DN and the DRC. Center channel .thd drc_scale 0.0 --> RMS -28.9576 dB drc_scale 1.0 --> RMS -28.9576 dB With a .ac3 sound (core from .thd), the ffmpeg ignores the DN but applies the DRC. Center channel .ac3 core drc_scale 0.0 --> RMS -29.0598 dB drc_scale 0.5 --> RMS -30.2756 dB drc_scale 1.0 --> RMS -31.1711 dB
__________________
Greece PAL User... Last edited by Nikos; 6th May 2023 at 23:59. |
7th May 2023, 00:28 | #15258 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Dialog Normalization in AC3 is only used if you set target_level to adjust the target volume of the decoded stream. Its how the AC3 spec wants to control a unified volume, by including metadata to let you request a reference level.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
7th May 2023, 01:46 | #15259 | Link |
Registered User
Join Date: Jun 2002
Location: Greece
Posts: 242
|
The ffmpeg decoding is correct when with drc_scale 0 we have no compression and with drc_scale 1 we have full compression
For downmix 5ch --> 2ch i prefer audio with DRC=1. I don't know what it is ac3 target_level...
__________________
Greece PAL User... |
31st May 2023, 23:02 | #15260 | Link | |
Registered User
Join Date: Feb 2020
Posts: 541
|
Quote:
But EAE and microsoft and others support decoding TrueHD (now lossily) with DRC. |
|
Tags |
eac3to |
|
|