Skip to content

FFmpeg Opus audio codec supports up to 256 kbps, not 320. #12753

@aknotwell

Description

@aknotwell

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

32.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/4SmMmetrlR4yaIca

OBS Studio Crash Log URL

No response

Expected Behavior

Tried to stream using WHIP, which only supports the FFmpeg Opus codec, but was unable to do an error. After further testing, I realized that any audio bitrate above 256 kbps, is unsupported by OBS. when the FFmpeg Opus codec is being used.

Current Behavior

Prevents stream/recording from starting giving this error: Failed to open AAC codec: Invalid Argument. If I had to guess, this means OBS is defaulting back to AAC for 320 kbps, but then some argument fails because Opus is being used.

Steps to Reproduce

  1. In either record / stream tabs choose the FFmpeg Opus audio codec. I recommend using record because for streaming you have to switch your stream method to WHIP specifically.
  2. Change audio output channels to be >256 kbps.
    3.Click record / stream.
    ...

Anything else we should know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions