Opened 9 years ago

Closed 7 years ago

#4608 closed enhancement (fixed)

Support eight-channel e-ac-3 decoding

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: eac3
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The sample 7_pt_1.eac3 in http://samples.ffmpeg.org/A-codecs/AC3/eac3/ has a 7.1 channel layout but libavcodec only decodes it as 5.1.

$ ffmpeg -i 7_pt_1.eac3
ffmpeg version N-72808-gb58a3c8 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-libopenjpeg
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[eac3 @ 0x29a33e0] Estimating duration from bitrate, this may be inaccurate
Input #0, eac3, from '7_pt_1.eac3':
  Duration: 00:02:48.88, start: 0.000000, bitrate: 929 kb/s
    Stream #0:0: Audio: eac3, 48000 Hz, 5.1(side), fltp, 930 kb/s
At least one output file must be specified

Change History (4)

comment:1 by Andrew, 9 years ago

Spec is here: http://atsc.org/wp-content/uploads/2015/03/A52-201212-17.pdf

On pp140 it shows that there is a chanmape bit which if 1 means there is a Custom Channel Map (chanmap) which is 16bits

The chanmap values are contained on pp162

comment:2 by Miklihvellur, 9 years ago

Where the new Apple TV Supports Dolby Digital Plus 7.1 or eac3 up to 8 channels I think this would be a great enhancement

in reply to:  2 comment:3 by Carl Eugen Hoyos, 9 years ago

Replying to Miklihvellur:

Where the new Apple TV Supports Dolby Digital Plus 7.1 or eac3 up to 8 channels

What kind of files (which file types) are supported by Apple TV that contain Dolby Digital Plus?

comment:4 by Elon Musk, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.