Menu

#870 E-AC3 extract

General
closed-fixed
nobody
None
5
2018-11-12
2017-01-16
No

Source:

9: E-AC3, Portuguese, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)

E-AC3 with core extraction is not configured correctly for HD Stream Extractor, currently runs:

For AC3 audio:
"D:\megui\tools\eac3to\eac3to.exe" "G:\" 1) 9:"D:\\Movie_T9_Audio - Portuguese.ac3" -progressnumbers

Error:

The libav decoder reported error -22 while decoding.  <ERROR>
Aborted at file position 1748522.  <ERROR>

and for Full E-AC3:

"D:\megui\tools\eac3to\eac3to.exe" "G:\" 1) 9:"D:\\Movie_T9_Audio - Portuguese.eac3" -progressnumbers
Error:

Aborted at file position 1748522.                                              
[a09] Applying (E-)AC3 delay failed.  <ERROR>
Aborted at file position 1748522.  <ERROR>

Seems eac3to does not currently supports extraction full E-AC3 with core (TSMuxer seems to work).

There are two alternatives:

"D:\megui\tools\eac3to\eac3to.exe" "G:\" 1) 9:"D:\\Movie_T9_Audio - Portuguese.ac3" -core -progressnumbers

Encodes the full E-AC3 to AC3 640kbps

"D:\megui\tools\eac3to\eac3to.exe" "G:\" 1) 9:"D:\\Movie_T9_Audio - Portuguese.eac3" -core -progressnumbers

