Opened 2 hours ago

Last modified 2 hours ago

#11321 new defect

dolby digital plus 7.1 defective decoding

Reported by: Alexander Owned by:
Priority: normal Component: avcodec
Version: Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Alexander)

Greetings.
Summary of the bug:
I found out that the decoding of ddp 7.1 and ddp 7.1 joc is defective. It looks like the audio data frames from one channel are dropping out into the other channels. It happens in random places. This can be clearly seen in the spectrogram, zooming in on a given defect location shows the absence of signal in one channel and the presence of it in another. It can be clearly audible as clicks on separate channels, but may not be audible when listening on the player in stereo downmix. The defect appears on all versions of ffmpeg with libavcodec decoder higher than 59.37.100.
How to reproduce:

ffmpeg-master-latest-win64-gpl\bin>ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c pcm_s24le "sample.wav"
ffmpeg version N-117868-gecc7d5db9c-20241123
libavcodec     61. 25.102 / 61. 25.102

How to reproduce:

ffmpeg-n7.1-latest-win64-gpl-7.1\bin>ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c pcm_s24le "sample_n7.1.wav"
ffmpeg version n7.1-36-g20c8a3f5ff-20241123
libavcodec 61. 19.100 / 61. 19.100

How to reproduce:

ffmpeg-n6.1-latest-win64-gpl-6.1\bin>ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c pcm_s24le "sample_n6.1.wav"
ffmpeg version n6.1.2-15-ga6a07eebdf-20241123
libavcodec 60. 31.102 / 60. 31.102

How to produce correct results without defects:

ffmpeg-n5.1-latest-win64-lgpl-5.1\bin>ffmpeg.exe -drc_scale 0 -i "sample.eac3" -c pcm_s24le "sample_n5.1.wav"
ffmpeg version n5.1.6-11-gcde3c5fc0c-20241123
libavcodec 59. 37.100 / 59. 37.100

eac3 7.1 sample:

https://drive.google.com/file/d/1H78XIQCBHg9YIj8gpcXWJ4uAVqGvI0sz/view?usp=sharing

Attachments (4)

sample_master.png (1.5 MB ) - added by Alexander 2 hours ago.
sample2_n5.1.png (1.5 MB ) - added by Alexander 2 hours ago.
samples.C.png (442.5 KB ) - added by Alexander 2 hours ago.
samples2.C.png (525.9 KB ) - added by Alexander 2 hours ago.

Change History (5)

by Alexander, 2 hours ago

Attachment: sample_master.png added

by Alexander, 2 hours ago

Attachment: sample2_n5.1.png added

by Alexander, 2 hours ago

Attachment: samples.C.png added

by Alexander, 2 hours ago

Attachment: samples2.C.png added

comment:1 by Alexander, 2 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.