Multichannel AAC Audio in Fragmented MP4

Every sample encoded with FFMPEG 6.0's native AAC encoder.

Each sample is loaded with two methods - as an HTML5 Audio element, and via Media Source Extensions (the "HTML Audio" and "MSE" columns, respectively).

ffmpeg CLI: for f in *.wav; do ffmpeg -loglevel info -i "$f" -c:a aac -movflags faststart+empty_moov+default_base_moof "${f%.wav}.m4a"; done > log.txt 2>&1

ffmpeg log

Different channel layouts require different signaling, the method used is indicated by the PCE column:

In all cases, the channel layout is signaled within the Media Initialization Segment.

The channels represented in each layout are:

The layouts listed don't necessarily represent the channel ordering.