Skip to content

fix: decode G.711 audio from IP cameras - #599

Merged
devopvoid merged 1 commit into
mainfrom
fix/g711-decoders
Nov 20, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/g711-decoders

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

The FFmpeg build had no pcm_alaw or pcm_mulaw decoder. A source with G.711 audio, which most RTSP cameras send, therefore failed to open a player with "Decoder not found".

  • Adds both decoders to the FFmpeg component list. This triggers an FFmpeg rebuild, since the list is recorded in components.txt.
  • The error now names the codec that has no decoder. HEVC without a hardware decoder gets its own message.
  • failsWithoutDecoder now uses 24-bit PCM, which is still not in the build. New tests play A-law and µ-law.

Fixes #598

The FFmpeg build had no pcm_alaw or pcm_mulaw decoder, so a source with
G.711 audio, which most RTSP cameras send, failed to open a player with
"Decoder not found". The error now names the codec that has no decoder.

Fixes #598
@devopvoid
devopvoid merged commit ca85ae4 into main Nov 20, 2026
27 checks passed
@devopvoid
devopvoid deleted the fix/g711-decoders branch November 20, 2026 19:39
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

Successfully merging this pull request may close these issues.

MediaReader cannot open RTSP sources whose SDP carries no codec parameters (analyzeduration=0)

1 participant