Skip to content

libhb: cli: ui: add custom channel layouts support - #7265

Merged
galad87 merged 1 commit into
HandBrake:masterfrom
galad87:custom-ch-layout
Sep 13, 2025
Merged

galad87 merged 1 commit into
HandBrake:masterfrom
galad87:custom-ch-layout

Conversation

@galad87

@galad87 galad87 commented Sep 11, 2025 •

Copy link
Copy Markdown
Contributor

Add a minimum support for channel layouts with a custom channels order. Usually channels are in the canonical FFmpeg order, but recently the AVChannelLayout API has been expanded to support custom orders, and it's already in use for PCM audio for example.

Needs some testing to check if everything is still working as usual.

Will fix #6300.

Tested on:

  • Windows 10+ (via MinGW)
  • macOS 10.13+
  • Ubuntu Linux

@galad87
galad87 force-pushed the custom-ch-layout branch 4 times, most recently from 9511908 to 9ff9e64 Compare September 13, 2025 09:18
Fixes the mapping of audio channels in PCM tracks
with custom layouts. Fixes HandBrake#6300.
@galad87
galad87 merged commit 94c8b3e into HandBrake:master Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Recognition of Multi-Channel Audio Tracks

1 participant