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 2nd October 2022, 11:07   #241  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by tebasuna51 View Post
I don't know how pass the correct channel map (5.1.2) to Dolby Encoder Engine
How is it done with other, more friendly, software, such as Totalcode Studio or, perhaps, Dolby Media encoder? I really have no interest in 7.1 but 5.1.2 would be nice to have.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd October 2022, 11:08   #242  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by junh1024 View Post
If you want to encode 71sh/512sh, DTSHR supports it in DTSMAS & Mainconcept Totalcode, but you may need to play with NeuralX & Speaker setup settings.
I have little (almost zero) interest in DTS but I'd like to encode Dolby Atmos from object model to 5.1.2.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd October 2022, 11:44   #243  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by tormento View Post
I have little (almost zero) interest in DTS but I'd like to encode Dolby Atmos from object model to 5.1.2.
Me too... I guess a dedicated 'Looking for an Atmos encoder' topic will now need creating...
__________________
| 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; 2nd October 2022 at 11:48.
SeeMoreDigital is offline   Reply With Quote
Old 2nd October 2022, 18:36   #244  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Like I say Mainconcept Totalcode do not offer the 5.1.2 layout, I don't know if Dolby Media encoder can do it, not Dolby Encoder Engine.

I can encode to DTSMA to C L R Ls Rs LFE Vhl Vhr (see image) and play fine in my AVR 5.1.2 like the Atmos or Audition eac3 encodes.

Code:
139.404.590  CoreAT.thd         Source TrueHD Atmos
                         7.1
 81.928.230  Core71.thd         Source without Atmos metadata
216.505.028  Core71.wav         Decoded to 71
 98.373.524  Core71.dts         Encodec to DTS-MA
 71.615.788  Core71.flac        Encodec to Flac
                         5.1.2
216.505.004  Core3D.wav         Atmos decoded to 5.1.2 with Dolby Ref Pla
117.133.232  Core3D.dts         Encodec to DTS-MA
 88.144.518  Core3D.flac        Encodec to Flac
 24.064.000  Core3D_k24.ec3     Audition recoded to 1024 Kb/s
  9.024.000  Core3D_384.ec3     Audition recoded to  384 Kb/s
I still don't know if my AVR can play 5.1.2 when it is send like PCM (from wav, decoded flac/aac/...). Don't work even with last LAV filters 0.76.1.3 and GraphStudioNext.
Attached Images
  
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 2nd October 2022 at 19:19.
tebasuna51 is online now   Reply With Quote
Old 3rd October 2022, 19:53   #245  |  Link
pcroland
Registered User
 
