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. |
3rd October 2021, 23:35 | #61 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
Other problem with the EAC3 generated by EasyEncoder.
If you load the sample.mkv in MKVToolNix the EAC3 7.1 is not recognized. By eac3to: Quote:
Quote:
Maybe is because all the frames have the header field 'bsid' with the value 12. The well know values are: 8 for Standard Syntax, 6 for Alternate Syntax and 16 for Enhanced Syntax. But is a valid value: Quote:
__________________
BeHappy, AviSynth audio transcoder. |
|||
4th October 2021, 16:01 | #62 | Link |
Registered User
Join Date: Jul 2021
Posts: 7
|
Great research! I definitely don't have the knowledge to do that kind of digging.
I know Plex has issue with compatibility when it comes to these EAC3 7.1 tracks. Also, It uses an older build of ffmpeg/ffprobe which only recognizes these 7.1 tracks as 5.1 in their GUI. During playback they do playback Dolby Digital 7.1. The current versions of ffmpeg/ffprobe recognize the tracks as 8 channel (7.1). Interesting about the DRC. Thanks for that info. I do use "night mode" sometimes in my setup, but it squashes the dynamic range. No more lows as they're basically mixed in to ensure less of an offending output. But, that's what it's supposed to do, so I can't complain. Also interesting about bsid 12. I noticed eac3to does a good job of recognizing and handling these EasyAudioEncoder-encoded tracks. mkvnix and tsmuxer seem to have some issues handling the tracks. Mediainfo usually shows the right information. |
5th October 2021, 11:59 | #63 | Link | |
Registered User
Join Date: Feb 2020
Posts: 552
|
Quote:
I can paste the docx files which are only available to members though. Atmos metadata in EAC3 is decoded using Hafmann tables which are also available. https://portal.etsi.org/webapp/workp...p?WKI_ID=52775 here top right corner, pdf, docx, and zip with tables. Last edited by Balling; 14th October 2021 at 22:36. |
|
5th October 2021, 12:17 | #64 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
To resume the situation:
Quote:
But the problem can be override instructing the player to don't apply DRC to AC3/EAC3 (the only than have these normally, DTS can have also but don't use it). I always recommend do so on players, we can use instead AVR functions like 'Night mode' than can be applied to any audio, (not only AC3/EAC3) with a button in the remote control instead changing the player configuration. Seems also than recode only until 1024 Kb/s. But I think is enough Quote:
Do you need to be connected to Internet at this moment? To obtain some permission for instance. Quote:
"C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe" -i INPUT7.1 -c:a eac3_eae -b:a 1280k OUTPUT.eac3 Where INPUT7.1 can be a TrueHD (if the ffmpeg version is too old maybe need before the input the parameter -c:a:0 truehd_eae) or a DTS-HD (if the ffmpeg version is too old maybe don't support DTS-HD and need a previous decode to .W64/WAV) or a WAV (or W64 if is greater than 4 GB). Any volunteer to check if is really free?
__________________
BeHappy, AviSynth audio transcoder. |
|||
5th October 2021, 18:35 | #65 | Link | |
Registered User
Join Date: Jul 2021
Posts: 7
|
Quote:
Sorry I can't be more help with Windows. The process isn't exactly clean, as it requires the proper environment variables, and needs a running EasyAudioEncoder instance before executing the Plex Transcoder (ffmpeg) command. And as I mentioned before, I paid for Plex Pass, which may have allowed me EasyAudioEncoder for 7.1 transcoding when playing on Plex (existence of EasyAudioEncoder and license file). BUT, I don't know that 100%, I actually suspect it is included with the free version. So, if someone wants to try, they can sign up for a free Plex account at plex.tv and download my sample from here (same sample as on the Plex forums), add it to your server once setup, and see if it'll transcode the first audio track (TrueHD) to EAC3 7.1 when playing back on your 7.1-capable TV/box & AV setup. If it does, EasyAudioEncoder exists and can be used in a manner like my "audiotool". Last edited by ymgenesis; 5th October 2021 at 18:45. |
|
18th October 2021, 19:00 | #66 | Link |
Registered User
Join Date: Mar 2017
Posts: 10
|
tried the same with my plexserver and get this:
C:\Program Files (x86)\Plex\Plex Media Server\Plex Transcoder.exe" -i "C:\tmp\cut.mkv" -map v:0 -map a:0 -c:v copy -c:a:0 eac3_eae -b:a:0 1280k plex_convert.mkv [truehd_eae @ 02a6f400] No EAE watchfolder set! Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (truehd (truehd_eae) -> eac3 (eac3_eae)) Error while opening decoder for input stream #0:1 : Generic error in an external library ideas? Last edited by tebasuna51; 18th October 2021 at 22:28. Reason: image removed, info already in the post |
18th December 2021, 20:16 | #70 | Link |
Registered User
Join Date: Nov 2004
Posts: 251
|
This 7.1ch DD+ encoding does not developing quickly.
My first post near 6 years old asking it. |
2nd February 2022, 22:39 | #71 | Link | |
Registered User
Join Date: Jun 2016
Location: Canada
Posts: 131
|
Adobe Audition 2017 Can Do It!
Quote:
The 2017 version can encode 7.1 EAC3 up to 1024. It can also enable the surround EX flag for AC3 and EAC3. Audition's Dolby encoding is accessible via File -> Export -> File, after double-clicking the loaded source file. The plethora of studio-level configuration options suggests Audition's AC3/EAC3 encoders are the no-compromise, professional version(s). Lossless sources in TrueHD and dts-HD formats won't load into Audition, but .w64 and FLAC versions, created with eac3to or similar, will. Audition outputs EAC3 files with .ec3 extensions. Though the .ec3 will need to be changed to .eac3 to be recognized by some software, MKVToolNix correctly outputs EAC3 tracks from .ec3 or eac3. Matroska files containing EAC3, including 7.1, created with Audition, are playable with VLC, MPC-HC, KODI, Microsoft Movies & TV and Windows Media Player. -My playback tests were done on various Windows 10 PCs outputting in 2-channel stereo via HDMI and DisplayPort. Last edited by FuzzyNutz; 5th February 2022 at 21:09. |
|
3rd February 2022, 20:00 | #72 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
I make a test with the EAC3 encoder in Audition 2017.
Like FuzzyNutz say we can access it with the menu: File -> Export -> Export File And we can configure all settings like I explain here (see the attached image) with some considerations: 3) Change Sample type By default put 5.1 and we need change to Same as source for 7.1 EAC3 output. But seems there are a bug and we need remap (swap BL-BR with SL-SR) the input file to obtain a correct channel mapping output. If we want recode a DTS-MA 7.1 we need obtain a remaped W64 file for instance with eac3to: eac3to 8v341.dtshd 8v341.dtshd_R.w64 -0,1,2,3,6,7,4,5 5) Codec Mode: only Dolby Digital Plus can output eac3 7.1 and not BluRay compliant. The rest if for AC3 until 5.1 6) Channel Configuration: the standard wav 7.1 order is FL,FR,FC,LFE,BL,BR,SL,SR to output L R C LFE Ls Rs Rls Rls we need the remap mentioned in 3) 7) The max bitrate offered is 1024 like was already mentioned. 8) Pre-Procesing: there are other values by default, but if we are recoding from a source already processed maybe is better uncheck all the options. 9) Dynamic Range Control: by default is Film Standard, but I recommend set to None to avoid volume problems already mentioned in this thread. Other settings can be let at defaults.
__________________
BeHappy, AviSynth audio transcoder. |
4th February 2022, 00:28 | #73 | Link |
Registered User
Join Date: Jun 2016
Location: Canada
Posts: 131
|
7.1 w64 Channel Remapping?
tebasuna51:
Should all 7.1 w64 files, (to be encoded in EAC3 7.1 with Adobe Audition 2017), be remapped regardless of whether the source was dts-ma, TrueHD, FLAC, LPCM etc.? Have you confirmed Audition's Dolby encoding is not automatically remapping (map correcting) when creating EAC3 7.1 from w64? Last edited by FuzzyNutz; 4th February 2022 at 00:49. |
4th February 2022, 00:39 | #74 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
Must be remaped always, seems a problem with the Audition included encoder, can't recognize the standard WAV/W64 channel order FL,FR,FC,LFE,BL,BR,SL,SR and asign BL,BR to Ls,Rs instead to Rls,Lls.
__________________
BeHappy, AviSynth audio transcoder. |
4th February 2022, 01:16 | #76 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
Nope, it is not a eac3to job (maybe only for LPCM) the decoders (libav, arcsoft, ...) must decode to standard WAV/W64 channel order and the encoders (libaften, libflac and externals like ffmpeg) must know that order and convert to internal channel order of the codec.
We only need remap when a decoder or encoder is wrong. Here Audition show the correct WAV/W64 channel order, but the encoder don't correct the order to the internal order.
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 4th February 2022 at 01:27. |
4th February 2022, 01:24 | #77 | Link | |
Registered User
Join Date: Jun 2016
Location: Canada
Posts: 131
|
Quote:
Last edited by FuzzyNutz; 4th February 2022 at 01:41. |
|
4th February 2022, 02:22 | #78 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
All eac3to decoders (libav, libdcadec.dll, arcsoft,...) output correct WAV/W64 channel mapping, and all eac3to encoders (libaften, libflac, neroAacEnc.exe) read that channel order and change to internal equivalent channel order.
Also, if you use external decoders (ffmpeg.exe, flac.exe, Lame.exe, NeroAacDec.exe, opusdec.exe, oggdec.exe, wma2wav.exe, and others) always can output WAV/W64 with the correct channel order, no mather the internal channel order of the codec. And, if you use external encoders (fdkaac.exe, ffdcaenc.exe, ffmpeg.exe, flac.exe, lame.exe, neroAacEnc.exe, oggenc2.exe, opusenc.exe, qaac.exe, and others) always accept WAV/W64 files and know the input channel order, and is a job of the encoder convert to internal order if is different.
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 4th February 2022 at 02:29. |
4th February 2022, 02:55 | #79 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,080
|
To test the correct channel order you can use a Channel test like the attached.
Obtain a w64 with: ffmpeg -i "7.1_Channels.aac" -acodec pcm_s24le "7.1_Channels.w64" And encode the w64 with EAC3 Audition 2017 Now remap and encode: ffmpeg -i "7.1_Channels.aac" -filter_complex "pan=7.1|c0=c0|c1=c1|c2=c2|c3=c3|c4=c6|c5=c7|c6=c4|c7=c5" -acodec pcm_s24le "7.1_Channels_R.w64" And listen the two eac3 in a 7.1 audio system.
__________________
BeHappy, AviSynth audio transcoder. |
4th February 2022, 03:08 | #80 | Link | |
Registered User
Join Date: Jun 2016
Location: Canada
Posts: 131
|
Quote:
Thank you for your insight and efforts. Last edited by FuzzyNutz; 4th February 2022 at 03:38. |
|
Tags |
eac3 |
Thread Tools | Search this Thread |
Display Modes | |
|
|