CODE
ffmpeg -i audio_51.dts -f s16le audio_51.raw
sox -t raw -s -2 -c 6 -r 48000 audio_51.raw -t raw -s -2 -c 6 -r 48000 audio_51_temp.raw remix 1 3 2 5 6 4
mv audio_51_temp.raw audio_51.raw
sox -t raw -s -2 -c 6 -r 48000 audio_51.raw -t raw -s -2 -c 6 -r 48000 audio_51_temp.raw remix 1 3 2 5 6 4
mv audio_51_temp.raw audio_51.raw
AFAIK, this problem is occuring at the first line, as the second two reorder the channels and rename the raw PCM file.
I have also posted a screenshot of the clipping.
What can be done to avoid this? Is there a way to decode the DTS stream without increasing the volume?
