Author Topic: E-AC3 no audio  (Read 785 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
E-AC3 no audio
« on: September 16, 2017, 09:19:23 AM »
AC3-BBC HD test card 5.1 audio check.ts
AC3 plays in avidemux

E-AC3-FiveDotOneChannelTest-bbcᴴᴰ.mkv
e-ac3 = no audio in avidemux, audio plays in VLC
e-ac3 using copy = flatlines audio, audio tracks are present in saved video, vlc does not this play audio

Download: 1 file, 15.6 MB in total ・ Will be deleted on 23 September, 2017
Download link: https://we.tl/zVlJJd0H3f
7zipped: 1 file AC3-Eac3.7z

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
AC3-BBC HD test card 5.1 audio check.ts
« Reply #1 on: September 17, 2017, 04:08:05 AM »
Quote
Audio #1
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 24s 192ms
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 spf)
Compression mode                         : Lossy
Delay relative to video                  : 73ms
Stream size                              : 1.11 MiB (20%)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
E-AC3-FiveDotOneChannelTest-bbcᴴᴰ.mkv
« Reply #2 on: September 17, 2017, 04:09:22 AM »
Quote
Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_EAC3
Duration                                 : 2mn 6s
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 spf)
Compression mode                         : Lossy
Delay relative to video                  : 8ms
Stream size                              : 5.78 MiB (33%)
Title                                    : E-AC3 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

Avidemux 2.7 recognises E-AC3:
« Last Edit: September 17, 2017, 04:17:48 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #3 on: September 17, 2017, 05:03:53 AM »
E-AC3-FiveDotOneChannelTest-bbcᴴᴰcopySaved.mkv
1 file, 11.3 MB in total ・ Will be deleted on 24 September, 2017
Download link: https://we.tl/wJ5Gf5oSX2

Video E-AC3 audio [Copy] saved

Attached screenshots (audacity)
01-E-AC3-Source audio track ftom E-AC3-FiveDotOneChannelTest-bbcᴴᴰ.mkv
02-E-ac3-CopySaved audio track (flat lined) from E-AC3-FiveDotOneChannelTest-bbcᴴᴰcopySaved.mkv
« Last Edit: September 17, 2017, 05:06:38 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #4 on: September 17, 2017, 06:25:52 AM »
AC3andE-AC3testVideo.7z 1 file, 8.19 MB in total ・ Will be deleted on 24 September, 2017
Download link: https://we.tl/4Eh05EhWYQ

test videos with 3 audio tracks 5.1  channels:
- AC3 5.1 384 Kbps, 448 Kbps, 640 Kbps: 3xAC3-5-1-384-448-640Kbps-BBC HD test card audio Test

- E-AC3 5.1 384 Kbps, 448 Kbps, 640 Kbps: 3xAC3-5-1-384-448-640Kbps-BBC HD test card audio Test

Load this video into avidemux:
3xAC3-5-1-384-448-640Kbps-BBC HD test card audio Test.mkv
Audio Menu enable only track One, 384 Kbps, play video (plays in ubuntu)
Audio Menu enable only track One, 448 Kbps, play video (plays in ubuntu)
Audio Menu enable only track One, 640 Kbps, play video (plays in ubuntu)

Load this video into avidemux:
3xE-AC3-5-1-384-448-640Kbps-BBC HD test card audio Test.mkv
all 3 tracks do play, do notice only showing up as
E-AC3, 6 chan, 128 kbps

