frigate icon indicating copy to clipboard operation
frigate copied to clipboard

Birdseye View over RTMP

Open travipross opened this issue 2 years ago • 12 comments

Describe what you are trying to accomplish and why in non technical terms It would be nice to see the birdseye view as its own output stream. For example, by creating camera entities in Home Assistant, one can then connect with the Google Assistant integration to expose Frigate camera streams, enabling "Hey Google, show me the front yard camera on the TV". Having the birdseye view as a camera stream would be great for passive monitoring on a display.

Describe the solution you'd like Ideally, something like adding an rtmp role to the birdseye view in the config to enable re-streaming the birdseye feed.

Describe alternatives you've considered Chromecasting the browser tab with Frigate birdseye view. This isn't as easily integrated with other smart home routines though.

Additional context None

travipross avatar Oct 28 '21 18:10 travipross

Slightly off topic, but how did you manage to get Birdseye to work? Did you configure something, because my Birdseye page is just blank.

Calimerorulez avatar Oct 28 '21 19:10 Calimerorulez

Slightly off topic, but how did you manage to get Birdseye to work? Did you configure something, because my Birdseye page is just blank.

I just made sure to include the relevant stanza in my config file as per the docs. Copied section below:

# Optional: birdseye configuration
birdseye:
  # Optional: Enable birdseye view (default: shown below)
  enabled: True
  # Optional: Width of the output resolution (default: shown below)
  width: 1280
  # Optional: Height of the output resolution (default: shown below)
  height: 720
  # Optional: Encoding quality of the mpeg1 feed (default: shown below)
  # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
  quality: 8
  # Optional: Mode of the view. Available options are: objects, motion, and continuous
  #   objects - cameras are included if they have had a tracked object within the last 30 seconds
  #   motion - cameras are included if motion was detected in the last 30 seconds
  #   continuous - all cameras are included always
  mode: objects

travipross avatar Oct 28 '21 19:10 travipross

This would be a very nice addition; it would consume much less resources than this:

image

felipecrs avatar Oct 29 '21 17:10 felipecrs

@felipecrs you can already replace that with the frigate card using birdseye. Just use birdseye as the frigate_camera_name

654456 avatar Oct 29 '21 22:10 654456

This is awesome! Thank you for the tip!

image

It's just not optimal in the phone while in vertical, but this has absolutely nothing to do with this issue anyway. :)

felipecrs avatar Oct 29 '21 23:10 felipecrs

Hi, I think i have the same problem....

I try to get the Birdseye stream like this: rtmp://192.168.125.100:1935/live/Birdseye ...and i absolutly do not know where or how to configure it....

I am using this version "0.9.4-26ae608" with docker on synology.

Thank you very much.

Baumi1245 avatar Dec 24 '21 13:12 Baumi1245

@Baumi1245 AFAIK this is not yet possible.

felipecrs avatar Dec 24 '21 15:12 felipecrs

+1 for this feature. Any updates on if its planned? I'd love to have this as a live RTMP/RTSP stream

k1n6b0b avatar Sep 12 '22 14:09 k1n6b0b

+1 for this feature. Any updates on if its planned? I'd love to have this as a live RTMP/RTSP stream

This is pinned so it has been accepted as a feature that will be done at some point

NickM-27 avatar Sep 12 '22 14:09 NickM-27

@felipecrs you can already replace that with the frigate card using birdseye. Just use birdseye as the frigate_camera_name

Can you clarify that with a YAML example? I don't see a way to get that to work with the frigate custom card.

Edit: never mind figured it out after a few iterations.

type: custom:frigate-card
cameras:
  - camera_name: birdseye

bagobones avatar Sep 12 '22 21:09 bagobones

Since it’s available like this in home assistant I assume it should be simple to expose over RTMP, yes? Is there any workaround outside of hass?

Also the choice of RTMP vs RTSP, RTMP seems to be more a push streamer protocol. RTSP has way more support from what I can see (and is the only option for my Control4 system)

k1n6b0b avatar Sep 13 '22 10:09 k1n6b0b

Since it’s available like this in home assistant I assume it should be simple to expose over RTMP, yes? Is there any workaround outside of hass?

Not at all, the current RTMP streams are all just restreams from the camera. Birdseye is jsmpeg so sending it via RTMP would require encoding it to h264, pushing it as RTMP, and other detail / challenges that would crop up while implementing since RTMP is so picky with data.

Also the choice of RTMP vs RTSP, RTMP seems to be more a push streamer protocol. RTSP has way more support from what I can see (and is the only option for my Control4 system)

The goal in a future version is to drop RTMP and use rtsp-simple-server or go2rtc

NickM-27 avatar Sep 13 '22 11:09 NickM-27

The goal in a future version is to drop RTMP and use rtsp-simple-server or go2rtc

This would be so nice. I've been struggling to get an RTMP library working in C# so I can write my own desktop camera software!

BradleyShaner avatar Oct 07 '22 23:10 BradleyShaner