Extract the E-AC3 core as is (448kbps in this example.

Discussion

  • kenny_powers

    kenny_powers - 2017-01-16

    Note this is only for E-AC3 with core which seems be used on some discs now for extra dubs. Normal E-AC3 I believe works fine (don't have anything to test with).

     
  • Zathor

    Zathor - 2017-03-26

    Thanks, it will be fixed in 2709.

     
  • Zathor

    Zathor - 2017-03-26
    • status: open --> pending
     
  • Tebasuna

    Tebasuna - 2017-03-27

    The command:
    eac3to input.eac3 output.ac3 -core
    does not encode the full E-AC3, only recode the core to 640 Kb/s, then is useless.

    Even ffmpeg can't decode this kind of eac3, only decode the 5.1 core.
    The warning message is:
    Dependent substream decoding is not implemented.

    BTW this problem is only with E-AC3 streams with core, the E-AC3 reported by eac3to without core, work fine.

     
  • Zathor

    Zathor - 2017-03-27

    Mhm, as I had only a E-AC3 EX stream with core with had that problem in 2709 all E-AC3 EX streams are converted with .ac3 -core
    Do you have a sample without core?

     
  • Tebasuna

    Tebasuna - 2017-03-27

    I make a sample with both streams.

    I can't upload here, then https://www.sendspace.com/file/jzq7ec

     
  • kenny_powers

    kenny_powers - 2017-03-28

    ah yes, eac3to input.eac3 output.ac3 -core really just upscales the core to 640k if it's under it (e.g core 448k to 640k).
    The eac3to input.eac3 output.eac3 option was not implamented correctly on the new version. It's missing the -core part which aborts the demux:

    eac3to.exe" "E:\" 1) 4:"D:\MOVIE_F1_T4_Audio - Portuguese.eac3" -progressnumbers
    [a04] Extracting audio track number 4...
    [a04] Removing AC3 dialog normalization...
    [a04] Applying (E-)AC3 delay failed.  <ERROR>
    Aborted at file position 1349276.  <ERROR>
    

    it needs to be (will extract the E-AC3 as is):
    eac3to.exe" "E:\" 1) 4:"D:\MOVIE_F1_T4_Audio - Portuguese.eac3" -core

     

    Last edit: kenny_powers 2017-03-28
  • kenny_powers

    kenny_powers - 2017-03-28

    By the way, TSMuxer is able to extract the E-AC3 7.1, it does it to .ac3. However mediainfo reports it's only 5.1 and file extension is wrong:

    FileExtension_Invalid : dd+ ec3 eac3 
    Bit rate : 500 b/s 
    Channel(s) : 6 channels 
    Channel positions : Front: L C R, Side: L R, LFE 
    

    eac3to sees the extracted file differently:

    E-AC3, 7.1 channels, 1:26:27, 768kbps, 48kHz, dialnorm: -27dB
    (core: AC3, 5.1 channels, 1:26:27, 448kbps, 48kHz, dialnorm: -27dB)
    
     

    Last edit: kenny_powers 2017-03-28
  • Zathor

    Zathor - 2017-05-07
    • status: pending --> closed-fixed
     
  • Zathor

    Zathor - 2017-05-07

    Fixed since 2710

     
  • Stéphane Bocquet

    Hi,

    I'm facing this problem with multiple BR with Dolby Digital Plus tracks.
    If the french (or german) track is extracted with the EAC3_CORE option, this works fine, but I'm unable to extract it with all the 7.1 channels.

    Here is the log with HD Stream Extractor:

    [Error] [06/11/2018 10:07:08] Standard output stream
    -[Information] [06/11/2018 10:07:10] M2TS, 1 video track, 5 audio tracks, 15 subtitle tracks, 2:29:21, 24p /1.001
    -[Information] [06/11/2018 10:07:10] 1: Chapters, 20 chapters
    -[Information] [06/11/2018 10:07:10] 2: h264/AVC, 1080p24 /1.001 (16:9)
    -[Information] [06/11/2018 10:07:10] 3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
    -[Information] [06/11/2018 10:07:10] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
    -[Information] [06/11/2018 10:07:10] 4: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -28dB
    -[Information] [06/11/2018 10:07:10] 5: E-AC3, French, 7.1 channels, 896kbps, 48kHz, dialnorm: -29dB
    -[Information] [06/11/2018 10:07:10] (core: AC3, 5.1 channels, 512kbps, 48kHz, dialnorm: -29dB)
    -[Information] [06/11/2018 10:07:10] 6: E-AC3, German, 7.1 channels, 896kbps, 48kHz, dialnorm: -29dB
    -[Information] [06/11/2018 10:07:10] (core: AC3, 5.1 channels, 512kbps, 48kHz, dialnorm: -29dB)
    -[Information] [06/11/2018 10:07:10] 7: AC3, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB
    -[Information] [06/11/2018 10:07:10] 8: Subtitle (PGS), English
    -[Information] [06/11/2018 10:07:10] 9: Subtitle (PGS), French
    -[Information] [06/11/2018 10:07:10] 10: Subtitle (PGS), German
    -[Information] [06/11/2018 10:07:10] 11: Subtitle (PGS), Danish
    -[Information] [06/11/2018 10:07:10] 12: Subtitle (PGS), Dutch
    -[Information] [06/11/2018 10:07:10] 13: Subtitle (PGS), Finnish
    -[Information] [06/11/2018 10:07:10] 14: Subtitle (PGS), Norwegian
    -[Information] [06/11/2018 10:07:10] 15: Subtitle (PGS), Swedish
    -[Information] [06/11/2018 10:07:10] 16: Subtitle (PGS), English
    -[Information] [06/11/2018 10:07:10] 17: Subtitle (PGS), French
    -[Information] [06/11/2018 10:07:10] 18: Subtitle (PGS), German
    -[Information] [06/11/2018 10:07:10] 19: Subtitle (PGS), Dutch
    -[Information] [06/11/2018 10:07:10] 20: Subtitle (PGS), English
    -[Information] [06/11/2018 10:07:10] 21: Subtitle (PGS), French
    -[Information] [06/11/2018 10:07:10] 22: Subtitle (PGS), German
    -[Information] [06/11/2018 10:07:10] a05 Extracting audio track number 5...
    -[Information] [06/11/2018 10:07:10] a05 Removing AC3 dialog normalization...
    -[Information] [06/11/2018 10:07:10] Applying (E-)AC3 delay failed.a05
    -[Information] [06/11/2018 10:07:10] Aborted at file position 1048576.
    -[Error] [06/11/2018 10:07:10] [a05] Applying (E-)AC3 delay failed. <error>
    -[Error] [06/11/2018 10:07:10] Aborted at file position 1048576. <error></error></error>

    Any suggestion to extract those E-AC3 streams ?

    Thx

     
  • Tebasuna

    Tebasuna - 2018-11-09

    Stéphane Bocquet
    There are a workaround to extract the full EAC3 stream.
    Add in +Options (Settings -> Enable Custom Options) the parameter -keepDialnorm

    Seems the abort occurs when try:
    -[Information] [06/11/2018 10:07:10] a05 Removing AC3 dialog normalization...

     
  • Stéphane Bocquet

    Hi Tebasuna,

    Thanks a lot for the info, but I'm searching the place to add this option (Can't find Setting => Enable Custom Options). Can you please provide me more info so I can try this.

    Have a nice day

     
  • Tebasuna

    Tebasuna - 2018-11-09

    MeGUI (v2888) -> Tools -> HD Stream Extractor -> Settings (in upper-left corner) -> Enable Custom Options

    that add a '+Options' column for each track.

    But I think that is already solved in v2881:

    2881 [HD Streams Extractor] force "-keepDialnorm" if required for a E-AC3 tracks

    Please use:

    MeGUI -> Options -> Settings -> Extra Configuration -> Auto Update -> Use development update server

     
  • Stéphane Bocquet

    Thanks Tebasuna ;) The extraction works fine now with this option.

    So, I've just made another test and my 7.1 DD+ track is still extracted with only 6 channels. haven't tested it with my receiver, but that what mediainfo is reporting me. Is mediainfo false or am I missing something ?

     
  • kenny_powers

    kenny_powers - 2018-11-10

    Is there a way to extract the 2 compoanants together (eac3 and the core) like is possible with truehd (audio.thd+ac3) ?

     
  • Tebasuna

    Tebasuna - 2018-11-10

    Works fine for me:

    Job command line: "D:\Programa\megui\tools\eac3to\eac3to.exe" "D:\BD\" 1) 5:"D:\BD\F1_T5_Audio - Spanish.eac3" -keepDialnorm -progressnumbers

    M2TS, 1 video track, 7 audio tracks, 21 subtitle tracks, 1:53:40, 24p /1.001
    1: Chapters, 20 chapters
    ...
    5: E-AC3, Spanish, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
    (core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
    ...

    The extracted EAC3 (eac3to):
    E-AC3, 7.1 channels, 1:53:40, 768kbps, 48kHz, dialnorm: -27dB
    (core: AC3, 5.1 channels, 1:53:40, 448kbps, 48kHz, dialnorm: -27dB)

    MediaInfo v18.08 (use a recent version):
    Channel(s) : 8 channels
    Channel layout : L R C LFE Ls Rs Lb Rb

    @kenny_powers
    There are only one stream, like with DTS-HD you can extract the full stream or the core.
    It is not like thd+ac3 with two streams interleaved.

     
  • kenny_powers

    kenny_powers - 2018-11-11

    ahh I didn't realize that! thought being from the dd family it's similar to TrueHD. thanks Tebasuna !

    Is there also way to transcode an AC3 5.1 using the full eac3?
    Currently, I'm only aware of a way to get the core out as is:

    eac3to original.eac3 audio.eac3 -core

    or upscale from core to auto 640kbps (as core is usually under 640):

    eac3to original.eac3 audio.ac3 -core

    or

    eac3to original.eac3 audio.ac3 -keepDialnorm

     

    Last edit: kenny_powers 2018-11-11
  • Tebasuna

    Tebasuna - 2018-11-11

    With this kind of eac3:
    E-AC3, 7.1 channels, 0:01:23, 768kbps, 48kHz, dialnorm: -27dB
    (core: AC3, 5.1 channels, 0:01:23, 448kbps, 48kHz, dialnorm: -27dB)

    eac3to orig71.eac3 audio.eac3 -> abort
    eac3to orig71.eac3 audio.eac3 -keepDialnorm -> The same .eac3 (to extract the full eac3)
    eac3to orig71.eac3 audio.eac3 -core -> extract the AC3 core with .eac3 extension (modify after)
    eac3to orig71.eac3 audio.ac3 [any par] -> recode the core to AC3 wih libAften (useless)

    But there are another eac3 files:
    E-AC3, 5.1 channels, 0:01:23, 640kbps, 48kHz

    eac3to orig51.eac3 audio.eac3 [any par] -> The same .eac3
    eac3to orig51.eac3 audio.ac3 [any par] -> Recoded to AC3 with libAften (not recommended, use ffmpeg)

     
  • Stéphane Bocquet

    Hi Tebasuna !

    Just tested the -keepDialnorm option with my receiver and the 7.1 DD+ stream works fine. My previous version of mediainfo was just a bit old...

    Thanks a lot for the help.
    Have a nice day.

     
  • Zathor

    Zathor - 2018-11-12
    • discussion: enabled --> disabled
     
  • Zathor

    Zathor - 2018-11-12

    Thanks to all and especially to Tebasuna.

    I do have to close here completly as you do discuss in an already closed ticket. Feel free to create a new ticket if you encounter any further issue.