Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to digitally zoom in on camera / birdseye live views #4137

Closed
LostSoulfly opened this issue Oct 21, 2022 · 22 comments · Fixed by #10475
Closed

Ability to digitally zoom in on camera / birdseye live views #4137

LostSoulfly opened this issue Oct 21, 2022 · 22 comments · Fixed by #10475
Labels
enhancement New feature or request pinned

Comments

@LostSoulfly
Copy link

LostSoulfly commented Oct 21, 2022

Describe what you are trying to accomplish and why in non technical terms
I want to be able to zoom in while viewing a live feed using the webui on a camera or birdseye view. Sometimes you want to zoom in to see the little details or focus on one thing in a scene. I do this quite frequently when keeping an eye on my kids in the yard, playroom, or bedroom.

Describe the solution you'd like
Best case scenario would be using the mouse wheel to zoom in and out with smooth scrolling.

Describe alternatives you've considered
I've used Blue Iris and Agent-DVR to some success but that requires feeding frigate camera feeds into them and setting them up to not record or process motion, but the feeds are always running and this consumes a lot of CPU resources unnecessarily. The streams can be zoomed in on within Home Assistant but that's not ideal.

@LostSoulfly LostSoulfly added the enhancement New feature or request label Oct 21, 2022
@NickM-27
Copy link
Sponsor Collaborator

I think this is a duplicate of #1735

@LostSoulfly
Copy link
Author

LostSoulfly commented Oct 21, 2022

I think this is a duplicate of #1735

