Jump to content

E-AC3 and LAV Audio


Quenotte

Recommended Posts

Hi,

 

I'm sorry to write in English because my deutsch is very bad and this thread is interesting!

 

Here in France, all HD DVB-T broadcasts are only in E-AC3.

 

I've my pc connected through HDMI to my Amplifier.

 

Even if this is E-AC3, DVBViewer tells LAV audio decoder that it's ac3 and thus it doesn't work and I can't use it on lots of channels...

 

I've checked to record the TS and MPC opens it with no error and LAV audio decoder sends the proper eac3 to amplifier (it displays DD PLUS).

 

When do you plan to fix this e-ac3 issue so that we can benefit from bitstreaming through LAV audio decoder?

 

Thanks in advance!

 

If you need anything about test (TS files...) do not hesitate :)

Link to comment

Post moved. Please use the English section if you want to post in English.

 

I've my pc connected through HDMI to my Amplifier. Even if this is E-AC3, DVBViewer tells LAV audio decoder that it's ac3 and thus it doesn't work and I can't use it on lots of channels...

 

Try AC3 Filter as AC3 decoder. It seems to be able to auto-detect the AC3 type, as reported in the German forum.

Link to comment

Sorry to have posted in German section but the thread was relevant and interesting!

 

In fact I had troubles/conflict with ac3 filter and wasn't able to properly set it to bitstream data properly...

 

LAV audio decoder works perfectly with a TS recorded with DVBViewer and played by MPC-HC (from saf 620).

 

It's properly detected as eac3 and not ac3 like in DVBViewer.

 

Mediainfo from MPC-HD:

 

 

General
ID                             : 5 (0x5)
Complete name                  : E:\Videos\DVB\04-15_23-21-53_M6HD (fra)_Top chef.ts
Format                         : MPEG-TS
File size                      : 17.7 MiB
Duration                       : 16s 455ms
Overall bit rate mode          : Variable
Overall bit rate               : 9 018 Kbps

Video
ID                             : 320 (0x140)
Menu ID                        : 1283 (0x503)
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4.0
Format settings, CABAC         : Yes
Format settings, ReFrames      : 4 frames
Codec ID                       : 27
Duration                       : 16s 80ms
Bit rate                       : 8 055 Kbps
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate                     : 25.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : MBAFF
Scan order                     : Top Field First
Bits/(Pixel*Frame)             : 0.155
Stream size                    : 15.4 MiB (87%)
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709

Audio #1
ID                             : 330 (0x14A)
Menu ID                        : 1283 (0x503)
Format                         : E-AC-3
Format/Info                    : Audio Coding 3
Format settings, Endianness    : Big
Codec ID                       : 6
Duration                       : 16s 448ms
Bit rate mode                  : Constant
Bit rate                       : 256 Kbps
Channel(s)                     : 6 channels
Channel positions              : Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Delay relative to video        : -893ms
Stream size                    : 514 KiB (3%)
Language                       : French

Audio #2
ID                             : 331 (0x14B)
Menu ID                        : 1283 (0x503)
Format                         : E-AC-3
Format/Info                    : Audio Coding 3
Format settings, Endianness    : Big
Codec ID                       : 6
Duration                       : 16s 448ms
Bit rate mode                  : Constant
Bit rate                       : 128 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Delay relative to video        : -907ms
Stream size                    : 257 KiB (1%)
Language                       : qaa

Audio #3
ID                             : 332 (0x14C)
Menu ID                        : 1283 (0x503)
Format                         : E-AC-3
Format/Info                    : Audio Coding 3
Format settings, Endianness    : Big
Codec ID                       : 6
Duration                       : 16s 448ms
Bit rate mode                  : Constant
Bit rate                       : 128 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Delay relative to video        : -907ms
Stream size                    : 257 KiB (1%)
Language                       : qad

Text
ID                             : 340 (0x154)
Menu ID                        : 1283 (0x503)
Format                         : DVB Subtitle
Codec ID                       : 6
Duration                       : 9s 780ms
Delay relative to video        : 4s 17ms
Language                       : French

 

Here is a 18MB TS file I recorder with DVBViewer with eac3: http://sdrv.ms/110iC1k

Edited by Quenotte
Link to comment

Lav Audio Decoder:

Pin IN:

 

Filter : LAV Audio Decoder - CLSID : {E8E73B6B-4CB3-44A4-BE99-4F7BCB96E491}

- Connected to:

CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Filter: LAV Splitter Source
Pin: Audio

- Connection media type:

Audio: aLaw 48000Hz 6ch 256kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {A7FB87AF-2D02-42FB-A4D4-05CD93843BDD}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0006
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 32000
nBlockAlign: 24
wBitsPerSample: 32
cbSize: 0 (extra bytes)

pbFormat:
0000: 06 00 06 00 80 bb 00 00 00 7d 00 00 18 00 20 00 ....€»...}.... .
0010: 00 00                                           ..
 

 

Pin OUT:

 

 

Filter : LAV Audio Decoder - CLSID : {E8E73B6B-4CB3-44A4-BE99-4F7BCB96E491}

- Connected to:

CLSID: {18C16B08-6497-420E-AD14-22D21C2CEAB7}
Filter: Audio Switcher
Pin: Audio

- Connection media type:

Audio: PCM 192000Hz stereo 6144kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 2
nSamplesPerSec: 192000
nAvgBytesPerSec: 768000
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 16
dwChannelMask: 0x00000000
SubFormat: {0000000A-0CEA-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 02 00 00 ee 02 00 00 b8 0b 00 04 00 10 00 þÿ...î...¸......
0010: 16 00 10 00 00 00 00 00 0a 00 00 00 ea 0c 10 00 ............ê...
0020: 80 00 00 aa 00 38 9b 71                         €..ª.8›q

- Enumerated media type 0:

Set as the current media type

 

HDMI audio Pin IN:

 

Filter : VSX-919AH-1 (NVIDIA High Defini - CLSID : {E30629D1-27E5-11CE-875D-00608CB78066}

- Connected to:

CLSID: {18C16B08-6497-420E-AD14-22D21C2CEAB7}
Filter: Audio Switcher
Pin: Out

- Connection media type:

Audio: PCM 192000Hz stereo 6144kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 2
nSamplesPerSec: 192000
nAvgBytesPerSec: 768000
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 16
dwChannelMask: 0x00000000
SubFormat: {0000000A-0CEA-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 02 00 00 ee 02 00 00 b8 0b 00 04 00 10 00 þÿ...î...¸......
0010: 16 00 10 00 00 00 00 00 0a 00 00 00 ea 0c 10 00 ............ê...
0020: 80 00 00 aa 00 38 9b 71                         €..ª.8›q

- Enumerated media type 0:

Audio

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0
Link to comment

Hi Griga,

 

I quickly test it and it seems OK on my side.

 

E-ac3 is now properly bitstreamed by LAV Audio decoder to my amplifier.

 

No need to check Pre-format detection (but may be necessary with other setup).

 

Very nice work!

 

Thank you very much Griga ;)

 

Gruß

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...