View Full Version : Looking for a eac3 7.1 encoder
tebasuna51
19th September 2022, 19:48
For me works now with wav sources (always 24 bit, 48000 Hz), I'm not need transcode, only encode.
1) Run in a CLI window:
C:\Users\Pepe>EasyAudioEncoder.exe
Dolby, Dolby Digital, Dolby Digital Plus, Dolby TrueHD and the double D symbol are trademarks of Dolby Laboratories.
2) Run in other CLI window:
C:\Users\Pepe>"C:\tmp\Plex\Plex Media Server\Plex Transcoder.exe" -c:a pcm_s24le -i "C:\Users\Pepe\Core.wav" -eae_root C:\Users\Pepe core.eac3
ffmpeg version c4efa15-4365 Copyright (c) 2000-2021 the FFmpeg developers
built with Plex clang version 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
configuration: --disable-static ...
libavutil 56. 63.101 / 56. 63.101
libavcodec 58.117.101 / 58.117.101
libavformat 58. 65.101 / 58. 65.101
libavfilter 7. 96.100 / 7. 96.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
Input #0, wav, from 'C:\Users\Pepe\Core.wav':
Metadata:
encoder : Lavf59.27.100
Duration: 00:03:07.94, bitrate: 9216 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32 (24 bit), 9216 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s24le (native) -> eac3 (eac3_eae))
Output #0, eac3, to 'core.eac3':
Metadata:
encoder : Lavf58.65.101
Stream #0:0: Audio: eac3, 48000 Hz, 7.1, flt (24 bit), 128 kb/s
Metadata:
encoder : Lavc58.117.101 eac3_eae
size= 23496kB time=00:03:07.93 bitrate=1024.2kbits/s speed=20.9x
video:0kB audio:23496kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
EasyAudioEncoder.exe send error messages, but seems can be ignored.
We need Ctrl+C to stop run.
And I obtain the core.eac3 7.1 1024 Kb/s
Decoded with ffmeg -drc_scale 0 the output is equivalent to input Core.wav
- Using a 3D input wav:
Input #0, wav, from 'C:\Users\Pepe\8w3D.wav':
Duration: 00:00:20.04, bitrate: 9216 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 8 channels (FL+FR+FC+LFE+SL+SR+TFL+TFR), s32 (24 bit), 9216 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s24le (native) -> eac3 (eac3_eae))
Output #0, eac3, to '8w3D.eac3':
Metadata:
encoder : Lavf58.65.101
Stream #0:0: Audio: eac3, 48000 Hz, 5.1(side), flt (24 bit), 128 kb/s
Metadata:
encoder : Lavc58.117.101 eac3_eae
size= 940kB time=00:00:20.03 bitrate= 384.6kbits/s speed=27.9x
video:0kB audio:940kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
The channels TFL+TFR are ignored (not mixed, ignored). Then for me EAE is useless.
NOTE: To obtain "C:\tmp\Plex\Plex Media Server\Plex Transcoder.exe" I download Plex and install it in a PC without internet conexion.
I copy the folder "C:\Program Files\Plex" to "C:\tmp\Plex" and I uninstall Plex.
I don't know if the full Plex folder is needed, at least shared ffmeg dll's like avcodec-58.dll, avformat-58.dll, avutil-56.dll, ...
Kuler087
19th September 2022, 20:19
I didn't test yet because I'm not home but looking at audacity waves, it seems the audio volume is very low?
https://slow.pics/c/AGvZoOf2
tebasuna51
19th September 2022, 23:26
I didn't test yet because I'm not home but looking at audacity waves, it seems the audio volume is very low?
https://slow.pics/c/AGvZoOf2
Audacity don't read eac3 files. It can use old ffmpeg libs, but a 7.1 eac3 was readed like 5.1 here.
Your image have only 5 channels.
Decode it to wav/w64 before:
ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c:a pcm_s24le "sample.wav"
Kuler087
20th September 2022, 00:01
thanks for the info.
Unfortunately, DDP produced by EAE gives me the same problem as DEE using my LG C2 ARC to Denon AVR. The AVR reports 7.1 audio DD+ but it plays in slow motion.
If I encode 7.1 EC3 1536kbps with an AC3 core(bd compatible) in DEE, then my AVR reports PCM (no idea if it's the 5.1 core or the 7.1 DD+ that plays). PLEX reports 7.1 audio but I have a feeling that only the 5.1 core is played.
EC3 5.1 1536kbps produced by ffmpeg plays properly and AVR reports 5.1 DD+.
Nvidia Shield: everything works and AVR reports DD+ 7.1.
X800m2: DD+ 7.1 with core plays and AVR reports DD+ 7.1. ... DD+ 7.1 without core= same issue as the TV, it plays in slow motion.
I guess I'll stick to ffmpeg DD+ 5.1 1536kbps even though my TV EDID clearly says that it supports DD+ 7.1 :(
Balling
20th September 2022, 03:28
ha thank you for the clarification, now it's working.
Now I hope it works on my TV, the DEE EC3 7.1 tracks are not playing correctly.
Why would they not?? You did tick bitstream eas3 in lavfilters, right? Sample of DEE??
Balling
20th September 2022, 03:31
Audacity don't read eac3 files. It can use old ffmpeg libs, but a 7.1 eac3 was readed like 5.1 here.
Your image have only 5 channels.
Decode it to wav/w64 before:
ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c:a pcm_s24le "sample.wav"
No, audacity does support it, just download latest nightly, only then you will be able to use head of master of ffmpeg. Api changes were frozen around 4.1.3, so it should be compatible for a while until API breaking version. Audacity does not do two option as above, so sure decoding to w64 is better.
Kuler087
20th September 2022, 04:08
Sample of DEE??
https://drive.google.com/drive/folders/1LXhKdhDXu8sB7FAUneGd2PoRk1uznjuK?usp=sharing
Why would they not?? You did tick bitstream eas3 in lavfilters, right?
I'm talking about TV internal player playback with ARC to my AVR.
Balling
20th September 2022, 06:18
I didn't test yet because I'm not home but looking at audacity waves, it seems the audio volume is very low?
https://slow.pics/c/AGvZoOf2
It is very low because of horrible drc on TrueHD files (not on your file on google drive, that .thd has no DRC), and they are supposed to be lossless, LOL!! The fact is FFmpeg does not support DRC on TrueHD (only EAC3 and AC3), it just decodes lossless.
Use this: decode with normal ffmpeg:
ffmpeg.exe -i file.thd -c:a pcm_s24le wa1.wav
Then encode with Plex to eac3.
Balling
20th September 2022, 06:34
>The channels TFL+TFR are ignored (not mixed, ignored).
Top front left and top front right require EX or Atmos, do they not?
pcroland
20th September 2022, 21:03
DEE EC3 7.1 tracks are not playing correctly.
Have you tried both the standard and the bluray profile?
Kuler087
20th September 2022, 22:54
yes as said previously (https://forum.doom9.org/showthread.php?p=1974917#post1974917)...
LG C2 internal player:
Standard profile = AVR reports DD+ 7.1 but the audio stutter
Bluray profile = AVR reports PCM and I suspect it's playing only the 5.1 core but it doesnt stutter.
tebasuna51
21st September 2022, 19:44
Unfortunately, DDP produced by EAE gives me the same problem as DEE using my LG C2 ARC to Denon AVR. The AVR reports 7.1 audio DD+ but it plays in slow motion.
If I encode 7.1 EC3 1536kbps with an AC3 core(bd compatible) in DEE, then my AVR reports PCM
I have a TV Samsung UE40NU7125 conected by SPDIF to a Denon AVR-X1500H (HDMI without ARC option) than play, and show DD+, all kind of eac3 encodes (EAE, DEE st or bd, Audition, TotalCode and ffmpeg)
When play from PC connected by HDMI to the AVR Denon of course all eac3 is fine, and HD, Atmos, etc.
(no idea if it's the 5.1 core or the 7.1 DD+ that plays). PLEX reports 7.1 audio but I have a feeling that only the 5.1 core is played.
To know if is a real 7.1 or any mix use a channel test (https://forum.doom9.org/showthread.php?p=1963170#post1963170) (recoded to the format desired) instead samples like you use.
Listen the sound only in appropiated speakers.
Kuler087
22nd September 2022, 00:34
thank you, that test file is very useful.
As suspected, I'm not getting 7.1 audio on the LG C2 --> AVR with EC3 (bluray profile) audio. LFE is not even working (AAC is fine but also 5.1 only).
EDIT: Ok, I just learned something, my AVR was set to Top/surround and the back channels don't work that way. So I changed to back/surround and now the back channel works but still no LFE.
Interestingly, now 7.1 EC3 standard profile works without stuttering. all the channels + LFE work.
Test file i used: https://drive.google.com/file/d/10VPaqPt9-Ek7YxK17Ie8W8uyiIxRhZYe/view?usp=sharing
SeeMoreDigital
22nd September 2022, 17:57
thank you, that test file is very useful.
As suspected, I'm not getting 7.1 audio on the LG C2 --> AVR with EC3 (bluray profile) audio. LFE is not even working (AAC is fine but also 5.1 only).
EDIT: Ok, I just learned something, my AVR was set to Top/surround and the back channels don't work that way. So I changed to back/surround and now the back channel works but still no LFE.
Interestingly, now 7.1 EC3 standard profile works without stuttering. all the channels + LFE work.
Test file i used: https://drive.google.com/file/d/10VPaqPt9-Ek7YxK17Ie8W8uyiIxRhZYe/view?usp=sharing
Just so you know... With the exception of the AAC file, the 'side' and 'rear' channels of all the other encodes are the wrong way round. As tested using my OPPO UDP-203.
Kuler087
22nd September 2022, 23:51
, the 'side' and 'rear' channels of all the other encodes are the wrong way round.
indeed... It looks like my DEE settings are incorrect, I did a couple of tests and it keep inverting the Side and Back channels.
https://slow.pics/c/8QFfx2Wv
Can anyone help ? Do you see whats wrong in my xml file?
<?xml version="1.0" encoding="utf-8"?>
<job_config>
<input>
<audio>
<wav version="1">
<file_name>1.wav</file_name>
<timecode_frame_rate>not_indicated</timecode_frame_rate>
<offset>auto</offset>
<ffoa>auto</ffoa>
<storage>
<local>
<path>D:\TEMP_folder\</path>
</local>
</storage>
</wav>
</audio>
</input>
<filter>
<audio>
<pcm_to_ddp version="3">
<loudness>
<measure_only>
<metering_mode>1770-3</metering_mode>
<dialogue_intelligence>true</dialogue_intelligence>
<speech_threshold>20</speech_threshold>
</measure_only>
</loudness>
<encoder_mode>ddp71</encoder_mode>
<bitstream_mode>complete_main</bitstream_mode>
<downmix_config>off</downmix_config>
<data_rate>1024</data_rate>
<timecode_frame_rate>not_indicated</timecode_frame_rate>
<start>0:00:00.005333</start>
<end>end_of_file</end>
<time_base>file_position</time_base>
<prepend_silence_duration>0.0</prepend_silence_duration>
<append_silence_duration>0.0</append_silence_duration>
<lfe_on>true</lfe_on>
<dolby_surround_mode>yes</dolby_surround_mode>
<dolby_surround_ex_mode>no</dolby_surround_ex_mode>
<user_data>-1</user_data>
<drc>
<line_mode_drc_profile>music_light</line_mode_drc_profile>
<rf_mode_drc_profile>music_light</rf_mode_drc_profile>
</drc>
<custom_dialnorm>0</custom_dialnorm>
<lfe_lowpass_filter>true</lfe_lowpass_filter>
<surround_90_degree_phase_shift>false</surround_90_degree_phase_shift>
<surround_3db_attenuation>false</surround_3db_attenuation>
<downmix>
<loro_center_mix_level>-3</loro_center_mix_level>
<loro_surround_mix_level>-3</loro_surround_mix_level>
<ltrt_center_mix_level>-3</ltrt_center_mix_level>
<ltrt_surround_mix_level>-3</ltrt_surround_mix_level>
<preferred_downmix_mode>loro</preferred_downmix_mode>
</downmix>
<allow_hybrid_downmix>false</allow_hybrid_downmix>
<embedded_timecodes>
<starting_timecode>off</starting_timecode>
<frame_rate>auto</frame_rate>
</embedded_timecodes>
</pcm_to_ddp>
</audio>
</filter>
<output>
<ec3 version="1">
<file_name>"THD.TEST.ec3"</file_name>
<storage>
<local>
<path>D:\</path>
</local>
</storage>
</ec3>
</output>
<misc>
<temp_dir>
<clean_temp>true</clean_temp>
<path>D:\TEMP_folder\</path>
</temp_dir>
</misc>
</job_config>
Balling
23rd September 2022, 08:32
Nuts, guys, Youtube added eac3 for 5.1.
yt-dlp.exe -F https://www.youtube.com/watch?v=xrYLJnrdae0
format 328.
328 m4a audio only │ 11.13MiB 384k https │ audio only ec-3 384k 48k high, THROTTLED, m4a_dash
filler56789
23rd September 2022, 08:52
Nuts, guys, Youtube added eac3 for 5.1.
yt-dlp.exe -F https://www.youtube.com/watch?v=xrYLJnrdae0
format 328.
328 m4a audio only │ 11.13MiB 384k https │ audio only ec-3 384k 48k high, THROTTLED, m4a_dash
Yes, that's a party 0_o
256 m4a audio only 6 | 5.66MiB 195k https | audio only mp4a.40.5 195k 24k low, m4a_dash
380 m4a audio only 6 | 11.13MiB 384k https | audio only ac-3 384k 48k high, m4a_dash
328 m4a audio only 6 | 11.13MiB 384k https | audio only ec-3 384k 48k high, m4a_dash
258 m4a audio only 6 | 11.24MiB 388k https | audio only mp4a.40.2 388k 48k high, m4a_dash
tebasuna51
23rd September 2022, 12:56
It looks like my DEE settings are incorrect, I did a couple of tests and it keep inverting the Side and Back channels.
Can anyone help ? Do you see whats wrong in my xml file?
It is not a problem of your xml file, a wav file have this channel order:
FL FR FC LF BL BR SL SR
and all eac3 7.1 encoders are wrong and ignore that order (only EAE based in ffmpeg know that), even if the wav file have the correct channelmask, and read it like:
L R C LFE Ls Rs Rls Rrs
(Ls=SL, Rrs=BR)
The input wav files must be remaped always, the deew (https://forum.doom9.org/showthread.php?t=184175) (DEE Wrapper: automatic channel swapping for 7.1 sources) make the job for you,
or manually (https://forum.doom9.org/showthread.php?p=1967342#post1967342) for Audition (https://forum.doom9.org/showthread.php?p=1963144#post1963144) or TotalCode (https://forum.doom9.org/showthread.php?p=1967227#post1967227)
Kuler087
23rd September 2022, 15:02
all eac3 7.1 encoders are wrong and ignore that order (only EAE based in ffmpeg know that), even if the wav file have the correct channelmask, and read it like:
L R C LFE Ls Rs Rls Rrs
(Ls=SL, Rrs=BR)[/URL]
wow, incredible. Well done Dolby. Thanks a lot(again) for the all info.
pcroland
23rd September 2022, 15:30
indeed... It looks like my DEE settings are incorrect, I did a couple of tests and it keep inverting the Side and Back channels.
Use deew, it swaps the channels automatically so DEE will encode it correctly.
Kuler087
23rd September 2022, 15:48
Use deew, it swaps the channels automatically so DEE will encode it correctly.
thanks but I already wrote my own script that converts UHD-BD to profile 8 DV with EC3 7.1. So @tebasuna51 manual solution works well, I just tried.
%ffmpeg_path% -drc_scale 0 -i %input_path% -map 0:%ID% -filter_complex "pan=7.1|c0=c0|c1=c1|c2=c2|c3=c3|c4=c6|c5=c7|c6=c4|c7=c5" -rf64 auto -c pcm_s24le %TEMP%temp.wav
EDIT:
This whole story got me curious and I checked an original BD with a 7.1 EC3 track and the channels are also out of order.. seriously Dolby wtf?
https://slow.pics/c/diDhad6t
Balling
24th September 2022, 09:17
This whole story got me curious and I checked an original BD with a 7.1 EC3 track and the channels are also out of order.. seriously Dolby wtf?
https://slow.pics/c/diDhad6t
Your EAC3 has DRC applied... are we sure there is no any metadata in EAC3?
I imagine this is why most Blu-rays have no EAC3. And of course EAC3 having AC3 inside.
Balling
24th September 2022, 13:07
Yesterday Audacity Stable was released, BTW with support of HEAD of ffmpeg.
Kuler087
24th September 2022, 14:49
Your EAC3 has DRC applied... are we sure there is no any metadata in EAC3?
I dont know how to check if a file has DRC.
check your PM I sent you a link to the whole 7.1 EC3 Atmos track from the Justice League BD.
filler56789
24th September 2022, 19:07
1)
This whole story got me curious and I checked an original BD with a 7.1 EC3 track and the channels are also out of order.. seriously Dolby wtf?
https://slow.pics/c/diDhad6t
2)
It is not a problem of your xml file, a wav file have this channel order:
FL FR FC LF BL BR SL SR
and ALL eac3 7.1 encoders are wrong and ignore that order
(only EAE based in ffmpeg know that),
even if the wav file have the correct channelmask, and read it like:
L R C LFE Ls Rs Rls Rrs
(Ls=SL, Rrs=BR)
conclusion: friends don't let friends use 7.1 "enhanced"-AC-3. :-|
Balling
26th September 2022, 01:13
First of all what is this:
L R C LFE Ls Rs Tfl Tfr
Never saw it on blu-ray, nor did I ever see Bit rate: 1 512 kb/s for eac3.
Duration: 4 h 2 min on Blu-ray was also a shock, but yeah, long movie... There is no EAC3 sound on Blu-ray... There is AC3 core on your sample in my DM. So that at leasy checks out (00001F47 strmtyp: 1 (0x1) - (2 bits)):
Type 1: These frames comprise a dependent substream. The programme shall be decoded in conjunction with the independent substream with which it is associated.
SeeMoreDigital
26th September 2022, 08:59
There is no EAC3 sound on Blu-ray... There is AC3 core on your sample in
Are you referring to EAC3 being present on a particular Blu-ray disc or EAC3 (without an AC3 core) being available on the Blu-ray format in general? If it's the latter then you are wrong...
tebasuna51
26th September 2022, 11:32
First of all what is this:
L R C LFE Ls Rs Tfl Tfr
The same than (L R C LFE Ls Rs Vhl Vhr) (https://mediaarea.net/AudioChannelLayout) a EAC3 channel map than can be obtained with Audition 2017 (https://forum.doom9.org/showthread.php?p=1963144#post1963144).
And is played in my AVR like it was a Atmos 3D 5.1.2 front (https://forum.doom9.org/showthread.php?p=1963264#post1963264)
Of course aren't in BD's but if Atmos tracks are recoded to (L R C LFE Ls Rs Vhl Vhr) can save space and sended by SPDIF (my TV SAMSUNG player to AVR-DENON). It is my only interest in eac3 8 channels, for me 2D 5.1 and 7.1 are the same.
Kuler087
26th September 2022, 12:11
First of all what is this:
L R C LFE Ls Rs Tfl Tfr
Never saw it on blu-ray, nor did I ever see Bit rate: 1 512 kb/s for eac3.
Duration: 4 h 2 min on Blu-ray was also a shock, but yeah, long movie... There is no EAC3 sound on Blu-ray... There is AC3 core on your sample in my DM. So that at leasy checks out (00001F47 strmtyp: 1 (0x1) - (2 bits)):
Type 1: These frames comprise a dependent substream. The programme shall be decoded in conjunction with the independent substream with which it is associated.
The track come from this bluray:
https://www.blu-ray.com/movies/Zack-Snyders-Justice-League-Blu-ray/288273/
Balling
26th September 2022, 12:42
Are you referring to EAC3 being present on a particular Blu-ray disc or EAC3 (without an AC3 core) being available on the Blu-ray format in general? If it's the latter then you are wrong...
The first, but apparently there is such a Blu-ray.
Balling
27th September 2022, 14:11
BTW, "C:\tmp\Plex\Plex Media Server\Plex Transcoder.exe" -c:a pcm_s24le -i "C:\Users\Pepe\Core.wav" -eae_root C:\Users\Pepe core.eac3
This command uses -c:a pcm_s24le, but it is not needed here, wav encoding defaults to 24 bit to flac, eac3, truehd (with newer ffmpeg with activated 24 bit TrueHD that is). No, the only time it is needed is if you decode .thd to wav or .eac3 to wav. BTW, I still think drc_scale and normal native ffmpeg should be used to decode.
tormento
27th September 2022, 16:11
And is played in my AVR like it was a Atmos 3D 5.1.2 front
Waiting for proper support in deew of Atmos, is there a way to have 5.1.2 instead of 7.1?
Balling
27th September 2022, 17:02
The same than (L R C LFE Ls Rs Vhl Vhr) (https://mediaarea.net/AudioChannelLayout) a EAC3 channel map than can be obtained with Audition 2017 (https://forum.doom9.org/showthread.php?p=1963144#post1963144).
And is played in my AVR like it was a Atmos 3D 5.1.2 front (https://forum.doom9.org/showthread.php?p=1963264#post1963264)
Of course aren't in BD's but if Atmos tracks are recoded to (L R C LFE Ls Rs Vhl Vhr) can save space and sended by SPDIF (my TV SAMSUNG player to AVR-DENON). It is my only interest in eac3 8 channels, for me 2D 5.1 and 7.1 are the same.
I understand that Vhl is Tfl. And Vhr is Tfr. The problem is I never saw something like that on Blu-ray. And I never saw such high bitrate. Again, this is native Blu-ray. This cannot be Audition 2017, because the eac3 sample is JOC, i.e. Atmos.
tebasuna51
28th September 2022, 10:45
Waiting for proper support in deew of Atmos, is there a way to have 5.1.2 instead of 7.1?
Like I say in the Deew thread (https://forum.doom9.org/showthread.php?p=1974383#post1974383) I don't know how pass the correct channel map (5.1.2) to Dolby Encoder Engine, and dee.exe ignore the channel mask of wav file input and output always 7.1
tebasuna51
29th September 2022, 15:08
Some off topic posts moved to https://forum.doom9.org/showthread.php?t=184364 and https://forum.doom9.org/showthread.php?t=184175
Balling
30th September 2022, 07:28
Like I say in the Deew thread (https://forum.doom9.org/showthread.php?p=1974383#post1974383) I don't know how pass the correct channel map (5.1.2) to Dolby Encoder Engine, and dee.exe ignore the channel mask of wav file input and output always 7.1
Well, Netflix somehow encodes Artmos into 5.1 EAC3. Even 16 objects.
Balling
1st October 2022, 21:03
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.
Balling
2nd October 2022, 00:01
BTW, you can turn off "DRC default on" and plex will not do DRC.
filler56789
2nd October 2022, 07:20
Friendly reminder that the title of this thread is
"Looking for a(n) eac3 7.1 encoder".
Also, it is not safe to discuss wärexxx on this board :-|
junh1024
2nd October 2022, 08:57
Like I say in the Deew thread (https://forum.doom9.org/showthread.php?p=1974383#post1974383) I don't know how pass the correct channel map (5.1.2) to Dolby Encoder Engine, and dee.exe ignore the channel mask of wav file input and output always 7.1
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.
tormento
2nd October 2022, 11:07
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.
tormento
2nd October 2022, 11:08
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.
SeeMoreDigital
2nd October 2022, 11:44
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...
tebasuna51
2nd October 2022, 18:36
Like I say Mainconcept Totalcode (https://forum.doom9.org/showthread.php?p=1967227#post1967227) 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.
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.
pcroland
3rd October 2022, 19:53
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.
Balling
4th October 2022, 03:52
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...
Balling
6th October 2022, 06:29
Carl accepted the bug. So hope will be fixed! Mono thd is not affected.
Balling
9th October 2022, 05:28
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.
tormento
31st October 2022, 20:24
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?
SeeMoreDigital
31st October 2022, 21:01
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...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.