Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

membrane_aac_fdk_plugin Cant decode AAC with (HE-AAC) #891

Open
duckcapil opened this issue Oct 6, 2024 · 0 comments
Open

membrane_aac_fdk_plugin Cant decode AAC with (HE-AAC) #891

duckcapil opened this issue Oct 6, 2024 · 0 comments

Comments

@duckcapil
Copy link

# dbg output
get_format_if_needed(ctx.pads.output.stream_format, state) #=> [
  stream_format: {:output,
   %Membrane.RawAudio{channels: 0, sample_rate: 0, sample_format: :s16le}}
]

Another sample error:

      # Process Audio from Video from Membrane.MP4.Demuxer.ISOM
      get_child(:demuxer)
      |> via_out(:output, options: [kind: :audio])
      |> child(Membrane.AAC.Parser)
      |> child(Membrane.AAC.FDK.Decoder)
      |> child(%Membrane.FFmpeg.SWResample.Converter{
        input_stream_format: nil,
        output_stream_format: %Membrane.RawAudio{
          channels: 2,
          sample_rate: 48000,
          sample_format: :s16le
        }
      })

raise error:

** (RuntimeError) Error while initializing native converter: :unsupported_src_channels_no
Input format: %Membrane.RawAudio{channels: 0, sample_rate: 0, sample_format: :s16le}
Output format: %Membrane.RawAudio{channels: 2, sample_rate: 48000, sample_format: :s16le}

Sample audio:
input-aac-he.aac.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant