Back to All Guides
troubleshootingAugust 9, 20265 min readRTSPLink Engineering

Debugging RTSP Audio: Transcoding G.711 PCMU/PCMA to AAC

Fix silent video playback and unsupported audio codec errors when relaying CCTV audio to modern browsers.

#Audio Transcoding#G.711#AAC#Opus#CCTV Audio
Live Stream Workbench

Need a live RTSP stream link right now to test this setup in VLC or OpenCV?

Test Live Stream

#1Transcoding Audio to AAC with FFmpeg

Transcode G.711 u-law / a-law into AAC for HTML5 browser compatibility:

FFmpeg Audio Transcode Command
ffmpeg -rtsp_transport tcp -i "rtsp://camera_ip:554/stream" \
  -c:v copy -c:a aac -b:a 128k -ar 44100 \
  -f rtsp rtsp://localhost:8554/live_with_audio

Ready to test your live RTSP video stream?

Generate free authenticated RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.

Generate Free RTSP Link

Related Tutorials & Setup Guides

View all 100+ guides