MrRobinHood
Getting comfortable
How can I tell which camera the default audio is coming from on the overlay timeline view? And is this changeable?
What can I do to troubleshoot the dreaded "The video stream was lost. Attempting to reconnect..." messages? Running BI 5.6.5.4 with 18 modest cameras on an i7-6700 (see .sig).
What is "the overlay timeline view"?
When viewing a camera group in UI3, all the audio streams from the visible cameras are combined into one stream by Blue Iris. Not changeable as far as I know.
On UI3's timeline tab, Blue Iris only sends audio when you are LIVE, not when looking at past clips.
Nope. It's back this morningBased on this thread I turned off HA on my box, and halle-freakin-lujah, I think this may have solved this problem. I've been banging on the arrow keys like a wild monkey for the last 30 minutes, and I've yet to see the dreaded error. Even with all 23 cameras on the timeline the video always recovers and starts playing within 2-3 seconds, and with 4 cameras on the timeline it recovers within a fraction of a second.
If this holds up it will make my daily footage review sooooo much better!
Additional hack suggestion: Wrap your iframe in another card (e.g stack-in-card) and then setoverflow:hidden
to the stack-in-card. Then apply negative margin-bottom to your iframe-card. Could even set the margin as a variable that you could then control with a toggle switch, automation etc...
views:
- type: custom:grid-layout
layout:
grid-template-rows: 65% 35%
grid-template-areas: |
"top"
"bottom"
cards:
- type: picture
image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
tap_action:
action: none
hold_action:
action: none
- type: custom:stack-in-card
mode: horizontal
cards:
- type: iframe
url: >-
http://xxxxxxx:81/ui3.htm?tab=live&maximize=1&timeout=0&cam=Cam3&streamingprofile=480p
aspect_ratio: '16:9'
card_mod:
style: |
margin-bottom: -100px
card_mod:
style: |
overflow: hidden
Hi.I think I read all 214 pages! Thank you for this very helpful addition to BI.
I read the help and searched, but can't seem to find an answer.
1. Is it possible to pass in 'auto-maximize' (on motion) as a URL parm? If so, what is the syntax? I am guessing not, but thought I'd ask. It would be helpful for kiosk type/tv type devices without mice or good input options.
2. the auto-maximize works great on my computer, but on a FireStick in Silk doesn't show triggered cam full screen even when enabled (via ui-settings->video->auto-maximize = yes)
Thanks!
Blue Iris did not provide an offset in milliseconds for this alert, so it may being at the wrong position
Anyone else seeing the UI3 popup alert: "Detected HTML5 video player stall. Reopening video stream." far more often in the last couple of months, when it was never previously present at all (in my case)? I don't recall exactly when this changed, but it was fairy recently.
This happens on a mobile phone browser (Brave generally, have also tested under Chrome, same results), and it makes no difference if I am on directly my own local LAN, or connecting remotely over an OpenVPN connection.
For the life of me I can't see what changed on my setup, CPU usage is always low (generally in the 4-10% range, with very occasional spikes up into the 20-25% range), FPS over UI3 stays at a consistent 5-6 FPS. I have played with resetting all the UI3 settings back to defaults, and switching the UI3 specific "HTML Video Delay Compensation" setting to all of the available options (with no significant change observed, maybe very slightly better with this setting set to “Strong”).
Anything else I should be looking at?
Anyone else seeing the UI3 popup alert: "Detected HTML5 video player stall. Reopening video stream." far more often in the last couple of months, when it was never previously present at all (in my case)? I don't recall exactly when this changed, but it was fairy recently.
This happens on a mobile phone browser (Brave generally, have also tested under Chrome, same results), and it makes no difference if I am on directly my own local LAN, or connecting remotely over an OpenVPN connection.
For the life of me I can't see what changed on my setup, CPU usage is always low (generally in the 4-10% range, with very occasional spikes up into the 20-25% range), FPS over UI3 stays at a consistent 5-6 FPS. I have played with resetting all the UI3 settings back to defaults, and switching the UI3 specific "HTML Video Delay Compensation" setting to all of the available options (with no significant change observed, maybe very slightly better with this setting set to “Strong”).
Anything else I should be looking at?
I've also been seeing it fairly often on mobile Chrome. This error message is entirely an invention of UI3 because at some point in the past I was having problems with the video player just freezing even though UI3 was still receiving new video frames from Blue Iris. I may need to tweak the detection code to make it wait a second or two longer for the video player to un-freeze before UI3 decides to restart it.
"It" being the dreaded "video stream was lost" warning from UI3 Timeline view, that resolves automatically, but takes ~10 seconds to do so:Nope. It's back this morning
Does UI3 have its own log? When I look at System Log in UI3 it looks like it's reporting what in the BI console's log, which is typically camera retries, etc., I don't see anything in the System Log about UI3 specifically, except for the login events.@TheWaterbug
I haven't seen it happen when I use the timeline so I wonder if there is something special about your system that makes it happen.
Typically "video stream was lost" means the connection to Blue Iris (the one which was receiving video) was disconnected and UI3 had to open a new connection. There are a number of potential causes for that:
- Network trouble
- UI3 could have a bug where it does not realize it aborted the connection on purpose (this seems very unlikely, as it would be happening all the time to everyone)
- Something could be going wrong in Blue Iris which is causing it to top sending the video stream and close the network connection from its end. From the sound if it, this may be happening shortly after the stream has started, possibly before any video is sent.
Have you given any further consideration to workarounds for this issue? I've tried the suggestion to use Firefox on mobile devices (it's already my preferred browser in a desktop), and although it initially looked promising, the error message did eventually show up there as well. If I switch to the Javascript player, I eventually see the orange clock timer symbol, despite lightly lengthening the timeouts (ie: within reason).I've also been seeing it fairly often on mobile Chrome. This error message is entirely an invention of UI3 because at some point in the past I was having problems with the video player just freezing even though UI3 was still receiving new video frames from Blue Iris. I may need to tweak the detection code to make it wait a second or two longer for the video player to un-freeze before UI3 decides to restart it.