iamf-tools provides an example command-line decoder to process a standalone
IAMF sequence (.iamf) file to a multichannel WAV file.
See Build instructions to build from source.
The iamf-tools command-line decoder can decode an IAMF file to a multichannel
WAV file using the following flags:
Required flags:
--input_filenamePath to the input.iamffile.--output_filenamePath to write the output WAV file.
Optional flags:
--mix_idMix Presentation to render (default is automatic selection).--output_layoutOutput layout to render to (default is2.0).
Example:
bazel-bin/iamf/cli/decoder_main --input_filename=iamf/cli/testdata/iamf/tones_256samp_5p1_pcm.iamf --output_filename=output_file.wav
If successful, the decoder will produce an output_file.wav file in the current
directory.