Your file has dts
audio and not ac3
audio
Audio codec → dts
According to the documentation the <encoder>-audioac3
settings are used when the original file contains an ac3
audio track. Since it isn’t an ac3
audio track, it’s using the <encoder>-audio
line from the profile.