You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have shipped a native-first hybrid that follows the same approach the video path already uses (native AVPlayer by default, software decode only for the gaps):
AVPlayer-decodable audio (AAC/M4A, MP3, ALAC, AC-3/E-AC-3, LPCM, and FLAC) now plays through a lean AVPlayer reading the source URL directly. No HLS, no loopback, no display-criteria handshake, so it gets the hardware-accelerated, energy-efficient pipeline and the native system integration you described.
Codecs AVPlayer cannot decode (Opus, Vorbis, APE, WavPack) fall back to the existing FFmpeg path, so coverage stays complete.
One nice surprise: FLAC did not even need the fallback. AVFoundation has decoded FLAC since iOS/tvOS 11, so it routes to AVPlayer too. Verified end to end against AAC, MP3, and FLAC (native path) and Opus (FFmpeg fallback).
Routing is a simple codec whitelist, so adding more native codecs later is a one-line change. Thanks for the suggestion.
Activity
superuser404notfound commentedon Jun 4, 2026
Good call, this is in now.
I have shipped a native-first hybrid that follows the same approach the video path already uses (native AVPlayer by default, software decode only for the gaps):
One nice surprise: FLAC did not even need the fallback. AVFoundation has decoded FLAC since iOS/tvOS 11, so it routes to AVPlayer too. Verified end to end against AAC, MP3, and FLAC (native path) and Opus (FFmpeg fallback).
Routing is a simple codec whitelist, so adding more native codecs later is a one-line change. Thanks for the suggestion.
fix(swplayback): rescale deinterlaced frame PTS to the stream time_base
docs(release): prep 3.11.2 (interlaced MPEG-2 deinterlace PTS fix, #23)
fix(swdecode): apply source SAR to software-decoded frames (#23)
docs: prep AetherEngine 3.11.3 — anamorphic SAR fix (#23)
fix(frameextractor): apply source SAR to thumbnail output
chore(release): 3.11.6
fix(swdecode): latch SAR per stream and key the format cache on PAR (s…