5.2.7.0 - RTSP sub-streams for high-MP cameras

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,023
Location
USA
I can still zoom. There is no difference in that regard.
 

dewmgaze

n3wb
Joined
May 7, 2020
Messages
7
Reaction score
0
Location
PA, USA
Just checked...I'm able to zoom in.
I'm on 5.2.7.5, is that what you're on?

After adding a substream to a camera, it will no longer zoom. At first it still zooms, but after a restart or if I edit another camera, it looses the ability to zoom. After removing sub stream, zoom ability comes back again. Using 640x480 res on my substreams.
 

ARAMP1

Pulling my weight
Joined
Feb 13, 2018
Messages
243
Reaction score
171
Location
Memphis, TN
I'm on 5.2.7.5, is that what you're on?

After adding a substream to a camera, it will no longer zoom. At first it still zooms, but after a restart or if I edit another camera, it looses the ability to zoom. After removing sub stream, zoom ability comes back again. Using 640x480 res on my substreams.
I'm also on 5.2.7.5. Able to zoom in with the scroll of the mouse wheel.

Zoom Out .jpg


Zoom In.jpg
 

dewmgaze

n3wb
Joined
May 7, 2020
Messages
7
Reaction score
0
Location
PA, USA
I used my main stream URL in the sub stream section to see if it was something with the actual sub stream, like the resolution or something, and I'm still unable to zoom.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,023
Location
USA
@dewmgaze oh, you are talking about PTZ zoom, not Blue Iris's digital zoom? I haven't tested that at all with a sub stream. You should contact BI support about it if you can provide steps to reproduce the issue. Make sure you tell him you are talking about PTZ zoom.
 

b0bthebuilder

Getting the hang of it
Joined
Dec 7, 2017
Messages
101
Reaction score
62
@dewmgaze oh, you are talking about PTZ zoom, not Blue Iris's digital zoom? I haven't tested that at all with a sub stream. You should contact BI support about it if you can provide steps to reproduce the issue. Make sure you tell him you are talking about PTZ zoom.
No problems here with PTZ zoom on substreams with BI 5.2.7.5 and Dahua cameras.

@dewmgaze -> What "string" are you using for the substream (and what camera model)?
 
Joined
Oct 16, 2018
Messages
1,675
Reaction score
5,520
Location
Florida, USA
I’ve been trying to get a substream working for my Dahua 5231s and haven’t been successful. Anyone try this and get it working with this model of camera, please post the string. Thanks
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,045
Reaction score
949
I’ve been trying to get a substream working for my Dahua 5231s and haven’t been successful. Anyone try this and get it working with this model of camera, please post the string. Thanks
I'm using Sub Stream 2 and here's the string that works.
/cam/realmonitor?channel=1&subtype=2&unicast=true&proto=Onvif

Change "2" to "1" if you're using Sub Stream 1.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,023
Location
USA
It is a bit more complicated than it could have been, due to how Blue iris splits up all the parts of the RTSP URL.

Dahua

Here is how I do it for Dahua, broken down Barney-style.

1) Copy the Main stream text into the Sub stream box.
2) Type a question mark (?) after the text you pasted in the Sub stream box.
3) Copy the Params text into the Sub stream box after the question mark.
4) Change subtype=0 to subtype=1. (or subtype=2 if using the second sub stream on a camera that has multiple)

1588900205943.png

Hikvision

My Hikvision cams don't use a Params section, so I just need to copy the Main Stream text and change {CAMNO} to 2.

1588900760071.png

A similar procedure can be followed for most cameras. You just need to figure out which part tells the camera which stream you want. In some cases, there might not be a number or anything obvious, so you should google for the correct RTSP url format. ispyconnect often has a good list. Ex: "ispyconnect hikvision rtsp URL"
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,693
Location
New Jersey
I struggled a bit with the substream parameter but got it working, pretty quickly, on all the Dahuas I have and an Annke. I tried on the SV3Cs, bought when I was ignorant, and while they will work with a substream they don't seem capable of supplying both streams simultaneously. Overall, so far, I'm a happy camper and have cut CPU utilization almost in half, from 20% down to 10%. The PITA was redoing all the motion detection zones but that's a one shot deal. Ken does need to do something about the "shadow" color for the grid though. It's tough to see very light yellow on a green background. I deliberately waited for .5 to come out to save myself some angst with the earlier versions.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,023
Location
USA
I still consider it too early to switch over to sub streams. When you maximize a cam, the live video is paused while the main stream is preparing. This is a needless pause at a time when it is likely very inconvenient for the video to be paused. Also you only get the sub stream when live-viewing remotely in UI3 or in a mobile app -- it never switches to the main stream.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,693
Location
New Jersey
I can live with the pause and the substream on UI3, although the main stream would be nicer. With the reduced frame size on UI3 not much detail is actually lost until you go full screen with one camera. I may need to fuss with detection zones, though. I did make some changes on a couple of cameras, but a couple of the ones I didn't fool with don''t seem to be detecting motion as reliably. Maybe some fine tuning will fix that.
 

dewmgaze

n3wb
Joined
May 7, 2020
Messages
7
Reaction score
0
Location
PA, USA
@dewmgaze oh, you are talking about PTZ zoom, not Blue Iris's digital zoom? I haven't tested that at all with a sub stream. You should contact BI support about it if you can provide steps to reproduce the issue. Make sure you tell him you are talking about PTZ zoom.
No, I was talking about digital zoom actually. But, I fixed the issue, I'll share what I changed in case it helps anyone else who's having issues with substreams.

Basically, I had kept the protocol set to HTTP or HTTPS (I forget which one it was). For main stream and sub stream, I was using the correct URL. These URLS were verified in VLC to work, and if used the substream URL in my main stream, it worked fine there as well. But for whatever reason, when using both, the substream refused to connect. The status window would show red, and report network errors, and only the main stream was working, but oddly reporting it's bitrate and such under the sub stream columns.

What I did to get both streams to work, was swtiching the protocol to rtsp. RTSP doesn't let me specific a main stream url, but that just seems to work, so whatever. For the substream URL, from my camera docs I used "/h264Preview_01_sub". After these changes, the status window cleared up, started showing bitrates under main and sub stream columns, and PTZ and digital zoom came back. Also it was obvious that the main UI was showing substreams, and double clicking a feed you could notice the swap to main stream.

Not sure why the setup wouldn't with with HTTP, but doing RTSP did the trick.
 
Top