[FFmpeg-user] Converting raw PCM to Multichannel Wav

Rashed mail2rashed.md at gmail.com
Mon Apr 13 13:02:52 CEST 2015

hi Folks,

I have a requirement to add RIFF/WAV header to a PCM file. My PCM has 6
channels and the channel sequence is different from the standard sequence
that Microsoft stipulates.

For stereo PCM data, I could use below options since in majority case its
going to be Left and Right

ffmpeg -f s16le -ar 44.1k -ac 2 -i file.pcm file.wav

But for 6 channels, how do I input channel sequence to ffmpeg ?


More information about the ffmpeg-user mailing list