Skip to content

HE-AAC unnecessarily engages audio bridge pipeline #33

Closed

Description

@DrHurt

What happened?

Playing movies with an HE-AAC audio track causes Aether to engage the audio bridge pipeline and convert audio to EAC3.

HE-AACv1, HE-AACv2, and AAC-LC are all supported natively by AVPlayer's HLS fMP4 pipeline and should not be unnecessarily converted.

You made me second guess myself so I did a manual remux and it works. I tested it via Jellyfin server-side remux, and it also works.

Steps to reproduce

Play a movie with a stereo HE-AACv2 audio track

AetherEngine version or commit SHA

3.4.0

Host app

Sodalite

Platform

tvOS

OS version

tvOS 26.5

Device / chip

ATV 4K 2022

Playback path

Native AVPlayer

Source media (for playback bugs)

No response

Error codes / log lines


Anything else

No response

Activity

  1. added
    bug
    on Jun 14, 2026
  2. superuser404notfound commented on Jun 14, 2026

    @superuser404notfound
    Owner

    Fixed in 3.4.1.

    You were right. HE-AAC and HE-AACv2 were being routed through the audio bridge and re-encoded to EAC3 unconditionally. That forced bridge was only meant for the live ADTS/MPEG-TS path, where the source carries no AudioSpecificConfig and a synthesized one mis-signals SBR (plain LC at the SBR output rate, the old -11821). A movie container already ships a valid ASC, so it now fMP4 stream-copies and AVPlayer decodes HE-AAC / HE-AACv2 natively, the same as your manual and Jellyfin remuxes.

    Verified end to end with aetherctl serve on a real HE-AAC track (same file, before vs after):

    before: audio: HE-AAC (profile=4 frameSize=2048) ... bridging instead  ->  audio=bridge,       codec=...,ec-3
    after:  audio: codec=aac -> stream-copy as mp4a.40.2                    ->  audio=stream-copy,  codec=...,mp4a.40.2
    

    Thanks for the clear report and for double-checking it against a manual and a server-side remux, that pinned it down fast.

    Release: https://github.com/superuser404notfound/AetherEngine/releases/tag/3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions