RTSP steam not working in BI but works fine in VLC and Home Assistant.

iwanttosee

Pulling my weight
Dec 27, 2020
278
238
US
I bought a few NIB AXIS Companion Dome mini LE cameras for cheap. They are discontinued and with no web interface, but it does have a RTSP steam by using

rtsp:/root:pass@192.168.2.205/axis-media/media.amp?videocodec=h264&Axis-Orig-Sw=true

VLC feed works both in desktop and in BI server


View attachment vlc.mp4



View attachment Recording 2025-06-01 035205.mp4



Works in Home Assistant too


View attachment home assisant.mp4

Here is a screen I use to setup in BlueIris

bi_setup.JPG

I get a snapshot if I'm lucky, then it's just disconnect. (video of 40 seconds long of snapshot and then just disconnect)


View attachment bi.mp4
camera_status.JPG


Any idea?
 
Instead of the "VLC-compatible RTSP" for "model" have you tried the standard "*RTSP H.264/H.265/MJPG/MPEG4" with the path "axis-media/media.amp?videocodec=h264" or "axis-media/media.amp?" ?


A BUNCH more to try here. :cool:
 
I have a few ideas too if TonyR's suggestions don't fix it.

1. Try "Decoder compatibility mode" checkbox.
2. If these cameras are ONVIF compatible, use ONVIF Device Manager to reconfigure their encoding settings.
3. You could try running MediaMTX on the Blue Iris machine to proxy the video streams. This may help if the problem is some incompatibility in the RTSP protocol. I use MediaMTX for a number of cameras at home when I have more than one device streaming from them, to prevent putting additional load on the camera.

MediaMTX is pretty simple to configure. Open the included configuration file mediamtx.yml, scroll to the bottom, and define your cameras in it like this:

Code:
###############################################
# Path settings

# Settings in "paths" are applied to specific paths, and the map key
# is the name of the path.
# Any setting in "pathDefaults" can be overridden here.
# It's possible to use regular expressions by using a tilde as prefix,
# for example "~^(test1|test2)$" will match both "test1" and "test2",
# for example "~^prefix" will match all paths that start with "prefix".
paths:
  cam1:
    source: rtsp:/CamUser:CamPassword@192.168.0.2:554/cam/realmonitor?channel=1&subtype=2
    sourceOnDemand: yes
  cam2:
    source: rtsp:/CamUser:CamPassword@192.168.0.3:554/Streaming/Channels/102
    sourceOnDemand: yes

  # Settings under path "all_others" are applied to all paths that
  # do not match another entry.
  all_others:

I'm pretty sure you don't even need to restart MediaMTX when making settings changes. It will see the settings file changed and reload it instantly.

Then in Blue Iris, simply point it at 127.0.0.1 for the IP, remove the user name and password from Blue Iris's credential inputs, and use paths like /cam1 or /cam2 for the main stream.
 
  • Like
Reactions: TonyR and looney2ns
So not RTSP after all....as long as it suits your need then great!:cool:
 
So not RTSP after all....as long as it suits your need then great!:cool:

The original issue isn't resolved. The RTSP H.264/H.265 works in VLC and HA but doesn't work in BI.
Luckily, the camera provides a HTTP MJPEG stream as well which works in BI.
 
  • Like
Reactions: TonyR