News:

--

Main Menu

E-AC3 no audio

Started by Jan Gruuthuse, September 16, 2017, 09:19:23 AM

Previous topic - Next topic

Jan Gruuthuse

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

QuoteAudio #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

#2
QuoteAudio #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:

Jan Gruuthuse

#3
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

Jan Gruuthuse

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
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

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

Bump, just in case this wasn't noticed?

eumagga0x2a

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

- 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

Quote from: Jan Gruuthuse on September 22, 2017, 02:28:59 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

ffmpeg -i AC3-5-1-384Kbps.ac3 -acodec eac3 -ac 6 -ab 384k E-AC3-5-1-384Kbps.ac3
Then replaced audio track in avidemux Menu: Audio: Select Track: .... Add audio track.

Had no e-ac3 tracks for testing.

eumagga0x2a

"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

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

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

Quote from: Jan Gruuthuse on September 23, 2017, 08:15:56 AM
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).

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

Might have a huge gap at the beginning