present are
Code: [Select]
Audio #1
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Audio Coding 3
Format settings, Endianness              : Big
Codec ID                                 : A_EAC3
Duration                                 : 23s 616ms
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 187.500 fps (256 spf)
Compression mode                         : Lossy
Stream size                              : 1.08 MiB (16%)
Title                                    : E-AC3 384 Kbps
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Audio Coding 3
Format settings, Endianness              : Big
Codec ID                                 : A_EAC3
Duration                                 : 23s 616ms
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 187.500 fps (256 spf)
Compression mode                         : Lossy
Stream size                              : 1.26 MiB (19%)
Title                                    : E-AC3 448 Kbps
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : E-AC-3
Format/Info                              : Audio Coding 3
Format settings, Endianness              : Big
Codec ID                                 : A_EAC3
Duration                                 : 23s 616ms
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 187.500 fps (256 spf)
Compression mode                         : Lossy
Stream size                              : 1.80 MiB (26%)
Title                                    : E-AC3 640 Kbps
Default                                  : No
Forced                                   : No

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Codec ID: A_EAC3 Format: AC-3 vs E-AC-3
« Reply #5 on: September 17, 2017, 07:05:58 AM »
Developer(s), just noticed:
Both playing in VLC, Avidemux 2.7:
plays audio        : Format: E-AC-3, Codec ID: A_EAC3 (3xAC3-5-1-384-448-640Kbps-BBC HD test card audio Test.mkv)
no audio playing: Format: AC-3, Codec ID: A_EAC3 (E-AC3-FiveDotOneChannelTest-bbcᴴᴰ.mkv)

is this the only issue/reason?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #6 on: September 22, 2017, 07:22:17 AM »
Bump, just in case this wasn't noticed?

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1534
Re: E-AC3 no audio
« Reply #7 on: September 22, 2017, 01:58:39 PM »
The original(?) TS file (AC3-BBC HD test card 5.1 audio check.ts) loads, plays and gets saved in copy mode just fine (apart from ever growing video delay, but it is another story). I'm sorry, but I don't get the point of the whole exercise.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #8 on: September 22, 2017, 02:28:59 PM »
- avidemux is not recognising A_EAC3 in format: AC-3

possibly
- avidemux sets Format to AC-3 instead of E-AC-3? when audio is E-AC-3?

this did come above ground while looking into this: trouble initialising audio on windows 7 (x64)

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1534
Re: E-AC3 no audio
« Reply #9 on: September 22, 2017, 03:00:07 PM »
- avidemux is not recognising A_EAC3 in format: AC-3

There is no E-AC3 in the original transport stream according to ffprobe and Avidemux. The question is, how did you generate E-AC3-FiveDotOneChannelTest-bbcᴴᴰ.mkv?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #10 on: September 22, 2017, 03:25:58 PM »
Code: [Select]
ffmpeg -i AC3-5-1-384Kbps.ac3 -acodec eac3 -ac 6 -ab 384k E-AC3-5-1-384Kbps.ac3Then replaced audio track in avidemux Menu: Audio: Select Track: .... Add audio track.

Had no e-ac3 tracks for testing.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1534
Re: E-AC3 no audio
« Reply #11 on: September 22, 2017, 03:55:25 PM »
"Crash when muxing AAC" is not relevant here. The topic title should have been "Issues with external E-AC3 audio track in copy mode".

Your experience would have been different (though not perfect) if you didn't try to reencode a raw ac3 stream but used

Code: [Select]
ffmpeg -i AC3-BBC\ HD\ test\ card\ 5.1\ audio\ check.ts -c:a eac3 -ac 6 -ab 448k eac3-6ch-audio.ac3
instead, then add "eac3-6ch-audio.ac3" as an external audio track. The result seems to have a pretty bad A/V offset or sync when saved in copy mode, but apart from that it works.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5671
Re: E-AC3 no audio
« Reply #12 on: September 23, 2017, 08:15:56 AM »
Let me put in another way.
If vlc can handle that audio track, shouldn't avidemux be able doing the same?
It is not about my experience, it is about an A_EAC3 track not recognised as so.

I rest my case.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1534
Re: E-AC3 no audio
« Reply #13 on: September 23, 2017, 04:55:07 PM »
If vlc can handle that audio track, shouldn't avidemux be able doing the same?

It can't, at least on my system (actually, it crashes with this MKV file).

Code: [Select]
It is not about my experience, it is about an A_EAC3 track not recognised as so.
It is recognized correctly, but likely the timing information in the external audio file is broken or completely unavailable. The question is, could Avidemux somehow cope with such eac3 streams or check in advance whether they are fit for muxing? I don't know.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10950
Re: E-AC3 no audio
« Reply #14 on: September 24, 2017, 02:06:58 PM »
Might have a huge gap at the beginning