Encoding 5.1 channel audio with separate waveform files (Stanley posted on April 19th, 2008 )

From build 4100, a new audio source, Waveform Composer, is introduced in. It is used to import separate waveform files as individual channels.

For example, we want to produce an MP4 file with H.264 video and 5.1 channel AAC audio. We have 6 mono waveform files which compose a 5.1 channel audio.

On the audio tab of MediaCoder, we make following settings:

  • Set Source to “Waveform Composer”
  • Set Channel to “5.1 Channels”
  • Set audio file to use as input of audio stream

Ticking the “External File” check box will allow user to choose an audio file for encoding with the video. When Waveform Composer audio source selected, additional waveform files will be loaded according to name of the selected audio file. In this case, we choose test-ch1.wav as initial audio file, then test-ch2.wav ~ test-ch6.wav will be automatically loaded and used for corresponding channels. The rest of the settings can be done up is as normal encoding.

Please note that not all audio encoders support 5.1/6 channel encoding. Following are some tested encoders:

  • Vorbis
  • FAAC
  • Nero Encoder
  • FFmpeg (AC-3)
  • FLAC
  • Waveform

Comments are closed.