Join Date: Mar 2014
Location: Hungary
Posts: 115
Quote:
Originally Posted by Balling View Post
BTW. Be careful with leaked Dolby media encoder. It does not produce lossless TrueHD with stereo wav (it is mostly lossless though, I tried Plex decoder of TrueHD and ffmpeg's), did not check what happens with leaked Encoding Engine.
DME uses DEE. I think it has 3db attenuation and 90 degree phase shifting enabled just like in the xml templates for DEE, but I never used DME.
__________________
deew (Dolby Encoding Engine Wrapper): deew.dev, Doom9 | substoforced
pcroland is offline   Reply With Quote
Old 4th October 2022, 03:52   #246  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by Balling View Post
BTW. Be careful with leaked Dolby media encoder. It does not produce lossless TrueHD with stereo wav (it is mostly lossless though, I tried Plex decoder of TrueHD and ffmpeg's), did not check what happens with leaked Encoding Engine.
IT is possible our decoder and (100%) encoder in ffmpeg is not conformal (opened https://trac.ffmpeg.org/ticket/9958)!! Plex decodes encoded with ffmpeg with the same artefacts as LG C9, very nice!

>I think it has 3db attenuation and 90 degree phase shifting enabled just like in the xml templates for DEE, but I never used DME

No, the bug is just some off-by-ones. Plex decoder and ffmpeg decoder agree (besides some zeroes in the end). Besides 3 db is just for EAC3, no...

Last edited by Balling; 4th October 2022 at 05:29.
Balling is offline   Reply With Quote
Old 6th October 2022, 06:29   #247  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Carl accepted the bug. So hope will be fixed! Mono thd is not affected.
Balling is offline   Reply With Quote
Old 9th October 2022, 05:28   #248  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
So about that EAC3 sound from Justice League. I think it is correct, cause thise strange flipped channels are then decoded by Atmos in totally different places. IMHO. It created a crazy construct.
Balling is offline   Reply With Quote
Old 31st October 2022, 20:24   #249  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by tebasuna51 View Post
You don't need nothing to remap for the first one 5.1
I have found another 6.1+5.1 DTS HDMA. How to extract the 5.1 part?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 31st October 2022, 21:01   #250  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by tormento View Post
I have found another 6.1+5.1 DTS HDMA. How to extract the 5.1 part?
If your are referring to the 5.1 dts core, I use TSmuxer GUI...
__________________
| 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   Reply With Quote
Old 31st October 2022, 21:41   #251  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by SeeMoreDigital View Post
If your are referring to the 5.1 dts core, I use TSmuxer GUI...
I want to extract the 1509 kb/s 5.1 channel DTS.

Code:
Audio
Format                         : DTS ES XXCH XLL
Format/Info                    : Digital Theater Systems
Commercial name                : DTS-HD Master Audio
Bit rate mode                  : Variable / Constant / Constant
Bit rate                       : Unknown / 1 509 kb/s / 1 509 kb/s
Channel(s)                     : 7 channels / 7 channels / 6 channels
Channel layout                 : C L R Ls Rs LFE Cb / C L R Ls Rs Cb LFE / C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossless / Lossy / Lossy
Edit: using downconvert to DTS of TSMuxer I get another 6.1 file...

Code:
Audio
Format                         : DTS ES XXCH
Format/Info                    : Digital Theater Systems
Commercial name                : DTS-ES Discrete
Duration                       : 1 h 40 min
Bit rate mode                  : Constant
Bit rate                       : 1 509 kb/s
Channel(s)                     : 7 channels / 6 channels
Channel layout                 : C L R Ls Rs Cb LFE / C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossy
Stream size                    : 1.06 GiB (100%)
__________________
@turment on Telegram

Last edited by tormento; 31st October 2022 at 21:49.
tormento is offline   Reply With Quote
Old 31st October 2022, 21:53   #252  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Okay... Here's an example: -




Cheers
__________________
| 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   Reply With Quote
Old 31st October 2022, 22:56   #253  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by tormento View Post
I want to extract the 1509 kb/s 5.1 channel DTS.

Edit: using downconvert to DTS of TSMuxer I get another 6.1 file...

Code:
Audio
Format                         : DTS ES XXCH
Format/Info                    : Digital Theater Systems
Commercial name                : DTS-ES Discrete
Duration                       : 1 h 40 min
Bit rate mode                  : Constant
Bit rate                       : 1 509 kb/s
Channel(s)                     : 7 channels / 6 channels
Channel layout                 : C L R Ls Rs Cb LFE / C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossy
Stream size                    : 1.06 GiB (100%)
Yep... Obtaining an lossy DTS-ES core is becoming quite common... Some of my Blu-ray audio discs occasionally offer DTS 96/24 cores
__________________
| 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   Reply With Quote
Old 31st October 2022, 23:48   #254  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by tormento View Post
I have found another 6.1+5.1 DTS HDMA. How to extract the 5.1 part?
Seems you have a DTS-MA 6.1 with a core DTS ES 6.1 also.

The core 1509 Kb/s is accepted to be passed by SPDIF and played by DVD players 5.1 only but if you want encode to AC3 you need downmix it, from the MA or from the core.

If you want encode to DDP: Audition and TotalCode have the equivalent channel layout 3/3 L R C LFE Ls Rs Cs.
Like in this century Ls/Rs is decoded to SL/SR we need remap the wav order FL FR FC LFE BC SL SR -> ...|c4=c5|c5=c6|c6=c4
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 1st November 2022 at 00:13.
tebasuna51 is online now   Reply With Quote
Old 1st November 2022, 09:40   #255  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by tebasuna51 View Post
The core 1509 Kb/s is accepted to be passed by SPDIF and played by DVD players 5.1 only
That's a real pity.
Quote:
Originally Posted by tebasuna51 View Post
If you want encode to DDP
Yes, that's the way I will follow. It's so weird that DEE can't encode it.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 1st November 2022, 11:29   #256  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by tebasuna51 View Post
The core 1509 Kb/s is accepted to be passed by SPDIF and played by DVD players 5.1 only
I want say than old players can play it, but not only them of course.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is online now   Reply With Quote
Old 1st November 2022, 16:31   #257  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
I currently don't have my AVR handy (it's in the loft), but the last time I checked sending a DTS-ES bit-stream to it from my OPPO via HDMI, the 'DTS-ES' icon lit up on the AVR. Same goes with DTS 96/24 content

I didn't try the SPDIF optical or electrical outputs from my OPPO to the AVR.
__________________
| 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   Reply With Quote
Old 1st November 2022, 22:02   #258  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by tebasuna51 View Post
If you want encode to DDP: Audition and TotalCode have the equivalent channel layout 3/3 L R C LFE Ls Rs Cs. Like in this century Ls/Rs is decoded to SL/SR we need remap the wav order FL FR FC LFE BC SL SR -> ...|c4=c5|c5=c6|c6=c4
Is your channel swapping correct for my file? TotalCode asks FL FR FC LFE BC SL SR but I have C L R Ls Rs LFE Cb in DTS file (according to MediaInfo).
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd November 2022, 03:20   #259  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Yes.
TotalCode asks for 3/3 L R C (LFE) Ls Rs Cs, forget MediaInfo order please, when you decode the DTS to WAV/W64 the order is FL FR FC LFE BC SL SR then you need remap the BackCenter to the end (c6=c4) to match the CenterSurround
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 2nd November 2022 at 03:23.
tebasuna51 is online now   Reply With Quote
Old 2nd November 2022, 11:03   #260  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
@tormento, post moved to https://forum.doom9.org/showthread.p...43#post1977643
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is online now   Reply With Quote
Reply

Tags
eac3

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 21:09.


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