To sumarize the problem here.
I found two kind of EAC3 streams detected by eac3to without core (2 English) or with core (3 Spanish) like is show here (
sample):
Code:
eac3to Eac30.m2ts
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 0:01:23, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: E-AC3, English, 5.1 channels, 640kbps, 48kHz
3: E-AC3, Spanish, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
Over this m2ts we can do, adding or not the -core, some times [ignored]:
eac3to Eac30.m2ts 2: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.m2ts 2: output.ac3 [-core] -> OK recoded to ac3
All ok over track 2
eac3to Eac30.m2ts 3: output.eac3 -> ERROR
eac3to Eac30.m2ts 3: output.eac3 -core -> OK AC3.eac3 output
eac3to Eac30.m2ts 3: output.ac3 -> ERROR
eac3to Eac30.m2ts 3: output.ac3 -core -> useless, recoded core
Over track 3, can't extract or recode (maybe because: Dependent substream decoding is not implemented) the full eac3.
Can extract a perfect AC3 core (when demand eac3 extensión) or recode the core (useless)
Now the same m2ts converted to mkv with MkvToolNix is show by eac3to like:
Code:
eac3to Eac30.mkv
------------------------------------------------------------------------------
MKV, 1 video track, 2 audio tracks, 0:01:23, 24p /1.001
1: h264/AVC, English, 1080p24 /1.001 (16:9)
2: EAC3, English, 5.1 channels, 48kHz
3: EAC3, Spanish, 5.1 channels, 48kHz
Bitstream parsing for tracks 2 and 3 failed. <WARNING>
Demuxing these tracks may still produce correct results - or not. <WARNING>
And now:
eac3to Eac30.mkv 2: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.mkv 2: output.ac3 [-core] -> ERROR
eac3to Eac30.mkv 3: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.mkv 3: output.ac3 [-core] -> ERROR
Can extract both tracks but never decode/recode
EDIT:
Decoding track 3 with ffmpeg show always (from m2ts or mkv) the message: Dependent substream decoding is not implemented.
Then MkvToolNix don't extract the AC3 core, preserve the substream to convert 5.1 -> 7.1 even when eac3to show only 5.1 on mkv.
Remuxed the mkv to m2ts with tsMuxeR the track 3 is showed by eac3to like original Eac30.m2ts
Without free tools to decode EAC3 7.1 (always decode the core) the recommended option, by now, is extract the core from m2ts
eac3to Eac30.m2ts 3: output.eac3 -core
and rename to .ac3