Support A_MS/ACM as produced by MakeMKV
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Support A_MS/ACM as produced by MakeMKV
This audio codec ID needs to be supported. tebasuna51
Support A_MS/ACM as produced by MakeMKV
AFAIK, if you force MakeMKV putting multi-channel audio in A_PCM/INT container, you will loose channel layout information.
Set "Expert mode" in MakeMKV preferences.
Then go to last tab (Advanced) and select FLAC profile.
Otherwise, if you already have a A_PCM/INT file, use Header editor of MKVToolnix GUI.
Scroll down to the audio track that contains the LPCM audio and change the Codec ID from "A_MS/ACM" to "A_PCM/INT/LIT".
Third option is use eac3to to convert the audio stream.
Support A_MS/ACM as produced by MakeMKV
Why is any of that better than to just support A_MS/ACM directly?
Just changing the codec ID does not work. I tried.
Maybe I am missing your point.
Just changing the codec ID does not work. I tried.
Maybe I am missing your point.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Support A_MS/ACM as produced by MakeMKV
I'm sure FLAC profile must be better, but we're concerned with demuxing what is handed to us.
Support A_MS/ACM as produced by MakeMKV
Read some info about this https://forum.doom9.org/showthread.php? ... ost1966534
I think than DGIndex/Demux can create the wav/w64 headers, to insert before RAW data like now do, with the Codec Private data of A_MS/ACM without problems,
I think than DGIndex/Demux can create the wav/w64 headers, to insert before RAW data like now do, with the Codec Private data of A_MS/ACM without problems,
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Support A_MS/ACM as produced by MakeMKV
Exactly, thank you.
Support A_MS/ACM as produced by MakeMKV
Maybe is the same.
I don't know if BluRay specs can support some PCM channel mapping different than tsMuxeR supported, but I test BD's created by tsMuxeR loading wav's with different channel layouts and:
Code: Select all
WAV tsMuxeR MakeMkv
Channels Map Source Map m2ts Map mkv (wav=flac)
-------- ----------------------- -------------------- ----------------------
2 C LFE # L R = L R
2 L R = L R = L R
3 L R LFE = L R LFE * L R Cb
3 L R Cb # L R C = L R C
3 L R C = L R C = L R C
4 L R LFE Cb # L C R LFE * L R C Cb
4 L R Lb Rb ~ L R Ls Rs = L R Ls Rs
4 L R C LFE = L C R LFE * L R C Cb
4 L R C Cb # L R Ls Rs = L R Ls Rs
5 L R LFE Lb Rb # L R C Ls Rs = L R C Ls Rs
5 L R C LFE Cb # L R C Ls Rs = L R C Ls Rs
5 L R C Lb Rb ~ L R C Ls Rs = L R C Ls Rs
6 L R C LFE Lb Rb ~ L R C Ls Rs LFE = L R C Ls Rs LFE
6 L R C Lb Rb Cb # L R C Ls Rs LFE = L R C Ls Rs LFE
6 L R C Cb Ls Rs # L R C Ls Rs LFE = L R C Ls Rs LFE
7 L R C LFE Lb Rb Cb # L R C Ls Rs Lb Rb = L R C Ls Rs Lb Rb
8 L R C LFE Lb Rb Ls Rs = L R C Ls Rs Lb Rb LFE = L R C Ls Rs Lb Rb LFE
8 L R C LFE Ls Rs Tfl Tfr # L R C Ls Rs Lb Rb LFE = L R C Ls Rs Lb Rb LFE
Notes:
~: With less than 7 channels the Lb Rb pair is considered equivalent to Ls Rs, and must be read as Surround channels (not back or side).
#: tsMuxeR seems can't preserve the channel layout in PCM data, only if LFE is present in 3/4 channels the layout is preserved. With 2/5/6/7/8 channels the layout is fix.
*: MakeMKV change the layout (the same for wav and flac) of m2ts, only when flac show a message:
FFMPEG_ERROR: FFENC002: [flac @ 0000015428fe84f0] Channel layout not supported by Flac, output stream will have incorrect channel layout.
FFMPEG_ERROR: FFENC005: [flac @ 0000015428f04f50] Channel layout not supported by Flac, output stream will have incorrect channel layout.
FFMPEG_ERROR: FFENC007: [flac @ 0000015428a5ba80] Channel layout not supported by Flac, output stream will have incorrect channel layout.