Axis RTSP URL and live streaming

Put Axis network cameras live on your website: the RTSP link to use, the settings that matter, and how to share it with StreamLink.

StreamPath after the address
Main stream (best quality)/axis-media/media.amp?videocodec=h264
Sub-stream (lighter)/axis-media/media.amp?videocodec=h264&resolution=640x360

The full link looks like this (replace the user, password and address with yours):

rtsp://viewer:Str0ngPass@203.0.113.10/axis-media/media.amp?videocodec=h264

Multi-sensor Axis cameras take &camera=2 (and so on) for the other views.

Passwords with @ : / # ? must be written as %40 %3A %2F %23 %3F, or use a password with only letters and numbers. Test the link in VLC before adding it.

Camera settings

Adding videocodec=h264 to the link asks the camera for H.264, which plays in every browser.

  • Create a viewer account in the camera's user settings.
  • Use resolution= to ask for a lighter stream.
  • Axis cameras listen for RTSP on port 554 by default.

Stream your Axis camera to a website

  1. Create a StreamLink account and click Add camera (or Add several for a whole NVR).
  2. Paste the RTSP link and press Test. StreamLink shows the video format it finds.
  3. No public IP or port forwarding? Choose push and run the ready-made command on a PC or Raspberry Pi next to the camera. See push mode.
  4. Optionally add a viewer password, working hours or copy protection.
  5. Copy the live link, or paste the embed code into your website (WordPress, Wix, Google Sites…).

Viewers watch in any browser, on phones and computers, usually less than a second behind real time.

Questions about Axis cameras

What is the Axis RTSP URL?

rtsp://USER:PASSWORD@IP/axis-media/media.amp?videocodec=h264.

How do I get a smaller stream?

Add &resolution=640x360 to the link.

Is the camera password visible to viewers?

No. It stays on StreamLink's server; viewers only get a random link.

Other brands: Hikvision · CP Plus · Dahua · Uniview · Reolink · TP-Link Tapo · all link formats

Put your Axis camera online

Paste the RTSP link, get a live link and embed code. It takes about two minutes.