Pushover Alert with Higher Resolution .jpg

Inigo

Young grasshopper
Oct 2, 2016
70
19
&ALERT_PATH is working well to send the Alert image from the low resolution stream ( -s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b>" --form-string "html=1" -F "attachment=@C:\Users\Security\BI Alerts\&ALERT_PATH" ), but I would like to send the higher resolution JPEG recorded when triggered:
1743132418984.png

(They are less than 250 kb, so it isn't a Pushover limitation.)
I have tried &IMAGE_PATH in the "New" file path, but no results. Any ideas? (The manual just says "&IMAGE_PATH - A temporary path to the most recent image from the camera"
(Blue Iris Release 5.9.9.33 x64)
Thanks,
Inigo Montoya
 
Macro &IMAGE_PATH resolves to a JPG file in the Blue Iris 'temp' folder.

something like
C:\ProgramData\Blue Iris\temp\DW1_image.jpg

These images are 'live' from the camera at the moment the macro is used, and therefore are not ideal for 'On alert' action set notifications.

Click here for details.
 
Last edited:
Hmm, it looks like selecting
1743263311802.png


just results in Blue Iris saving a JPEG off of the Low Resolution Stream :-(

1743263213566.png


The only high resolution .jpg is still the one from the Record tab
1743263611341.png


1743263611374.png


So, still looking for a method to include the high resolution .jpg in the Pushover notification.
 
Last edited:
I found a solution; cloned the cameras and selected only the Main stream on the Video tab > Configure. If someone has a more elegant solution, please let me know.
 
Cloning has not worked as well as I hoped and there are a couple problems with the approach:
  • AI confirmation processing done on both streams
  • For each IVS notification, I am only getting an alert from either the main or the clone, and it appears to be alternating. While the main and clone are theoretically independent, this may be due to the 30 second delay between Alerts that I have set. (Blue Onyx isn't throwing any errors.)
Any ideas how to get Alert JPEG images off of the Main (high resolution) stream other than cloning the camera or having the main cameras subscribe only to the Main stream?
(I am using &Alert_Path to grab the image for the curl command, and love the fast Pushover notifications and no need to VPN back in.)
 
Following as I did not find a solution to this, other than bumping up the sub stream resolution
 
  • Like
Reactions: Inigo
While checking if I could reproduce this issue, I noticed that several of my cameras (Dahua 5442T-ZE) had an unexpected Size value in the Camera Settings > Video tab. The screenshot below shows the setting as 848x480!

1744646029219.png


When I check the size of full-res JPGs in the Alerts folder, they have these same dimensions.

1744646106113.png


This is not the main-stream dimensions being delivered to Blue Iris. The camera in question is configured for dual-stream operation. The camera's browser interface shows the main stream size as 2688x1520, and sub stream as 704x480.

1744646520609.png


Note that the aspect ratios of the main- and sub-stream do not match (2688/1520=1.77, 704/480=1.46).

The help PDF explains the apparent discrepancy as follows:

1744646558302.png


How Blue Iris settled on the dimensions 848x480 is not apparent to me!
 
  • Wow
Reactions: jrbeddow
I've received two interesting responses from Blue Iris support and Ken...

SUPPORT... As far as the jpgs not being the size of the main stream, Ken has planned to adjust the wording, really it should be "full JPEG image". "Hi-res" is relative term, as it's the sub stream that is decoded and used for motion and triggering.
KEN... The sub stream resolution is always shown in that box [Camera Settings > Video tab > Image format > Size. see screenshot below].The software sees the aspect [ratio] of 704x480 is wrong, so automatically uses the anamorphic setting to correct it to 848x480 so the sub stream appears in the same aspect [ratio] as the main stream.
The highlighted text is mine.

For my camera, the main- & sub-stream resolutions and aspect ratios are 2688x1520 (1.768) and 704x480 (1.467). So, because the aspect ratios do not match, Blue Iris calculates the adjusted width of the 'full JPG image' as
W = mainstream_W/H*substream_H = floor((2688/1520)*480) = 848
yielding a Size (WxH) of 848x480.

1744841808692.png


For my camera, this is the size of the JPG saved by either of the following settings:

1744843921191.png 1744847095949.png

(btw, note the change of the drop down list entry from 'Full-res JPEG files' to 'Full-size JPEGs (sub stream)' - this is new from my recollection! - I'm using 5.9.9.37)

However, I've verified that you can always force a full-resolution JPG to be saved by using these settings in AI configuration dialog, e.g., 2688x1520.

1744847132982.png


This is not optimum for AI processing, but it may be a possible solution of you are prioritizing the creation of a full-resolution JPG.
 
Last edited:
  • Like
Reactions: Inigo
Thanks for the detailed follow-up!