Frigate substream reddit. I'm clearly misunderstanding how onvif works.
Frigate substream reddit The sub stream quality is very low, 704x480. For example, a camera that has a configurable substream (you can set the resolution and frame rate at will) means you can optimize the substream for frigate object detection which will be an optimal resolution without needing to use the extra CPU resources to downscale the full res stream (in the event that the substream is too small and not Since Frigate 0. password: password. The Frigate UI does only show the 720 stream, which is unfortunate, but probably needed to properly using the masking and zoning tools. 1, copying only the video stream. client_id: frigate. If I'm looking for less cpu intensive as my goal, which stream should detect and which stream should reco Here's my Frigate config. Does Onvif even have substreams (for all cameras - mine is an ipc360 generic cam)? So you'd probably be better off using that restreamed output from go2rtc as input into frigate. The mainstream (101) is full resolution and should be configured in frigate for clips and recording and streaming. DW Spectrum works really well for this. I want the dashboard to show the substream by default and be able to switch when asked. As Frigate won't transcode anything without some more work, you'd end up with h265 clips you can't view in HA Browser or Android App. On the camera, the bitrate is constant, frame rate is 6 FPS (can't select 5 from the dropdown menu), max bitrate 2048 Kbps, H. Typically in this case you would use the main stream at full resolution for recording (Synology in my case) and set a lower sub-stream to 1080 or 720p for live viewing (homebridge) and ML (Frigate). as I read here every now and then, I'm not the only one struggling with integrating 8MP Cams from reolink into Frigate and HA. Frigate was working it's butt off just trying to resize the HD image to the detect resolution. Eh, I’d advise the opposite. However 2 of the 3 camera's main stream is in 4k which consumes a lot of mobile data when viewing them all in a single dashboard. , people trespassing and flag the date/time) and record the main stream 24/7. I have some H265 cameras and compatibility with frigate is kind of a pain. However these Amcrest cameras (IP8M-T2599EW), will only allow the sub-stream to be set to a maximum resolution of 704x480 which is less than ideal. Current behavior: frigate card displays SD stream ("image" provider") by default; HD stream in substreams menu. the ratio is different so jump from low quality - low bandwidth overview look, to the good quality stream is kinda more apparent and there are black bars at sides in main look cuz 4:3 Frigate doesnt care about the resolution of the mainstream, it doesnt decode it, it just saves it "as is". What do you mean by "frigate_ip" - is this the same as the IP you use to access the Frigate GUI in a browser? I've seen elsewhere people putting rtsp://127. Frigate connects to go2rtc in 3 different ways, treating each input stream as an "rtsp restream low latency". - Unable to see the main stream in frigate - Unable to see the main stream in the reolink browser (but can see it on my phone) The main issue is that I can get the sub stream into frigate but not the main stream. On my Hikvision cameras I have the option to toggle the substream audio on/off, but on my Reolinks, it's permanently set to on, so it depends on the camera. When I used that stream for detection alot is missed so I changed to the main stream which is 2592x1944. user: username. I have a working frigate config and also have the frigate integration an dusing the frigate hass card in go2rtc mode. 1:8554 in this section - which incidentally hasn't ever worked for me. Once I restarted Frigate I noticed all my zones and min/max objects were now way May 12, 2021 · If you run frigates "detect" pipeline on your cameras main stream, all of those operations are going to have to be done on a larger video file which will expend more resources. This looks correct so should be good on frigate side, either there’s some confusion or perhaps the URL paths you have are wrong, might be worth checking in VLC to be sure Reply reply blackax How can I restream the high quality stream from frigate to home assistant? Ive looked into the custom WebRTC component, but this only seems to be compatible with rtsp, not rtmp which frigate provides. g. In that case, the SD is selected based on the 'image' provider Hi Guys, on my reolink cameras the main stream is H265 and the sub is H264. However, I'm trying to set up object detection using a lower res substream. You need to give frigate the resolution of the substream, the one you will use for detection role (and yes, for every camera), which it has to decode to run motion detection on. Using 2 reolink cameras, both with main and sub streams. I had to do a lot of per camera fiddling to make detection work and to get the live stream to work faster than 5fps. Is there a way to config it to use the main stream instead?. For detection, Frigate connects to go2rtc via 127. I have several cameras connected to it, and even with Frigate configured to do everything with the mainstream, I'm not really seeing a meaningful CPU hit. . The way you have it, go2rtc is creating a stream called "front", from the camera's http-based RTMP stream for your main stream, while frigate is independently accessing the RTSP streams for your main and sub streams. Since 0. 0. I would like to use preset-intel-qsv-h265 & preset-intel-qsv-h264 for the 2 separate streams, but not sure if possible. Desired behavior: SD stream (image); intermediate (restream of sub); HD (restream of main) The frigate card documentation has an example with an SD and HD substream here. But in the new frigate UI I noticed an issue with the fact that substream is 640x480 and the main stream is 2560x1440. Everything seems fine, except the live view is using the sub stream. We also sometime talk about other canon equipment such as printers. ffmpeg: hwaccel_args: preset-vaapi. I do not have a coral. The H265-only stream is a headache to say the least. Frigate config (it has had bits added/modified overtime, so not sure everything is as it should be (especially go2rtc/stream types etc. Substream (probably the 102 stream) is a lower resolution stream, it is extremely useful for frigate to run motion detection on the substream, as that does not require high resolution. It might be worth checking your substream on something like VLC player first if you're not entirely sure! You might save yourself some headaches later on. I ran it on Ubuntu Server (no GUI to save on system resources) using a mini PC with an Intel Celeron J4125 processor and 8GB of DDR4. topic_prefix: frigate. 12 RTMP is deprecated and go2rtc is required for adding a stream in home assistant through frigate I have one of the recommended cameras the Amcrest IP5M-T1179EW. There are a few things specific for Reolink cameras, but the layout should help. We would like to show you a description here but the site won’t allow us. Jul 31, 2022 · Instead, I want to use the substream to detect events (e. 12 the old way of sending a stream to home assistant (RTMP) has been deprecated due to various issues like it not support h265, compatibility with high bitrate, etc. I am using the sub-stream as the detect stream and have the FPS set to 5 in the Frigate config. The substream 0 is definitely the high resolution, and the substream=1. I have my Reolink E1 Outdoor working on a fairly basic level in Frigate and can access the MSE and WebRTC streams OK. Appreciate the help though man and if you have anywhere that you accept donations for the go2rtc: create a substream for recording I've been trying to limit load on camera and network, so I'm trying to solve two use cases: I have a reolink, with the known main/ext streams. I'm clearly misunderstanding how onvif works. The Reolink part is probably the most messy): mqtt: host: IPAdd. The general idea is to limit the full pipeline (decoding, motion detection, object detection) to only running on the substream. Welcome to reddit's home for discussion of the Canon EF, EF-S, EF-M, and RF Mount interchangeable lens DSLR and Mirrorless cameras, and occasionally their point-and-shoot cousins. 264 encoding, I Frame Interval 50, SVC Off. The cameras are first added to go2rtc, and the cameras section pulls the feed from there into Frigate (and Home Assistant) EDIT: The amcrest docs are big fat liars. The ffmpeg postprocessing in Frigate then reduces the frame rate to 5fps, before sending the frames to the detector as raw yuv420p. You can control this with the live->height config option, but it states the following in the config file: It's running a Linux server with Frigate in a Docker container, and the computer is running several other Docker containers at the same time. Nickm_27 speaks the truth, and is my new best friend. There seem to be multiple streams from this camera (/onvif/, /onvif1/, /onvif2/, /onvif3/ etv) but they're all the same resolution and bitrate. port: 1883. BTW you were helping me on another post in the frigate_nvr sub yesterday, was posting here to see if there was a config I could just copy lol. This has cause a huge spike i Here is my current config that is working without errors in the log. Using the generic camera works, but with a huge delay (~15 seconds) Using Frigate in Home Assistant. go2rtc: streams I just set up frigate in docker in the proxmox lxc. The rtmp stream in the HASS Frigate card is the full 4k stream. dborgy ojtwz vlbpcjra eerzqcm teyqvppc bzjys nozku akbz evoelfaca ija vfuivo bemoxeo flixu qwsvgm byzlsp