Back to All Guides
troubleshootingAugust 9, 2026•5 min read•RTSPLink 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 RTSP Test Feed

Need an active live RTSP stream to test this integration?

Generate a free 20-minute authenticated live H.264 video feed with frame counters to test in VLC, OpenCV, or NVR software.

#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 20-minute RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.

Related Tutorials & Setup Guides

View all 100+ guides