Skip to main content
Version: 12 Dec 2024

Media Codecs

This section includes information about the media codecs supported on the Magic Leap 2.

Software Video Codecs and Features

SW Video CodecEncoder/DecoderFeatures
h263decoder288p30
Adaptive Playback
encoder144p
h264/avcdecoder4080p30
Adaptive Playback
encoder2048p
Intra Refresh
h265/hevcdecoder4096p30
Adaptive Playback
mpeg4decoder288p30
Adaptive Playback
encoder144p
vp8decoder2160p30
Adaptive Playback
encoder2160p30
VBR CBR
vp9decoder2160p30
Adaptive Playback
encoder2160p30
VBR CBR

Software Audio Codecs and Features

SW Audio CodecEncoder/DecoderFeatures
aacdecoderchannel count: 8
sample rates: 7350-48000
bitrate: 8000-96000
encoderchannel count: 6
sample rates: 8000-48000
bitrate: 8000-960000
ac3decoderchannel count: 8
sample rates: 8000-192000
bitrate: 1-10000000
amrnbdecoderchannel count: 1
sample rates: 8000
bitrate: 4750-12200
encoderCBR channel count: 1
sample rates: 8000
bitrate: 4750-12200
amrwbdecoderchannel count: 1
sample rates: 16000
bitrate: 6600-23850
encoderCBR channel count: 1
sample rates: 16000
bitrate: 6600-23850
flacdecoderchannel count: 8
sample rates: 1-655350
bitrate: 1-21000000
encoderCQ channel count: 2
sample rates: 1-655350
bitrate: 1-21000000
mp3decoderchannel count: 2
sample rates: 8000-48000
bitrate: 8000-320000
opusdecoderchannel count: 8
sample rates: 48000
bitrate: 6000-510000
rawdecoderchannel count: 8
sample rates: 8000-96000
bitrate: 1-10000000
vorbisdecoderchannel count: 8
sample rates: 8000-96000
bitrate: 32000-500000
note

Through ffmpeg we support aac and ac3 SW decoders.

info

All the Sample Rates: 7350, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000

AMD Hardware Codec Concurrency Support

AMD Hardware Decoders

DecoderNumber of Streams supported
H.265(1x) 4K60fps (2x) 4K30fps (8x) 1080p30
H.264(1x) 4K60fps (2x) 4K30fps (8x) 1080p30
WEBM VP9(1x) 4K60fps (2x) 4K30fps (8x) 1080p30
mpeg2(8x) 1080p30

AMD Hardware Encoders

EncoderNumber of Streams supported
H.265(1x) 4K60fps (2x) 4K30fps (8x) 1080p30
H.264(1x) 4K60fps (2x) 4K30fps (8x) 1080p30

AMD Hardware Codecs

Simultaneous Encoder/Decoder usage
(4x) encode/decode sessions of 1080p@30fps + (1x) encode/decode session of 4K@30fps