Enable modification of number of channels for transcoding

With this change changing the number of channels between input and output for transcoding is enabled.