user24303: I need to change the order of channels in .wav file. for example if .wav file contains 16 channel like

"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"

then need to change this order to

"14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13"


user1871: You can use the channelmap filter for this,
ffmpeg -i in.wav -af "channelmap=13|14|15|0|1|2|3|4|5|6|7|8|9|10|11|12" out.wav

Channel index starts from 0.

24303: <p>I need to change the order of channels in .wav file. for example if .wav file contains 16 channel like</p>

<blockquote>
  <p>"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"</p>
</blockquote>

<p>then need to change this order to</p>

<blockquote>
  <p>"14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13"</p>
</blockquote>
 1871: <p>You can use the channelmap filter for this,</p>

<pre><code>ffmpeg -i in.wav -af "channelmap=13|14|15|0|1|2|3|4|5|6|7|8|9|10|11|12" out.wav
</code></pre>

<p>Channel index starts from 0.</p>
