Skip to content
Snippets Groups Projects
Commit 96cd6f67 authored by Nikolas Bowe's avatar Nikolas Bowe Committed by Michael Niedermayer
Browse files

avcodec/(e)ac3: Fix target_level for EAC3.


Currently when using target_level with EAC3 it produces silence. This small patch fixes target_level for decoding EAC3.

Example:
ffmpeg -y -i /tmp/test.wav -acodec eac3 -dialnorm -14 -ac 6 -b:a 384000 /tmp/test.m2ts
ffmpeg -y -target_level -24 -i /tmp/test.m2ts -acodec pcm_s16le -f matroska /tmp/out.mkv
ffplay /tmp/out.mkv

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6f062eb8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment