Upmix Stereo to 5.1?

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Message
Author
Roehre
Posts: 3
Joined: Tue Apr 07, 2015 8:45 am

Upmix Stereo to 5.1?

#1 Post by Roehre » Tue Apr 07, 2015 12:18 pm

Hello,

How I can upmix Stereo Tracks to 5.1 using Dolby-Prologic?
dtsdecoderdll.dll is copied and registered.

Code: Select all

C:/Program Files (x86)/MakeMKV/dtsdecoderdll.dll
My Test Profile:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
<!-- profile name - AC3 -->
<name lang="eng">AC3_51</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="flac-fast" outputFormat="FLAC">
<description lang="eng">Save as FLAC (fast compression)</description> 
<extraArgs>-compression_level 5</extraArgs> 
</outputSettings>

<outputSettings name="aac" outputFormat="AAC">
<description lang="eng">Save as Mpeg-4 AAC-LC</description> 
<extraArgs>codec=libfdk_aac profile=LC</extraArgs> 
<extraArgs>afterburner=1</extraArgs> 
</outputSettings>
  
<outputSettings name="AC3" outputFormat="AC3">
<description lang="eng">Save as AC3</description>
<description lang="ger">Als AC3 speichern </description>
<extraArgs>-b 640k</extraArgs>
<extraArgs>channel_layout=5.1[FL][FR][FC][LFE][SL][SR]</extraArgs>
</outputSettings>


 <!--  Audio mix settings  --> 

<audioMixSettings name="surround51" mix="DolbyPrologic2" outputChannelLayout="5.1" outputBPS="16">
<description lang="eng">16-bit Dolby PrologicII upmix</description>
<description lang="ger">16-bit Dolby PrologicII upmix</description>
</audioMixSettings>

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

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

<!-- Save MPG mono or stereo as AC3 -->
<trackSettings input="MP2">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="MP3">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString"
audioMix="surround51">
</output>
</trackSettings>


<!-- Save LPCM mono or stereo as AC3 -->
<trackSettings input="LPCM-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString"
audioMix="surround51">
</output>
</trackSettings>


<!-- Save multi-channel LPCM as AC3 -->
<trackSettings input="LPCM-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</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"
audioMix="surround51">
</output>
</trackSettings>

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


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

<trackSettings input="MLP-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</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"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="DTSHDMA-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</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"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="DTS-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</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"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="DTSHDLBR-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString"
audioMix="surround51">
</output>
</trackSettings>


<!-- Save DTS-HD Core as AC3 -->
<trackSettings input="DTSHD-core-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="DTSHD-core-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</output>
</trackSettings>


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

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


<!-- Save EAC3 as AC3 -->
<trackSettings input="EAC3-stereo">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</output>
</trackSettings>

<trackSettings input="EAC3-multi">
<output outputSettingsName="copy"
defaultSelection="$app_DefaultSelectionString,+sel:true">
</output>
<output outputSettingsName="AC3"
defaultSelection="$app_DefaultSelectionString,+sel:true"
audioMix="surround51">
</output>
</trackSettings>


</profile>
crashes with Exception.

The Log:

Code: Select all

