AC3: Specified channel layout '7.1' is not supported

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
jurgenk
Posts: 8
Joined: Wed Jan 29, 2014 1:06 pm

AC3: Specified channel layout '7.1' is not supported

Post by jurgenk »

I normally always succeeded in ripping my BluRays to MKV with a additional AC3 track. However, I now have a BluRay that fails immediately.
Is it expected that 7.1 audio is not able to be encoded to AC3?

Unfortunately I just had upgraded my MakeMKV to the 1.9 version, so I don't know for sure it's caused by this upgrade. I did however try with a older one that normally worked, but that one also failed.

Log:

Code: Select all

FFENC001: option b=640k
DTS001: Using dtsdecoderdll.dll version 1.1.0.9@2013/04/26 from C:/Program Files (x86)/MakeMKV/dtsdecoderdll.dll
DTS001: Launching C:\Program Files (x86)\MakeMKV\mmdtsdec.exe
DTS001: MakeMKV DTS-HD decoder v1.9.0 win(x86-release)
DTS001: DLL: Channels=8 Bits=24 Rate=48000 Mask=84b/63f
DTS001: DLL: Using DLL version 1.1.0.9@2013/04/26 from C:/Program Files (x86)/MakeMKV/dtsdecoderdll.dll
DTS001: DLL: BUILD DATE = Apr 26 2013,BUILD TIME = 15:44:06,VERSION = 325,REVISION = 27
DTS001: DLL: Find sync word: 7ffe8001
DTS001: DLL: Find sync extension: 3f
DTS001: DLL: Frame #1:
DTS001: DLL: Decoded audio will be stored in the following files:
DTS001: DLL: 	file_L_R.wav for front left channel and front right channel
DTS001: DLL: 	file_C_LFE1.wav for center channel and LFE channel
DTS001: DLL: 	file_Lss_Rss.wav for side srrd left channel and side srrd right channel
DTS001: DLL: 	file_Lsr_Rsr.wav for rear srrd left channel and rear srrd right channel
DTS001: DLL: Frame #2:
DTS001: DLL: Frame #3:
DTS001: DLL: Frame #4:
DTS001: DLL: Frame #5:
DTS001: DLL: Frame #6:
DTS001: DLL: Frame #7:
DTS001: DLL: Frame #8:
DTS001: DLL: Frame #9:
DTS001: DLL: Frame #10:
DTS001: DLL: Frame #11:
DTS001: DLL: Frame #12:
DTS001: DLL: Frame #13:
DTS001: DLL: Frame #14:
DTS001: DLL: Frame #15:
DTS001: DLL: Frame #16:
FFENC001: [ac3 @ 00000000271afa70] Warning: not compiled with thread support, using thread emulation
FFENC001: [ac3 @ 00000000271afa70] Specified channel layout '7.1' is not supported
001002:0020 LIBMKV_TRACE: failed to initialize encoder 'ac3', see the log file for details
001002:0020 LIBMKV_TRACE: FFENC001: [ac3 @ 00000000271afa70] Specified channel layout '7.1' is not supported
001003:0020 DEBUG: Code 0 at O.zkZ#@-*aln/Tg?:29394804
001003:0020 DEBUG: Code 2 at [h6%WpV^_oY?MIKc+F:213136654
001003:0020 DEBUG: Code 117571894 at /0F8G?PRja~P+dQKBcFI63:121263981
001003:0020 DEBUG: Code 0 at [h6%WpV^_oY?MIKc+F:29400669
Conversion profile:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
<!-- profile name - Default -->
<name lang="eng">AC3</name>

<!-- Common MKV flags -->
<mkvSettings
ignoreForcedSubtitlesFlag="true"
useISO639Type2T="false"
setFirstAudioTrackAsDefault="true"
setFirstSubtitleTrackAsDefault="true"
setFirstForcedSubtitleTrackAsDefault="true"
insertFirstChapter00IfMissing="true"
/>

<!-- Settings overridable in preferences -->
<profileSettings
app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
/>

<!-- Output formats currently supported by MakeMKV -->
<outputSettings name="copy" outputFormat="directCopy">
<description lang="eng">Copy track as is</description>
<description lang="ger">Track 1:1 kopieren</description>
</outputSettings>

<outputSettings name="lpcm" outputFormat="LPCM-raw">
<description lang="eng">Save as raw LPCM</description>
<description lang="ger">Als RAW LPCM speichern</description>
</outputSettings>

<outputSettings name="wavex" outputFormat="LPCM-wavex">
<description lang="eng">Save as LPCM in WAV container</description>
<description lang="ger">Als LPCM im WAV-Container speichern</description>
</outputSettings>

<outputSettings name="ac3" outputFormat="AC3">
<description lang="eng">Save as AC3</description>
<description lang="ger">Als AC3 speichern </description>
<extraArgs>-b 640k</extraArgs>
</outputSettings>



<!-- Default rule - copy as is -->
<trackSettings input="default">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

<!-- Save LPCM mono or stereo as ac3 -->
<trackSettings input="LPCM-stereo">
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

<!-- Save multi-channel LPCM as ac3 -->
<trackSettings input="LPCM-multi">
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>

<!-- Save TRUEHD as ac3 -->
<trackSettings input="TRUEHD-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>

</trackSettings>
<trackSettings input="TRUEHD-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>

</trackSettings>
<trackSettings input="MLP-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="MLP-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>

<!-- Save DTS-HD as ac3 -->
<trackSettings input="DTSHDMA-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="DTSHDMA-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>

<!-- Save DTS as ac3 -->
<trackSettings input="DTS-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="DTS-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>


<!-- Save DTS-HD LBR (low quality) as ac3 (just to decode) -->
<trackSettings input="DTSHDLBR-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>
<trackSettings input="DTSHDLBR-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

</profile>
jurgenk
Posts: 8
Joined: Wed Jan 29, 2014 1:06 pm

Re: AC3: Specified channel layout '7.1' is not supported

Post by jurgenk »

It seems that AC3 only supports 5.1

I have added a 5.1 audiomix setting to the DTSHDMA-multi tracksetting, and now it works ok.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
<!-- profile name - Default -->
<name lang="eng">AC3</name>

<!-- Common MKV flags -->
<mkvSettings
ignoreForcedSubtitlesFlag="true"
useISO639Type2T="false"
setFirstAudioTrackAsDefault="true"
setFirstSubtitleTrackAsDefault="true"
setFirstForcedSubtitleTrackAsDefault="true"
insertFirstChapter00IfMissing="true"
/>

<!-- Settings overridable in preferences -->
<profileSettings
app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
/>

<audioMixSettings name="16B51"
        outputBPS="16"
        outputChannelLayout="5.1">
        <description lang="eng">16-bit 5.1</description>
    </audioMixSettings>

<!-- Output formats currently supported by MakeMKV -->
<outputSettings name="copy" outputFormat="directCopy">
<description lang="eng">Copy track as is</description>
<description lang="ger">Track 1:1 kopieren</description>
</outputSettings>

<outputSettings name="lpcm" outputFormat="LPCM-raw">
<description lang="eng">Save as raw LPCM</description>
<description lang="ger">Als RAW LPCM speichern</description>
</outputSettings>

<outputSettings name="wavex" outputFormat="LPCM-wavex">
<description lang="eng">Save as LPCM in WAV container</description>
<description lang="ger">Als LPCM im WAV-Container speichern</description>
</outputSettings>

<outputSettings name="ac3" outputFormat="AC3">
<description lang="eng">Save as AC3</description>
<description lang="ger">Als AC3 speichern </description>
<extraArgs>-b 640k</extraArgs>

</outputSettings>



<!-- Default rule - copy as is -->
<trackSettings input="default">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

<!-- Save LPCM mono or stereo as ac3 -->
<trackSettings input="LPCM-stereo">
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

<!-- Save multi-channel LPCM as ac3 -->
<trackSettings input="LPCM-multi">
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>

<!-- Save TRUEHD as ac3 -->
<trackSettings input="TRUEHD-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>

</trackSettings>
<trackSettings input="TRUEHD-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>

</trackSettings>
<trackSettings input="MLP-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="MLP-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>

<!-- Save DTS-HD as ac3 -->
<trackSettings input="DTSHDMA-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="DTSHDMA-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="16B51">
</output>
</trackSettings>

<!-- Save DTS as ac3 -->
<trackSettings input="DTS-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>
<trackSettings input="DTS-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
</trackSettings>


<!-- Save DTS-HD LBR (low quality) as ac3 (just to decode) -->
<trackSettings input="DTSHDLBR-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>
<trackSettings input="DTSHDLBR-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="ac3"
defaultSelection="$app_DefaultSelectionString">
</output>
</trackSettings>

</profile>
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: AC3: Specified channel layout '7.1' is not supported

Post by mike admin »

jurgenk wrote:It seems that AC3 only supports 5.1

I have added a 5.1 audiomix setting to the DTSHDMA-multi tracksetting, and now it works ok.
Please note that MakeMKV has a known limitation - down-mix is added unconditionally. So if you ever get a stereo DTS-HD track, it will be also "up-mixed" to 5.1 . This is planned to be fixed via ability to specify down-mix depending on source channel layout.
laaank
Posts: 4
Joined: Sat Oct 19, 2019 4:21 pm

Re: AC3: Specified channel layout '7.1' is not supported

Post by laaank »

I just had the same issue with 7.1. - The proposed audio mix addition (fix) does not work in my case (was unknown) - Can this be fixed differently now ?
Post Reply