Similar, yes, but not identical. I don't simply mean to make the camera full screen, but actually zoom into it. I'll provide an example (with Blue Iris' webui):

Here's my driveway. Did that dog just crap on my lawn?
image

Oh, no, they didn't. I can zoom in 2x and see the dog much better. I can also click and drag to move the view while it's playing zoomed in, which is a nice bonus.
image

@menkej
Copy link
Contributor

menkej commented Oct 23, 2022

I like the Idea, but at least on iPhone I could pinch-zoom in when I have the cam selected. But this screenshot is the view from an App, right? #1735 would be a great start for me (and probably sufficient) though.

@LostSoulfly
Copy link
Author

But this screenshot is the view from an App, right?

If by app you mean web interface in a browser, then yes it is.

@adambmedent
Copy link

Spent a couple days getting Frigate setup to realize its lacking this feature. Without this it is pointless, blown away this isn't a feature. Its 2022 with high resolution camera's, we need to be able to zoon in or have something along those lines.

@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented Nov 2, 2022

Spent a couple days getting Frigate setup to realize its lacking this feature. Without this it is pointless, blown away this isn't a feature. Its 2022 with high resolution camera's, we need to be able to zoon in or have something along those lines.

It is plenty easy to use the browser on a desktop or mobile device to zoom in on the feed. This is more so talking about from the birdseye camera being able to select and open a single camera view

@adambmedent
Copy link

I don't see any way to zoom in on the feed, I must be missing something. Scroll wheel doesn't work and right click only has save image, copy image and inspect.

@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented Nov 2, 2022

I don't see any way to zoom in on the feed, I must be missing something. Scroll wheel doesn't work and right click only has save image, copy image and inspect.

Not sure what you're running but pinch to zoom works well on my iPhone & Android. MacOS also supports pinch to zoom, not sure if windows has such a feature.

Perhaps scroll wheel could do full zoom on the feed but I am not sure if the <video /> tag supports that in browsers

@LostSoulfly
Copy link
Author

It is plenty easy to use the browser on a desktop or mobile device to zoom in on the feed. This is more so talking about from the birdseye camera being able to select and open a single camera view

I'd love it if you could enlighten us on the zooming functionally. You can't even change the pages scale/zoom to zoom the camera.

And, no, this has nothing to do with selecting individual cameras on birdseye. That's a different issue all together.

@adambmedent
Copy link

I am guessing something like this would only be supported once Frigate is using OVINF to hit camera's. Other wise its just looking at the stream the Camera is handing it. I can zoom via the camera web interface and it shows in frigate. Bummer.

@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented Nov 2, 2022

I am guessing something like this would only be supported once Frigate is using OVINF to hit camera's. Other wise its just looking at the stream the Camera is handing it. I can zoom via the camera web interface and it shows in frigate. Bummer.

So then you're talking about camera hardware zoom which is something different than what is being requested above (as far as I can tell)

@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented Nov 2, 2022

There's already a separate open request for support PTZ controls which seems what you're after #1179

@LostSoulfly
Copy link
Author

LostSoulfly commented Nov 2, 2022

I am guessing something like this would only be supported once Frigate is using OVINF to hit camera's. Other wise its just looking at the stream the Camera is handing it. I can zoom via the camera web interface and it shows in frigate. Bummer.

I think you're talking about something different as well. You're thinking of physical zoom. This issue is about digital zooming of the stream in the browser.

@adambmedent
Copy link

Pretty sure hes on the same page as me, I also tested blue iris, which is what I am comparing it to.

I am a bit of a noob to camera setups, but isn't PTZ part of ONVIF? Seems like you guys would want to get ONVIF support and then PTZ would fall into place? I am still learning though.

@NickM-27 NickM-27 changed the title Ability to zoom in on camera or birdseye views Ability to digitally zoom in on camera / birdseye live views Nov 2, 2022
@NickM-27 NickM-27 added the pinned label Nov 2, 2022
@NickM-27
Copy link
Sponsor Collaborator

NickM-27 commented Nov 2, 2022

Pretty sure hes on the same page as me, I also tested blue iris, which is what I am comparing it to.

I am a bit of a noob to camera setups, but isn't PTZ part of ONVIF? Seems like you guys would want to get ONVIF support and then PTZ would fall into place? I am still learning though.

"support ONVIF" is a very generic idea which in practice does not mean much at all.

We use ffmpeg for everything which in the case of an ONVIF camera uses RTSP (which is apart of the ONVIF protocol) for processing, recording, restream, etc. We simply need to support ONVIF commands for PTZ (which is in #1179)

@adambmedent
Copy link

Pretty sure hes on the same page as me, I also tested blue iris, which is what I am comparing it to.
I am a bit of a noob to camera setups, but isn't PTZ part of ONVIF? Seems like you guys would want to get ONVIF support and then PTZ would fall into place? I am still learning though.

"support ONVIF" is a very generic idea which in practice does not mean much at all.

We use ffmpeg for everything which uses RTSP (which is apart of the ONVIF protocol) for processing, recording, restream, etc. We simply need to support ONVIF commands for PTZ (which is in #1179)

Good info, that helps me understand.

@Caddyman68
Copy link

I assume you've found what you need by now. If not, I was searching for digital zoom feature within Frigate under Home Assistant and found your query here. I am also (hopefully) migrating from Blue Iris which -as you mentioned - has digital zoom both on videos and live feed. I settled on using VLC to watch those few videos I wanted to zoom in on with the PC interface. Of course I also had to do a short search to find out how to enable zoom in VLC lol. Seems people are stuck on using cell phone app (pinch to zoom) and don't understand some of us use a PC. And others don't know what "digital zoom" is as opposed to having the camera zoom in physically via PTZ.

@LostSoulfly
Copy link
Author

I used the phone app for a while but recently the Home Assistant addon got an upgrade that allows holding CTRL and scrolling the mouse wheel to zoom in and then pan. It's not as intuitive as BI's digital zoom, but it works well enough.

@timgurske
Copy link

I too use this feature on BlueIris, and would like it added to Frigate. Just for clarification: on BlueIris you mouseover the video stream and use the scroll wheel to enlarge portions of the video. It's very usefull and I use it often. Also, it's not just digital (interpolated) zoom. In cases where you have a small monitor, but a high-resolution camera, without this feature you are never able to see the video in anything other than a scaled-down version of the stream. With the BlueIris zoom you can zoom into the full size version of the stream and then the digital zoom starts.

@TurboStreetCar
Copy link

I too was blown away there was no way to digitally zoom in on the video, either live, or from a recording.

To be clear, as the OP's intention, I'm strictly referring to digitally zooming into the video, Not talking about PTZ or any thing else.

Not being able to zoom into a 4k camera feed is quite disappointing as it seems like a trivial feature. Id really like to see that implemented as other then that, i really like frigate.

@Caddyman68
Copy link

I too was blown away there was no way to digitally zoom in on the video, either live, or from a recording.

To be clear, as the OP's intention, I'm strictly referring to digitally zooming into the video, Not talking about PTZ or any thing else.

Not being able to zoom into a 4k camera feed is quite disappointing as it seems like a trivial feature. Id really like to see that implemented as other then that, i really like frigate.

It's especially concerning since you can zoom in on live streaming and event clips on the Frigate card - in Android but not on the PC

@TurboStreetCar
Copy link

I too was blown away there was no way to digitally zoom in on the video, either live, or from a recording.
To be clear, as the OP's intention, I'm strictly referring to digitally zooming into the video, Not talking about PTZ or any thing else.
Not being able to zoom into a 4k camera feed is quite disappointing as it seems like a trivial feature. Id really like to see that implemented as other then that, i really like frigate.

It's especially concerning since you can zoom in on live streaming and event clips on the Frigate card - in Android but not on the PC

You're referring to zooming in using home assistant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants