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

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th November 2019, 12:52   #21  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Is not so simple:

"... joint intensity coding and sum/difference coding may be employed to further improve audio quality. The
optional LFE channel is compressed by: low-pass filtering, decimation and mid-tread scalar quantization."

The LFE channel without high frequencies need only a low bitrate to be encoded.
And some channels can be joined to optimize compression, and front channels can have preference for high fequencies over back channels...
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 17th November 2019, 14:49   #22  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by theliver9x View Post
Let me ask more, dts 1509kbps 6 channels, so each internal channel will have a bitrate is 251kbps?
tebasuna51's answer explained it well, it's not that simple.
But if one wants to simplify anyway [but not too much], one can say that 1509 kbps for 5.1 DTS is (roughly) equivalent to 300 kbps per channel (the ".1" channel not being counted, of course).

Which is overkill, granted. DTS-CD uses 1234.8 kbps @ 44.1 kHz, which is the same as 1344 kbps @ 48 kHz...
Fortunately the BD-specs do allow lower bitrates for 5.1 DTS audio.
Unfortunately the average BD production is lazy and stupid
filler56789 is offline   Reply With Quote
Old 18th November 2019, 10:35   #23  |  Link
theliver9x
Registered User
 
Join Date: Oct 2019
Posts: 12
Quote:
Originally Posted by tebasuna51 View Post
Is not so simple:

"... joint intensity coding and sum/difference coding may be employed to further improve audio quality. The
optional LFE channel is compressed by: low-pass filtering, decimation and mid-tread scalar quantization."

The LFE channel without high frequencies need only a low bitrate to be encoded.
And some channels can be joined to optimize compression, and front channels can have preference for high fequencies over back channels...
Thanks. And when convert audio, i see a message saying "remapping channel", so what is remapping and it have change the raw audio data or not?
theliver9x is offline   Reply With Quote
Old 18th November 2019, 11:38   #24  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
The channel order inside a compressed stream can have a different order in dts, ac3, aac, etc.
Any decoder output always (remapping) the standard wav (M$) file channel order, any encoder must accept the standard wav order like input.

All is automatic, you don't need do nothing.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 19th November 2019, 06:46   #25  |  Link
theliver9x
Registered User
 
Join Date: Oct 2019
Posts: 12
Quote:
Originally Posted by tebasuna51 View Post
The channel order inside a compressed stream can have a different order in dts, ac3, aac, etc.
Any decoder output always (remapping) the standard wav (M$) file channel order, any encoder must accept the standard wav order like input.

All is automatic, you don't need do nothing.
I convert the wav file to ac3 with eac3to, length of ac3 file output is 21ms longer than the original wav, why is it different and what do i have to do to get the ac3 file of the same length as the original wav file?
theliver9x is offline   Reply With Quote
Old 19th November 2019, 09:55   #26  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
You always get a AC3 file duration multiple of 32 ms (if 48 KHz) because a AC3 stream is a set of frames of that length.

The encoders delay the wav file with 256 silence samples (5.33 ms at 48 KHz) and fill the las frame with silence samples until the 32 ms full frame.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Reply

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:24.


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