Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 973
    • Issues 973
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 103
    • Merge requests 103
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1327
Closed
Open
Issue created Jun 18, 2020 by Andreas Frisch@fraxinas🦊

AAC encoding downmixes surround to mono

I found an issue where audioconvert element is preferring 1 channel over the original multichannel during negotiation, presumably if the channel-mask layout doesn't match exactly. This happens when trying to convert from ac3 to aac.

It's easily reproducible with this minimal test pipeline:

gst-launch-1.0 audiotestsrc num-buffers=1 ! audio/x-raw, channels=6 ! avenc_ac3 ! avdec_ac3 ! audioconvert ! faac ! fakesink -v

it happens without re-encoding too, when channel-mask is explicitely specified, and also with fdkaacenc:

gst-launch-1.0 audiotestsrc num-buffers=1 ! audio/x-raw, channels=6, channel-mask=\(bitmask\)0x0000000000000c0f ! audioconvert ! fdkaacenc ! fakesink -v

Edited Jun 18, 2020 by Andreas Frisch
Assignee
Assign to
Time tracking