Debug log started at Tue Apr 07 12:11:15 2015 , written by MakeMKV v1.9.1 win(x64-release)
Using 524544KB for read cache.
001005:0000 MakeMKV v1.9.1 win(x64-release) gestartet
001004:0000 Debug-Aufzeichnung eingeschaltet. Aufzeichnung wird gespeichert als C:\Users\MY/MakeMKV_log.txt
003007:0000 Direkter Zugriffsmodus wird verwendet
003028:0000 Titel #1 wurde hinzugefügt (1 cell(s), 0:13:09)
001003:0020 DEBUG: Code 233 at 09reGxSHiAnB3GvbPzgk1Mdd:0
005011:0000 Die Aufgabe wurde erfolgreich abgeschlossen
003006:0000 Öffne Dateien auf Festplatte in G:/Video/Film+Foto/Kino/VIDEO_TS
003002:0000 Berechneter BUP-Offset für VTS #0 stimmt nicht mit dem im IFO Header überein
003002:0000 Berechneter BUP-Offset für VTS #1 stimmt nicht mit dem im IFO Header überein
003008:0000 Titleset-Startsektor falsch zugeordnet für Titleset 1 : 1540 != 2048
003028:0000 Titel #1 wurde hinzugefügt (39 cell(s), 0:30:09)
005011:0000 Die Aufgabe wurde erfolgreich abgeschlossen
005015:0000 Saving 1 titles into directory C:/Film+Foto/Video/UNBENANNTE_DISK using profile 'AC3_51' from file 'C:\Program Files (x86)\MakeMKV/ac3-51-test.mmcp.xml'
FFDEC001: [ac3 @ 0000000000298e10] Warning: not compiled with thread support, using thread emulation
FFDEC003: [ac3 @ 00000000002b9070] Warning: not compiled with thread support, using thread emulation
FFDEC005: [ac3 @ 0000000022b8bfc0] Warning: not compiled with thread support, using thread emulation
FFDEC007: [ac3 @ 0000000022bc4a90] Warning: not compiled with thread support, using thread emulation
FFDEC009: [ac3 @ 0000000022c04160] Warning: not compiled with thread support, using thread emulation
FFDEC011: [ac3 @ 0000000022c34a90] Warning: not compiled with thread support, using thread emulation
FFDEC013: [ac3 @ 0000000022c63220] Warning: not compiled with thread support, using thread emulation
FFDEC015: [ac3 @ 0000000022c931b0] Warning: not compiled with thread support, using thread emulation
FFDEC017: [ac3 @ 0000000022cd5eb0] Warning: not compiled with thread support, using thread emulation
FFDEC019: [ac3 @ 0000000022d027b0] Warning: not compiled with thread support, using thread emulation
FFDEC021: [ac3 @ 0000000022d0a5f0] Warning: not compiled with thread support, using thread emulation
FFDEC023: [ac3 @ 0000000022d0f420] Warning: not compiled with thread support, using thread emulation
FFDEC025: [ac3 @ 0000000024f03430] Warning: not compiled with thread support, using thread emulation
FFDEC027: [ac3 @ 0000000024f40240] Warning: not compiled with thread support, using thread emulation
FFDEC029: [ac3 @ 0000000024f68450] Warning: not compiled with thread support, using thread emulation
FFDEC031: [ac3 @ 0000000024f96d50] Warning: not compiled with thread support, using thread emulation
FFDEC033: [ac3 @ 0000000024fbb650] Warning: not compiled with thread support, using thread emulation
FFDEC035: [ac3 @ 000000002501edf0] Warning: not compiled with thread support, using thread emulation
FFDEC037: [ac3 @ 000000002501f240] Warning: not compiled with thread support, using thread emulation
FFDEC039: [ac3 @ 000000002501f690] Warning: not compiled with thread support, using thread emulation
FFDEC041: [ac3 @ 000000002501fae0] Warning: not compiled with thread support, using thread emulation
FFDEC043: [ac3 @ 000000002501ff30] Warning: not compiled with thread support, using thread emulation
FFDEC045: [ac3 @ 0000000025020380] Warning: not compiled with thread support, using thread emulation
FFDEC047: [ac3 @ 00000000250207d0] Warning: not compiled with thread support, using thread emulation
FFDEC049: [ac3 @ 0000000025020c20] Warning: not compiled with thread support, using thread emulation
FFDEC051: [ac3 @ 0000000025021070] Warning: not compiled with thread support, using thread emulation
FFDEC053: [ac3 @ 00000000250214c0] Warning: not compiled with thread support, using thread emulation
FFDEC055: [ac3 @ 0000000025021910] Warning: not compiled with thread support, using thread emulation
FFDEC057: [ac3 @ 0000000025021d60] Warning: not compiled with thread support, using thread emulation
FFDEC059: [ac3 @ 00000000250221b0] Warning: not compiled with thread support, using thread emulation
FFDEC061: [ac3 @ 0000000025022600] Warning: not compiled with thread support, using thread emulation
FFDEC063: [ac3 @ 0000000025022a50] Warning: not compiled with thread support, using thread emulation
FFENC065: option b=640k
FFENC065: option channel_layout=5.1[FL][FR][FC][LFE][SL][SR]
FFMIX002: [FFM_AudioMix @ 000000002207ec90] audio_mix: stereo to 5.1(side)
FFMIX002: [FFM_AudioMix @ 000000002207ec90] matrix size: 0 x 0
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (SKIP)  (SKIP)
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (SKIP)  (SKIP)
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (ZERO)  (ZERO)
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (ZERO)  (ZERO)
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (ZERO)  (ZERO)
FFMIX002: [FFM_AudioMix @ 000000002207ec90]   (ZERO)  (ZERO)

what's my failure?

Woodstock
Posts: 10315
Joined: Sun Jul 24, 2011 11:21 pm

Re: Upmix Stereo to 5.1?

#2 Post by Woodstock » Tue Apr 07, 2015 1:25 pm

MakeMKV is not intended to add channels that don't exist. There are specialty programs that will do that, but MakeMKV isn't one of them.

The conversions in MakeMKV are intended to increase COMPATIBILITY, not CAPABILITY.

Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: Upmix Stereo to 5.1?

#3 Post by Romansh » Tue Apr 07, 2015 8:58 pm

FFmpeg bug would be my guess. Can't be bothered to test it, TBH.

Post Reply