+3
Discuss & Vote

Blue Iris MJPEG Video stream stops or locks up

jwebstas 1 year ago in Media Tiles / Video Camera Feeds • updated by Adam Rhoades 1 week ago 21 1 duplicate

https://support.actiontiles.com/communities/12/topics/1438-video-stream-stops 

Basically its the same thing thats is occuring in the topic above


OS -  android

Browser - Firefox 52

Camera Feed - Blue iris Mjpg feed

 

The feed works great for 5-8 hrs then it freezes on the panel, a refresh fixes it and it works again for another 5+

Duplicates 1

Discuss & Vote

Hi.


The MJPEG Video stream work to various degree and depend on infinite number of combinations of hardware, software and configuration used.


Unfortunately, the only thing I can recommend at this moment is to try to use a different browser. Our customers are reporting great success using the Fully Browser for Android.


We are considering to add an option to reload Panels periodically to kick start video stream, in case they are frozen.


Thanks

Alex

I have this similar behavior on a tablet with Fully browser. It stalls over time, hmm, maybe I need to find a way to restart the browser itself.

+1

I have the same issue on a tablet with the Fully browser. It may have something to do with the horsepower of the tablet. I plan to switch to the Fire8 (2017) that I purchased when I can work it in. Then i will post an update if the same issue persist.

Waiting for Customer

Brandon,


Are all your camera going through Blue Iris? I did not think that Wyze Cam was compatible with Blue Iris?

Yes Terry. Wyzecam works through BI. It has dropouts unrelated to this issue. I am not including those drop puts in this issue.

I see the same issue on windows box.

What do you mean "on windows box", Patrick?


Is that where you run Blue Iris? And/Or run ActionTiles? Which browsers have you tested? Have you tested more than one? What exact behavior are you observing?


Pardon the interrogation, but details are very important.


Thanks!

...Terry.

Seems most folks are using an tablet of some sort. I am just trying from my Chrome browser on my Windows 10 machine.

Ultimately I want to run it on a Samsung Hub Fridge browser but the images don't show at all on it. I am sure its Samsung issue on that platform. 

I also struggled with this and after testing a ton of different ways, found this to be working very well (knock on wood).  I believe Terry posted the login link suggestion at one point but I never saw anyone confirm it worked.  I made some other minor tweaks.


If you haven't already, create another user in your BI account.  I restricted mine to LAN access only and cut the max frame rate down to 5 fps to help lighten the load on my tablet.  

Use this login link in AT for each camera: 

http://IPADDRESS:PORT/mjpg/CAMERASHORTNAME/video.mjpeg?user=USER&pw=PASSWORD

I have found that my BI CPU usage goes up a bit, but I have plenty of capacity so it's not an issue for me currently.

this is still an issue. i'm using blue iris and a fire 8 with fully browser. it works great for awhile then the feed freezes up. the option to reload a panel periodically might solve a lot of problems people are having with media tiles. are you going to implement that option?

thanks,

pete

Have you tried just setting the Media type to Still Image (but use the streaming URL) so you can give it a refresh frequency?

I also think Fully PLUS has a timed reload option that night work in the meantime.

what is the minimum refresh time we can assign? 0.2 seconds to give an effective frame rate of 5 fps, for example?

For this situation, I'm suggesting to NOT use the "JPEG" URL, but use the MJPEG (streaming) URL.


Just set the refresh to 600 seconds (or 900, or more), to force a reload of the Tile periodically in case the streaming gets stuck.


Worth a try. Not sure if it will resolve the situation.

We don't recommend still image refresh any more frequently than 1/second. It's not likely to work reliably for anything less than 5 seconds.

Where is this option to reload the tile?  Is this new?

Not new:  It's in the Media definition (the box where you put the URL to the camera), not the Tile.

So you're saying to use the Still Image option with the MJPEG streaming URL and set the refresh rate to 600 (or whatever) seconds?  And it will still play the live video feed? 

I asked if this was new because this solution hadn't been suggested in the past.  Would be tickled if this solved the issue. =)

Yup... That's the suggestion we've made a few times in various places, but haven't heard confirmation that it helps.

I can confirm this has fixed the issue for me.  I have three streams and haven't had any of the three freeze up on me, on three different HD 10 devices, in the approx month since you posted this suggestion above.  I changed the refresh rate to something less (each of the three streams are different, something like 10, 30 and 90).  All three streams still stream at the same frame rate that they did when using the MJPEG option.  

Major win to have gotten this fixed.  Thank you.

I had also posted this in another BI thread, in case it helps:


I also struggled with this and after testing a ton of different ways, found this to be working very well (knock on wood). I believe Terry posted the login link suggestion at one point but I never saw anyone confirm it worked. I made some other minor tweaks.

If you haven't already, create another user in your BI account. I restricted mine to LAN access only and cut the max frame rate down to 5 fps to help lighten the load on my tablet.

Use this login link in AT for each camera:

http://IPADDRESS:PORT/mjpg/CAMERASHORTNAME/video.mjpeg?user=USER&pw=PASSWORD

I have found that my BI CPU usage goes up a bit, but I have plenty of capacity so it's not an issue for me currently.

I'm having the same issue. I've tried as a still image (as well as MJPG) with a refresh frequency - but the refresh doesn't catch it. I am using Fully. This only happens with my 3 wireless cameras, all of my hard-wired cameras work great. The image on blue iris itself does not freeze. only the image viewed within actiontiles. It unfortunately has proven to not work very well as a triple baby monitor. There are 5 cameras in total on the panel, I tried dumbing it down to a single camera (picked one of my babies!) and it still did the same thing. Hmmmm.....

Test with Silk (and... Firefox?). It would be interesting to see if this is a browser specific issue.

Hi All, 

I've had similar issues with video feeds stalling on both an iPad and a Kindle Fire. I've had no  success in making the streams more stable, so instead I tried to find a way to kick start them when they fail.


My solution is specific to anyone with a unifi network setup & is comfortable with node-red. So its not for everyone.

What i'm doing here is querying my Unifi Network Controller for details of connected clients using the node-red-contrib-unifi node.

My filter devices code looks like this:

const client = {
"Adams-iPad": "Adams-iPad",
"amazon-04e1baafb": "amazon-04e1baafb"
};

return Object.keys(client).map(function(topic) {
let devices = msg.payload[0].filter(device => device.hostname === client[topic]);
return {
topic: topic,
retain: true,
payload: devices
};
});

I'm then relying on some extra nodes to get the data out including : 'JSONFilter' to get the rx_bytes-r value from the controller & 'bigsplitter' to make it usable.

The rest of the flow checks if the rx rate has fallen below 500kbps (which would mean a cctv stream has stalled) If it stays consistently low for 5 consecutive checks, it sends a command to either reconnect in the case of an iPad, or Block and unblock in the case of a kindle fire. This is enough to kick start the stream again (with fully kiosk set to refresh on network reconnect).

If you use node red, you can import my flow from your clipboard using this pastebin link.

I've also raised a ticket with the node-red-contrib-unifi github author to see if we can find a more elegant way to do things, you can follow this ticket here.

I hope this is useful to someone other than me!

Adam