i25 and i26, how to use 3 different stream at the same time

Hello,

I have 2 Mx cameras, i26 and i25. I connect them to frigate using go2rtc. Using RTP server on i25 I get the full and sub stream using

i25:
- http:///control/faststream.jpg?stream=full&preview&previewsize=3072x2048
i25_rec:
- ffmpeg:i25#video=h264
i25_sub:
- ffmpeg:i25#width=1280#height=960#video=h264

Problem here is that I have live image equal to the 6MP stream to be able to record with full stream. Is there a possibility to get:
. live stream=full HD
. sub stream=HD
.record stream =6MP

For i26 which is ONVIF capable, I want to use it to get the same result as shown above but can’t get it. In integration they are 4 defined Profile (default0 to 3) but I can’t find which quality of stream is connected to those default profiles and how to modify them?

With Genetec+ONVIF I can set codec I want but nowhere the avaibility to change the stream.

Thanks for any hint

Hello tootai,

a very specific question, so let me share the infos which i have collected.

  1. MOBOTIX I25 cameras Not support ONVIF in general and No H2.64 via RTP. This is only support by I26 (Mx6 Family) cameras and newer!
  2. For the I26 cameras:
  • On Mx6 camera models, the Integration Protocols settings page on the camera does not show video stream settings in integration modes (IM) other than RTP.
  • Normally, in IM = ONVIF an ONVIF compatible client is expected to do the configuration of the RTP streams.
  • Alternatively, in integration mode = RTP the integrationprotocols page lists the camera’s video stream settings.
    • So, as a workaround,
      • you can briefly set the IM back to RTP,
      • re-configure the streams are required,
      • set & store the settings to flash, and then
      • switch back to IM = ONVIF.
    • → Most of the video stream settings should be also applied to IM = ONVIF.
    • Stream 1 in IM = RTP should correspond to the ONVIF profile default0, Stream 2 = default1 and so on.

    Note, that, in IM=ONVIF only H.264 and MJPEG (but not MxPEG) are supported as video stream codecs in RTP streams

I hope this helps Jörg

Hi Jörg

I know that i25 can’t do ONVIF: my problem for this camera is how to get the full rtp stream without having it applied on the live stream ? FYI h264 is done by go2rtc which convert mjpeg stream in h264

Concerning i26, in RTP I get only CIF, VGA, XGA and HD mode, nothing more :(, ONVIFDM doesn’t allow too to go over HD in h264 mode. This means that I have to use RTP/Mjpeg with live stream full like i25, not really friendly.

Question will be then the same that for i25, how to get full stream without having live stream to be set in 6MP ?

I have to add that for both cameras FW is latest respectively MX-V4.7.3.11-r6 and MX-V5.4.9.4-r3

Thanks for your support, Daniel

Hello Tootai,

Sorry, I don’t think it is possible on x15/x25/x16/x26 to get a 6MP image in RTP streams while simultaneously having the “browser live image” set to a smaller resolution.

On x15/x25/x16/x26 cameras , the images for the RTP streams are always derived from the browser live image (on Mx7 and ONE cameras, this is also true for encoders in the “Full” streaming mode).
Moreover, the RTP server is only able to scale down its source images (even though the /admin/integrationprotocols page on x15/x25 cameras always lists all possible resolutions).

Regarding the i26, let me give you some technical details why you are not seeing the FullHD resolution:

On x16/x26 cameras, the H.264 video encoder hardware has a max. resolution of 1920x1080.
If either the height or the width of the respective resolution exceeds the limit, that resolution is removed from the list of available resolutions for this RTP stream.

From what I understand, the size of your browser live image is 6MP, or 3072x2048. This resolution has an aspect ratio (AR) of 3:2.
In Integration mode (IM) RTP, the aspect ratio of the RTP server resolutions is always set to the aspect ratio of the browser live image.

For your configuration, I’ve listed the RTP server’s full resolution list below. The resolutions crossed out are too big for the camera’s H.264 hardware encoder and are removed from the list

  • CIF (160x240)
  • VGA(480x320)
  • XGA(1152x768)
  • HD(1440x960)
  • FullHD(1920x1280)
  • QXGA(2048x1360)
  • 6MP(3072x2048)

To get an H.264 stream with FullHD (1920x1080) resolution you have to set the camera live image to a size with AR = 16:9. One workaround could be to use a custom live image resolution of 3072x1728, which has an AR or 16:9.

However, as already stated above, there is unfortunately no way to get a 6MP RTP stream without having the live stream set to a resolution of at least equal size.

Hi Joerg, thanks for those explanations. As h264 is not able to use the full cameras availibility, I will keep full stream in browser and use go2rtc h264 translation which record with a dimension of 3072x2048 as shown by VLC.

Thanks for your help