#cameras-archived

1 messages · Page 116 of 1

manic ermine
#

I needed sudo nano /boot/firmware/config.txt

#

Should I use 128MB on an 8gb pi4b? Or keep the default of 76?

manic ermine
#

@granite copper do you know what the device is for a raspberry pi4b running in docker? I'm running ubuntu server now if that matters.

- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
manic ermine
#

Yeah that's the first one listed. I guess that would be it then right? https://dpaste.org/9yOJ1

How much gpu memory do you recommend for a raspberry pi4b 8gb ram? Default is set at 76 right now, should I push it to 128?

granite copper
manic ermine
manic ermine
# granite copper I always just do the max. Not sure.

I don't know if I can catch a break trying to migrate to the pi lol. I got hardware acceleration errors, ok turned that off in the configuration and docker compose.. then i got fatal python errors. Seems to be an issue with the tpus? I am using both on the recommended USB powered hub on the 3.0 port. I even tried just using 1 on the USB hub and that still generated the same errors. I even tried using the detectors without the hub by directly connecting and still getting the errors. https://dpaste.org/suY0h
https://dpaste.org/fUNae
It will say edgetpu detected sometimes only to say later on no edge tpu detected. Seems as if this is just not meant to be lol. Plugged them right back into the odroid running home assistant os and they work.. not that I thought the issue was them.

granite copper
#

I always just use the official raspbian 64bit build for testing.

mellow geode
#

does the accuracy of detection vary between coral and cpu? i.e - is coral detection more accuracte than cpu? I have cpu and detection at night is all over the place. cats get detected as birds and vice versa. I got detected as a dog lol. I also understand that the camera only sees 2d so it may not be so accurate at night

manic ermine
granite copper
#

Accuracy should be the same, but with a TPU it can run detection more frequently. It takes multiple frames to confirm, so it may miss more objects with a CPU.

granite copper
manic ermine
#

Interesting. And I used the recommended docker compose with running in privileged.

granite copper
#

The process in the container runs as root, so that hasn't been necessary in my experience

#

Yea. You can try installing the runtime. It's already bundled in the container but you can follow that tutorial to see if the getting started tutorial works at least.

manic ermine
#

Sounds good. I'll report back tomorrow hopefully with better news lol.

#

Do you run the tpu at max? libedgetpu1-max

granite copper
#

Yes

manic ermine
#

Perfect.

#

I wonder if this is the issue?

The following packages have unmet dependencies:
 python3-pycoral : Depends: python3-tflite-runtime (= 2.5.0.post1) but it is not going to be installed
                   Depends: python3 (< 3.10) but 3.10.4-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
pi@ubuntu:~$
mellow geode
granite copper
granite copper
manic ermine
#

Sounds good, I'll try again tomorrow. Have no idea how many times I have tried already lol. All to get a USB hdd and offload the CPU load to the raspberry pi from the odroid and use the hardware acceleration that I can't seem to find out how to use on the n2+

granite copper
#

I find them to perform very well on my cameras. It varies a lot based on the camera and the situation.

#

To clarify, I mean at night too. I very rarely get false positives even at night.

mellow geode
mellow geode
#

I am building a unraid server with frigate specifically in mind. would the amd igpu work with frigate? I heard plex has issues

manic ermine
# granite copper Probably not. The container includes all that stuff itself.

Back again, It still didn't work. I actually noticed frigate not working caused a bus error and made the pi completely unresponsive. If it was a power issue somehow (even though I'm using a powered USB hub) I got a 45w USB c charger connected and still got those errors. I was never able to do the demo because of the errors in installing pycoral. What's odd is that 1 tpu is flashing and the other isn't. This could be my issue. When I ran lsusb yesterday I didn't see Google listed at all, it may be that there's an issue with identification. Even though it identifies it for a few seconds something might be wrong in the way it's identified and used? I'll attempt what was listed there. There's suggestions to passing through the entire port rather than the current way and editing udev rules to identify as a google coral. I tried to see what it identifies as on home assistant os but I can't see it. They are identified immediately though in comparison to running on the pi. https://stackoverflow.com/questions/56632485/coral-google-edge-tpu-usb-accelerator-not-recognized-virtualbox-workaround

rustic rampart
#

I don't know anything about your issue but it's pointless to use a 45w USB c charger for the pi

#

45w is just achievable through USB-PD at higher voltages for charging purposes

#

The Pi just uses the 5V, which is probably 3A = 15W (like the Pi 4 stock charger)

mellow geode
granite copper
granite copper
elder kayak
#

is anyone here using Frigate + DoubleTake?
for Facial Rec?

#

looking to chat with you if you are and see how im supposed to be using this thing. I've got deepstack doing facial rec via DoubleTake

manic ermine
granite copper
granite copper
#

I have seen 11 and 12 referenced too

mellow geode
#

I have changed the detect resolution to 1080p 5fps to see if cats stop being detected as humans. but I noticed that an event that was detected at 11:25 is still in progress at 12:35. maybe this is a one off but thought of reporting it just if it was a bug. please see screenshot https://imgur.com/a/MIkD06A

granite copper
azure rain
#

I want to add latest snapshot of a camera with my alert. Where can i find that. I see it in /media in the web interface but on the filesystem it's not there. Where are they?

rustic rampart
#

I made some changes to try and improve audio support in stream. We still only support mp3 and aac audio, but hopefully we can enable some of the cases that we disabled before. Netatmo, Reolink, and Milesight are some cameras that were affected. Can anyone help test this on the beta?

kindred nova
#

Hey guys, what happened to the MJPEG integration configuration example? https://www.home-assistant.io/integrations/mjpeg/ is not available anymore to be defined from the configuration.yaml or what? I'm kinda in a rush because the only file I kept for re-installing hass was the configuration.yaml one, and now I'm kinda looking over all the errors and trying to get everything up again /o\

#

This is the error ERROR (MainThread) [homeassistant.components.camera] The mjpeg platform for the camera integration does not support platform setup. Please remove it from your config.

hollow ore
#

Adding MJPEG IP Camera to your Home Assistant instance can be done via the user interface

kindred nova
#

I want to skip that as much possible and continue using the configuration.yaml @hollow ore

hollow ore
#

Well, then you have a problem

#

You can't

kindred nova
#

WHAT

#

why???

hollow ore
#

Because that's how it is

#

Things are pretty much either YAML or UI

#

Not both

kindred nova
#

I dont want both

hollow ore
#

Good

kindred nova
#

I've been using hass for around 5 years, upgrading Python to the latest version possible everything and everything is defined on the configuration.yaml

hollow ore
#

Well, for the last few years HA has been moving more and more things to the UI, away from YAML

kindred nova
#

But then this is deprecated now? gone?

hollow ore
#

Yes

#
  1. It was in the release notes under Breaking changes when it happened
  2. The docs always tell you the truth of how an integration is configured
kindred nova
#

But you said i could still used yaml only?

hollow ore
#

No

#

At no point did I say that

kindred nova
#

Sure, i missuderstood then

hollow ore
#

I said things - as in in general - are UI or YAML, not both

#

This integration is UI, so no YAML option exists

kindred nova
#

i want MJPEG to be YAML only, but then there are no examples for it anymore..

hollow ore
#

Well, of course not

#

It's not possible, you can want it all you like, that's not going to change anything

kindred nova
hollow ore
#

So?

#

That's not an MJPEG camera

kindred nova
#

Sure

hollow ore
#

It's like saying that because your coffee comes in a mug so must your steak

#

If you really want YAML, it's time to downgrade HA to before that integration moved to the UI

#

And never upgrade HA again

kindred nova
#

I wasn't planning to upgrade.. My sdcard crashed and have to install everything and restore the backups (just the configuration.yaml for what i knew)

#

Oh well

#

Thanks for the clatifications anyway Sr

hollow ore
#

HA's config is in far more than that one file

kindred nova
#

How are backups are to be handled from now on? I'll try to get my home automation working again and at least prevent this to happen in the future

hollow ore
#

Same as before

#

You should be backing up everything in the config folder

tiny socket
#

I've put this in cameras since it's the closest I could spot to somewhere to ask about light sensors.

In another building I have various equipments with status LEDs on them. I want to be able to remotely confirm these are OK. I'm thinking of a device with a few self adhesive photodetectors stuck to the front of the LEDs which then will put the relevant lit/unlit signal onto WiFi.

Does anything like this exist? Or would it be a DIY job with esp32 or similar?

safe sage
#

@glacial impupdate on that issue from like two weeks ago, just wanted to throw out I'm test driving the wyze cam v3 on the RTSP firmware and it seems to be WAY more stable than the V2's. Like, alot. Haven't experienced a single dropout yet with Blue Iris

#

FOV and picture quality is marginally better too, but the real bonus will be the starlight sensor. Have to wait until tonight to see the diff

unkempt bear
#

anyone here know if i can get ptz control working for my tuya cams ?
ive been googling for a bit but not much luck

fallen trail
#

Can you see the live view inside the area card?

unkempt bear
#

what do you mean by that ?

#

i get output from the camera if that is what youre asking

#

i just wanted to have ptz control aswell

safe sage
#

Why don't you just use an NVR/Software made for it?

unkempt bear
#

any pointers on what to use ?

unkempt bear
#

these are tuya smart ptz cameras

safe sage
#

Just make sure your cameras have an RTSP and/or ONVIF stream

#

Actually you need ONVIF for PTZ control IIRC

waxen crane
#

Hey guys, I have an issue with that some streams gets like this in Frigate NVR. Had the issue over multiple versions (1,5 years) and figured I should get it resolved. https://imgur.com/a/4smr4zz Those three cameras are all different types, Axis, Bosch and D-Link. What's the cause? It's so wierd that 10-20% of the top part is perfect then it renders like that below

junior path
#

I've seen this happen when using udp

#

Test using rtsp over tcp

granite siren
#

Anyone running Frigate on a server with dual Xeon CPUs? I'm looking for some advice on setting up hardware acceleration. None of the examples from the website work and I'm not really familiar enough with ffmpeg args to do it myself.

junior path
#

you need a gpu

#

what is the model of the CPUs

granite siren
#

Unfortunately a GPU may be a little difficult to get in there. I plan to try, but until then I'd like to try the CPU

rustic rampart
#

Unfortunately you can't use hardware acceleration if you don't have the hardware

granite siren
#

I was worried about that

#

figured I'd ask anyway

junior path
#

you can use software for decoding

#

just uses more cpu

granite siren
#

Wish scalpers weren't asking 8-12x MSRP for Coral TPUs

rustic rampart
#

The coral helps with the inferencing while the "hardware acceleration" is usually referring to hardware decoding

#

So basically they are helping with different parts. Ideally you'd have both

granite siren
#

Good point. It would be nice. I wish I could upgrade these, but unfortunately these are the best CPUs that are compatible with this server

rustic rampart
#

Yeah. You could look into getting a different device. Honestly everyone is focused on the coral since it's plug and play with frigate, but if it's that hard to get people should try one of the other platforms like the Jetson devices or the NCS2. Blake doesn't want to waste time with supporting those as he's working on other features, but it should be easy for someone to just maintain a fork with support for those devices.

granite siren
#

I have an Nvidia Jetson Xavier development kit that I'm trying to fix. I may end up running Frigate on that if I ever get it working.

#

Save my server some effort

manic ermine
#

Will frigate support h265 in a future release? @granite copper

granite copper
manic ermine
#

Interesting, so frigate can take an h265 feed and record/use it for detection but for playback step down to h264 on non supported browsers?

granite copper
#

You have to re-encode h265 to h264 in your ffmpeg args if you must. It's not really practical unless you have a decent gpu.

#

Probably cheaper to just replace your cameras than buy a GPU.

manic ermine
#

I see, I was just curious as I'm using blue iris with h265 and once the pr for manual event creation is merged into v.0.12s beta I will migrate completely to frigate so I wanted to know if it had support and to what extent.

#

My cameras support both

granite copper
#

Future versions could support dynamic reencoding of recordings to h264

manic ermine
#

Interesting, not a big deal I just saw a major bandwidth benefit to using h265 vs h264 with my cameras

manic ermine
#

Also it would be cool to be able to click on a camera from a birdseye of all cameras to enlarge the camera, if that's possible to do in a future version. I can make a feature request on GitHub.

rustic rampart
rustic rampart
# manic ermine Interesting, not a big deal I just saw a major bandwidth benefit to using h265 v...

Yes H.265 is much better which is why I spent quite some time getting it working in HA. You should use it if you can. Frigate does have a few gaps in H265 support: 1) clips used to work with H.265 before v0.9.0, but once clips merged with recordings they stopped working, so there's probably something missing in the remuxing code and 2) The use of RTMP to restream is not compatible with H.265. The switch from RTMP to RTSP was on the v0.10.0 milestone but must have gotten removed.

granite copper
rustic rampart
#

Yeah, I think it's across operating systems

#

I tested it on Windows

#

The support is still behind that flag, and that flag is not even exposed in the chrome://flags yet. I'm hoping it will become standard in a few months.

#

It's easy to pass that flag when starting the browser from a desktop, but to enable it in android webview is a hassle. I'm hoping the support will remove the need for using exoplayer for H.265 support in the android app

split field
#

hey guys i wanted to ask for a recommendation for a nvr solution from people with experience. im running HA in Hyper-V, got 2 wifi cameras and ideally would like to do facial recognition but for right now id be happy with motion detection. right now i just set up motioneye but its a bit too light and demands a bit too much effort configuring for things like automations also havent figured out ptz at all with it. also cant trigger high res channel recording with low res channel motion detection. frigate looks awesome but the hardware is impossible to find online and also passthrough to hyper-v seems tricky. zoneminder looks like it can do a lot but also high learning curve. soo yeah im interested in your opinions...

unkempt bear
#

i personally would say start by switching to proxmox and passthrough shouldnt be that bad either

split field
unkempt bear
#

proxmox has ballooning ram

#

so you set the start amount and the max it can expand to

split field
unkempt bear
#

i have heard good thing about iSpy

split field
#

its just a familiarity thing

unkempt bear
#

thats your preference i personally don't want to use anything else for virtualization

#

plus windows itself is just a power hog

#

if you want to run multiple things neatly in a container or vm linux and vm's is pretty much the industry standard

split field
# unkempt bear thats your preference i personally don't want to use anything else for virtualiz...

dont get this the wrong way im sure its amazing just like i could just run linux bare metal but after spending a month googling how to get the touchpad to work under ubuntu and same for setting up a network share and on and on and on id rather stick with the os where i know how to configure and handle a lot of the stuff i need. im not against learning new stuff but at the end of the day i need it to work and if i dont know what im doing thats unlikely

#

lets forget hyper-v for a second. frigate for example would run seperatly anyway. so im just looking for a ggod nvr solution that run under windows or can be virtualized under windows

granite copper
#

If you are really set on windows, you are probably better off just paying for blue iris

#

It should feel familiar since everything is UI config. It is very windows like if that's all you are comfortable with.

young merlin
#

I just switched over to Frigate and i love it

#

its really awesome

split field
split field
young merlin
#

im using it in a docker on unraid, no accelerator and its fine

#

i have 2 1080p cams for reference

#

the HA integration is really awesome, the fact that it gives you a sensor for "person detected in this area of this video feed" is incredible for automation

split field
young merlin
#

theyre both rtsp 20fps at 1080p, in my setup i get out about 5fps I assume because im not using the accelerator

#

but honestly i dont mind at all, if Corals ever become accessible again ill probably pick one up but for the time being its totally fine

split field
young merlin
#

i would definitely do it

fickle tendon
#

hi guys.

I have successfully set up WebRTC and got by 2x Nest and 2x Wyze v3 cams to work with HA. I have set up Picture Glance cards on my dashboard to view all of the feeds, however one thing we miss dearly from both the Wyze and Google Home apps is the ability to zoom in on the live feed. So when we click on the Picture Glance card for one of the feeds, the "viewer" that is opened up doesn't allow us to zoom.

I am wondering if there is something I can use that would allow this? Is there something other than the Picture Glance cards that I should be using to view the feeds.

mossy python
#

I have a 3+1 parking space behind my house, 3 next to each other and one across the back of them. If I had a camera facing it from above could I had Home assistant use AI to identify which car is in which spot, not by license plate but by make/model or at least a way to tell who is parked in what slot somehow?

timber topaz
#

Hello, looking for some help with WebRTC... After update my reolink IP cameras will not work... Has anybody had this same problem? Thanks for any help in advance!

mellow geode
#

I got a new hikvision camera and I am seeing a lot of these logs in the frigate container log. anyone know why?

[2022-07-07 16:13:30] ffmpeg.FrontYardNorth.record_rtmp ERROR   : [flv @ 0x56354d49cdc0] Video codec hevc not compatible with flv
[2022-07-07 16:13:30] ffmpeg.FrontYardNorth.record_rtmp ERROR   : Could not write header for output file #1 (incorrect codec parameters ?): Function not implemented
[2022-07-07 16:13:30] ffmpeg.FrontYardNorth.record_rtmp ERROR   : 
[2022-07-07 16:13:30] watchdog.FrontYardNorth        INFO    : Terminating the existing ffmpeg process...
[2022-07-07 16:13:30] watchdog.FrontYardNorth        INFO    : Waiting for ffmpeg to exit gracefully...
[2022-07-07 16:13:35] frigate.record                 WARNING : Discarding a corrupt recording segment: FrontYardNorth-20220707161332.mp4
#

this is my config for the specific camera

  FrontYardNorth:
    ffmpeg:
      inputs:
        - path: rtsp://admin:1234567a@192.168.11.22:554/Streaming/Channels/101/
          roles:
            - record
            - rtmp
        - path: rtsp://admin:1234567a@192.168.11.22:554/Streaming/Channels/103/
          roles:
            - detect
    detect:
      height: 720
      width: 1280
      fps: 10```
#

NM, I forgot to set h.264 in the camera. its all good now

rustic rampart
#

Otherwise you could try using some pre trained model or general vision API, but those are more general/complex solutions and not tailored towards your camera orientation, so it might be overkill and still have worse results. Plus you'd still have to do the same work of cutting up the image into the different spots either way, and with the generalized solution you'll need to translate the generic results (e.g. blue car, red SUV) into your own results (wife's car, unknown vehicle)

#

Basically it's doable, but you'll probably need to do some work

raven birch
#

Hi everybody whixh video dorrbell with intercom and bell would you suggest? yum

slim tartan
#

I'm using an Amcrest AD-110 but there's a newer AD-140 available. Others may be using different ones but I can't speak on them.

latent zinc
#

@granite copper - What does the v0.11 feature "Send to Frigate+" do? I have a Frigate+ account created, and API key set for my frigate container. Just wondering what sending a clip to frigate+ will do

granite copper
latent zinc
#

maybe it's something that just isn't ready yet?

granite copper
#

How did you set it?

latent zinc
#

in docker-compose.yml

granite copper
#

That should work. There are lots uploads every day.

latent zinc
#

I wasn't sure if the ":" would make the parser mad, so I put quotes around it

granite copper
#

I don't know off the top of my head what version that is. Is that a published beta tag?

#

If it doesn't match the format, I think there is a log message on startup.

safe sage
#

So I discovered something neat with the Wyze cams and the docker wyze bridge. For some reason, the wyze docker bridge stabilizes the feed almost completely, even if you're using the RTSP feed direction from the camera and not through the bridge. Now, docker wyze bridge does need the internet to authenticate at first boot, but you can cut the internet off after authentication and it'll still work after.

What I'd like to know is what exactly does the wyze docker bridge do that stabilizes the feed so well.

latent zinc
granite copper
latent zinc
#

is that beta5?

#

@granite copper ok, so upload to frigate+ does not work on blakeblackshear/frigate:0.11.0-b36b635 , Digest:sha256:d6c20979d59f49557c9828cb2e6a8088e034cd0477e47591829f0c913e3b405e (amd64) , but does work on beta5 (blakeblackshear/frigate:0.11.0-beta5, Digest:sha256:2208dd73a9eba53ffdc53c52d1e2fca3f3619b0a4804a879c3c169e4c050779a (amd64).

the b36b635 build gives the error about not being able to find the PLUS_API_KEY

mossy python
granite copper
latent zinc
granite copper
# latent zinc Thank you! Also, when is frigate+ going to be available? I'd like to sign up to...

I appreciate that. I think I am getting close to having enough user submitted examples to train better models. I already have had success training models directly on the pixel formats that ffmpeg outputs which will avoid color space conversion overhead. If I do have enough examples, I am hoping to have the first models available in a couple months. Once those are available, I will enable the subscription links. In the meantime, the best way to support the project is via github sponsors.

latent zinc
rain geode
#

Hello, I am trying to setup frigate but I am lacking docker experience. I am trying to setup a dedicated frigate container via docker-compose. my config file is on c:\docker\frigate\config.yml. What do I need to enter to get this reflected in volumes:

    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /path/to/your/config.yml:/config/config.yml:ro
#

I am unable to find the correct syntax for this

#

this seems to expect linux paths, what's the correct syntax for a Windows based file?

rain geode
latent zinc
#

can't you just run docker on ubuntu with WSL2? Then you can use the native linux syntax and not have to worry about being a corner case

rain geode
#

I thought that's what I am trying with docker-compose?

#

oh you mean run docker from inside ubuntu and not from windows?

latent zinc
#

I think it'll make your life easier in the long-run

rain geode
#

I have an USB coral connected to Windows and I am not sure I can nest it down

#

I know I can connect it into docker on WSL, not sure how to get it into docker in Ubuntu though

rain geode
#

ok, got that part figured out, thank you, now on to the next challenge...

granite copper
latent zinc
granite copper
#

Yes

rain geode
#

ok, finally got frigate running and detecting the coral. I am getting a " | F driver/usb/usb_driver.cc:1148] HandleQueuedBulkIn transfer in failed. Invalid argument: USB transfer error 4 [LibUsbDataInCallback]" error. have not found infos on USB transfer error 4, only 2 and 5. does anyone know what 4 means?

granite copper
rain geode
#

ok, thank you. not passing through a VM but WSL2. do you have any guidance on debugging if this related to this or lack of power?

granite copper
#

I really haven't used windows in forever, so I am not sure. You could search github issues for other users who might be using it.

rain geode
#

will do, thanks

granite copper
#

Is WSL2 actually just a VM?

rain geode
#

no, WSL2 has no Hyper-V VMs involved

#

it's native integration

#

(it does offer a legacy Hyper-V option as well but that's basically outdated)

mellow geode
#

Has anyone in australia managed to get coral from rs components? I have it on backorder and They keep pushing the date further

rustic rampart
young merlin
polar iris
prime notch
#

did any of you guys saw the webrtc integration broken after the last two updates? I had 3 cameras and both doesn't work anymore

polar iris
#

I'm using latest, I think, and is working for me.

prime notch
polar iris
polar iris
deep bane
#

Hey folks! Is there any progress towards bringing Homekit Secure Video (HSV) to HA or is the idea to always use scrypted for that?

mellow geode
#

Is there a way to delete recording for only one camera via frigate gui?

hot cloak
#

Hey, any idea why frigate in HA is driving crazy in console? I don't get a video stream of my 4 cameras: https://paste.pics/HK45Y I first have to reload my chrome browser window to get the stream working again.

#

I am using the frigate-card

fringe birch
#

I always get an delayed stream when I access my cameras via frigate. Is there a recommended way to access an up to date live feed of each camera?

fringe birch
#

It’s maybe like 30 seconds behind real-time.

subtle horizon
#

im wondering, does it help to have a dedicated videocard on my HA system when using webrtc?

vernal rover
#

I have 8 coral pci-e versions available. Selling at cost plus shipping. Dm if interested. Thanks

manic ermine
#

@granite copper I got a warning in the logs to stop using qsv because qsv is deprecated and when I switched to it I got Unrecognized hwaccel: -hwaccel_output_format qsv

ERROR   : WARNING: defaulting hwaccel_output_format to qsv for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format qsv"
obsidian linden
#

Is there a way to show Amazon Echo Show Camera on HA Frontend?

grave phoenix
#

Any way to change the resolution of the ring camera when doing a camera.snapshot? I'm getting a resolution of 80 x 80 pixels which isn't very useful.

shell pine
#

What's frigate performance like using quicksync on a i5-8500t?

#

And can it record to a network share?

#

I bought a few OptiPlex 5060Ms in a surplus auction and am thinking about moving my Frigate instance to it

mild linden
#

Can frigate detection be set at different resolutions per camera?

Have one 1080P camera and one 2560x1920.

Recording notifications fail on the larger resolution one

mild linden
# junior path yes

ill give it another shot, threw a ton of errors at me last time i tried.

#

frigate wouldnt start after i tried that

junior path
#

are you getting ffmpeg errors?

mild linden
mild linden
#

i think i may have put a trailing space on detect

mellow geode
#

I am trying to figure out how big hdd do I need. I know its hard to say but would 6TB ball park would be enough to hold footage from 8 x 4k cameras for 7 days? I am using frigate as my NVR and have to get storage before I get any more cameras

upbeat shell
#

boy too many options in the frigate card, i'm lost , i used to have an event carousel on the bottom of camera feed , anyone know how to get it back ? its now hidden in an leftside drawer which is annoying ...

upbeat shell
prime notch
mellow geode
#

is this the correct way to create mask for "persons"?

  track:
    - person        
    - car
    - car
    - bus
    - dog
    - cat
  filters:
    person:
      mask: 971,477,1024,490,1049,559,1005,600,904,501
#

changed to this

    person:
      mask:
        - 971,477,1024,490,1049,559,1005,600,904,501```
#

but when I go to debug and turn on masks, I dont see the mask

leaden ginkgo
#

Cross thread from #integrations-archived but quick question - Has anyone got the new Google Nest Camera to show up in HA? As they need to be configured within Google Home they dont show up under my nest integration

cyan copper
#

Any way to integrate dahua dvr?

hollow ore
cyan copper
#

And another thing, this is my network setup [https://imgur.com/a/XS9XXnm] Is there any way that i can acces the dvr? (also i need to acces the devices that are connected to both routers)

#

also i can acces the dvr via my personal pc

hollow ore
#

Do you have Router2 connected by the WAN or LAN ports to Router1?

#

HA can reach the DVR, though whether anything on the Router1 network can reach HA is another question

cyan copper
#

lan

hollow ore
#

Then it can access the DVR, since they're all on the same network

cyan copper
#

found something but i don t understand what i should complete on "host" field

hollow ore
#

The IP of the DVR?

cyan copper
#

Anyway i found how to make it, ty

mellow geode
#

can someone confirm if I can use hardware acceleration with frigate and ryzen 5700g?

mellow geode
junior path
#

running ubuntu 20.04, but I had to update the kernel using Hardware Enablement Stack

mellow geode
#

I am on unraid so probably different process would apply

junior path
#

6 cameras

rustic fox
#

do people pretty much stay with the 3 frigate suggeted cameras?

daring lake
#

anything that ffmpeg can consume works... rtsp camera's might be the easiest... I don't think people are restricted much at all.

rocky kite
#

Any recommendations for a cctv kit? Hikvision, reolink?

rustic fox
plain delta
#

Making the leap to reolink cameras

#

Just bought two for prime day

rustic fox
#

i was trying to get an idea if there are any decent ones for sale today or tommorrow

mellow geode
#

my mask does not work for a person. frigate thinks that the tap is a person. can someone check what I did wrong please https://pastebin.com/MHKkmwq0

granite copper
mellow geode
granite copper
#

That object mask shouldn't, but note that it is only based on the bottom center of the bounding box. It doesn't matter if 99% of it overlaps. Only the bottom center of the bounding box matters.

fickle charm
#

what's a good cheapish camera for HA right now, ~50 euro, mains powered, live feed and onboard sensor (zigbee, zwave) for motion detection?

#

I used to run android ip webcams from some old phones previously, maybe there's something better?

safe snow
#

got a cheap TAPO C210 during Prime Day. EUR 39. You need an app to set it up (is there anything which does not need an app?) but afterwards it works fine with HA.

fickle charm
#

thanks, looks pretty good, i can even get 2 for ~50

summer ridge
#

Hello
I am looking for an easily integrated interior camera, which records on my SSD.
I saw this Reolink 5MP PTZ Camera
It looks good
Would that be suitable in your opinion.
Thank you for your help
Mike

rustic rampart
#

Reolink is ok, but every dev in HA/frigate has experienced issues with them since they use a buggy/old live555 stack.

#

Also, the folks at ipcamtalk will tell you how they tend to overhype themselves.

#

But they are decent cameras once you get them to work, and they have a good feature set.

#

Hikvision/dahua and their rebrands are the better choices, but the good models can be more expensive.

#

Btw, reolink is working on updating the live555 libraries in their firmware. They're currently using a stack from 2013 or so and there are multiple CVEs associated with it.

#

However, the new firmwares are still alpha or beta and are quite buggy.

#

Anyway, I'm sure reolink has great sales and marketing as I always see people posting here about them.

foggy imp
#

My ONVIF camera has a several motion events and signals and what not... how do I set it up so that it records on HA if there is motion?

summer ridge
#

@rustic rampart

thank you
maybe he. there would be a model that you suggest

thick yacht
#

I bought the EC60 indoor cameras from Kasa before knowing HA was a thing… best way to get the data from the sensors onto HA? As far as I know it is not RTSP supported. Mainly just want to use to push notifications to my phone when motion is detected.

rustic rampart
#

Otherwise, you can try the amcrest 1051

#

Looks decent although I don't have direct experience with it

rustic rampart
#

Use the motion sensor as the Trigger

#

And then Call Service -> Camera: Record in the actions

rustic rampart
#

I was able to get rotation to work, but it doesn't work in the iOS app

half birch
rustic rampart
#

Well we try to maintain a consistent experience but there's only so much we can do. I may consider adding it in 2022.8 or 2022.9

pulsar lion
#

Hi all. do I need to 'install' ffmpeg to get it working on a HA OS VM?

hollow ore
#

No

pulsar lion
#

I'm trying to add rtsp streams to my HA by adding the camera details to configuration.yaml

hollow ore
#

That's not supported as of ... 2022.6?

pulsar lion
#

I added stream: and camera: (plus all the rtsp details). the picture card can show the still image but when clicked... doesn't really show the stream

pulsar lion
hollow ore
#

Following the instructions in the docs?

#

The camera is added in the UI

pulsar lion
#

ok. I'm reverting the changes in the yaml and trying to do it via ui

#

still having the same issue. I provided the stream source. the still image gets generated but when I click on it to play, the player just keeps flickering

hollow ore
#

Is there anything in the log file?

languid auroraBOT
#

If you're having problems with your updates to your configuration:

pulsar lion
#

nothing in log file but i just saw the text flickering on the player. "error with media stream contents"

#

could it be the codec of the stream?

rustic rampart
#

What kind of camera do you have?

#

For some camera types, there was a regression introduced in 2022.7.0 which should be fixed as of 2022.7.5 (just released an hour or two ago)

pulsar lion
#

I think I might have found the issue. found a post that says the browsers do not support H265 streams.

#

I've just changed the encoding on the camera

rustic rampart
#

Yeah, or you can use a different browser

#

Safari supports it

#

Edge has supported it if you install an extension

#

Chrome beta supports it if you enable it

pulsar lion
#

ok. now it's fixed... sigh... kept thinking it was on the HA side

#

I'm using a low quality sub channel for viewing so I don't mind changing it to H264 for compatibility

#

thanks for the help.

rustic rampart
#

Cool, glad you got it to work

next walrus
#

anybody here use generic cameras in HA and view their rtsp cameras in HA via a browser in Linux ?

languid auroraBOT
#

Don't ask to ask, just ask your question. Then people can answer when they're around.

When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
next walrus
#

I have my cctv camers in HA with rtsp stram using genreric intergration in HA. I windows i had to install HVEC from windows store to get them to strem inside HA in edge. I think you can install a browser extention but never needed to but they worked correctly. I have moved over to Linux and using same browser my cameras are flickering when trying to stream. As normal they play in VLC but not in HA in Linux i cannot find or do not know as anoob in LInux how to get it working. I wondered if anybody here had solved this issue and could help me please

hollow ore
#

Read the conversation above this

next walrus
#

Home Assistant 2022.7.5
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.1 - latest

#

This is a short video of the issue

#

It is normal across all platforms i beleive due to H265 licenses i think but with correct codecs installed you can get it working. But as a noob in Linux i have tried different things from Google searches but still can not get it working. I thought i would as here as it may have impacted other users

#

Problem is constant , no error message

#

No errors logs generated from what i can see

#

I have tried download diagnostics in the intergration but it does not work for me !

rustic rampart
#

Which browser are you using?

#

Launch it along with the option "--enable-features=PlatformHEVCDecoderSupport"

foggy imp
rustic rampart
#

If you use that feature, you'll probably want to enable preload stream as well. That way you can use lookback when you get a motion event

#

That will let you record starting before the actual motion happened

rustic rampart
#

Edge Dev is 105...you should be able to do it there too

#

Open it with that option I mentioned

next walrus
#

i am on that but dont see it

#

Version 105.0.1300.1 (Official build) dev (64-bit)

rustic rampart
#

Try opening the browser from the command line

#

With that option I mentioned afterwards

next walrus
#

sorry to be noob what is the command to do that ?

rustic rampart
#

Which linux distro / desktop are you using?

#

Can you create a shortcut on the desktop?

next walrus
#

zorin

rustic rampart
#

Can you open the shortcut and see if there is something that says command?

#

It's not exposed in there yet. You have to start up the browser with this option

next walrus
#

so what do i type

rustic rampart
#

I haven't used Zorin before. But I'm guessing it should be straightforward. Do you start Edge with an icon?

#

If so, right click on the icon and see if you can edit the properties

next walrus
#

nope nothing like that

#

its based on Ubuntu

#

I get show details but it opens the software store

next walrus
rustic rampart
#

What does Open With say?

next walrus
#

there is a run software

rustic rampart
#

Can you edit that file as a text file?

next walrus
#

i can open in vscode

rustic rampart
#

Just text editor

next walrus
#

yes massive list

#

not sure it looks correct

rustic rampart
#

Yeah that's fine

#

Just edit the last line that says Exec

#

Add "--enable-features=PlatformHEVCDecoderSupport" to the end of it (without quotes)

next walrus
next walrus
#

Exec=--enable-features=PlatformHEVCDecoderSupport

#

is that correct

rustic rampart
#

No

#

Add it to the end of the line that was already there

foggy imp
#

My ONVIF "lechange" camera has a "cell motion detection", "motion alarm", "global scene change", and "digital input"... and when I walk in front of the camera only the "digital input" comes on. What is the difference between all these?

foggy imp
#

Basically, the input is off, but I don't see a new media file yet

rustic rampart
#

There should be a duration in the service call

#

I think the default is 30 seconds

#

Try just calling the service directly first to test

next walrus
# rustic rampart No

like this Exec=/usr/bin/microsoft-edge-dev --inprivate --enable-features=PlatformHEVCDecoderSupport

rustic rampart
#

@next walrus yes

#

@foggy imp Go to Developer tools -> services and try to run a recording

#

Using camera: record

foggy imp
#

Yea, what I would like is that it records until the motion detection stops giving a signal, or will it just retrigger if it's still recording

#

ok lemme try that

rustic rampart
#

But you can get close enough..just have it record another clip if there's subsequent motion

next walrus
foggy imp
#

hmm I get a permission error on the path

rustic rampart
next walrus
#

on desktop link yes right click open

rustic rampart
foggy imp
#

ah I was going to ask.. what is a sensible place to write to on this thing

rustic rampart
next walrus
foggy imp
#

heyyy works, so.. ok only fixed length recording...

rustic rampart
next walrus
#

done

foggy imp
#

hmmmm how do add the date to the filename or something like that?

next walrus
#

still not working

rustic rampart
hollow ore
#

IMO you're likely a lot better off looking at an NVR

rustic rampart
rustic rampart
#

Hmm, try two more things

next walrus
#

ok

rustic rampart
#
  1. Try installing libde265
next walrus
#

how

rustic rampart
#
  1. Try adding "--enable-features=VaapiVideoDecoder" to the edge.desktop file you edited before
next walrus
rustic rampart
#

Yeah..does that change what chrome://gpu displays?

next walrus
#

how do i install libde265

rustic rampart
next walrus
#

i think i installed taht when i put zorin on here

#

already have it yes

rustic rampart
#

Oh you also have a GTX1050 in there. You can also install mesa-va-drivers

#

But try to get hardware decoding enabled. Maybe go to chrome://flags/#enable-accelerated-video-decode

#

I have to go now, sorry I couldn't help more. I'll follow up with you later. Maybe DM is better.

next walrus
next walrus
foggy imp
#

lol, there is a huge delay between the motion signal and the recording. I went to wave to the camera to test, and you barely see me slam the door

#

also... it's somehow only showing the substream, which is the low resolution one

covert belfry
#

hey guys! Does anyone use Frigate? Any tips on how to make the preview feed a better resolution? As it's a bit of a shame of having it set as the 'detect' feed (which I've made very low)

sharp lantern
#

How do i get motion status to work on a picture-entity card of video camera. Camera is working but always says idle.

wintry nest
#

why do the previews of cameras time out after a couple minutes or so?

#

like I have to reload the UI for the view to be live again even though it is already selected as live

#

they all freeze on one frame

rustic rampart
foggy imp
# rustic rampart Use lookback

Second time I tried it the delay was almost zero, so it's probably fine. It says something about having to have a running stream... I don't really want it to be streaming 24/7 if there is no motion. Uh... is it always streaming? Does it keep the stream open if you use this option? Or do you need to configure the stream to be always on for this to work? (you da real MVP of this channel it seems, thanks so much)

rustic rampart
#

If you don't have preload stream on, you can't use lookback, so you can only record after you get the motion event. The delay here is not due to the hls stream itself, but probably due to the latency from the motion event. What kind of camera do you have?

granite torrent
#

Hello. I am looking for an outdoor camera that I could use with HA, does not depend on any subscription to chinese cloud, and would allow for local storage. Would have a recommendation ?

#

I used to have a cam that exposed a mjpg stream that was easy to make a storage of with a basic script and wget/curl (but that cam is now dead)

hollow ore
#

Any RTSP/ONVIF capable camera will do

#

Dahua and Hikvision are regularly recommended brands

granite torrent
#

No Dahua on (French) Amazon, very limited choice for hikvision. Lots of reolink however. Do these have a good reputation (quality and HA-wise) ?

hollow ore
#

Reolink get mixed feedback

#

Worth using the Discord search feature

granite torrent
#

thanks

steel solstice
wintry nest
#

hi, does anyone know why mjpeg cams freeze after like a minute or so in the UI?

#

feed resumes after I switch to a different view in HA and back to the cams

foggy imp
#

Overall quite happy with this one. @granite torrent the website is all cloud this app that, but you can actually disable it in the web interface and use it either with an SD card, NAS, or ONVIF.

rustic rampart
#

Yeah it probably has a circular buffer on board. That's essentially what preload stream is doing too, but that means you have to be xferring over the network 24/7 and it seems like you want to avoid that.

covert heart
#

Looking at using a 6100t, 4gb ram. Anyone have experience with this running frigate as NVR?

stable trail
#

Hey I was thinking of installing frigate on a PC and hooking up some cameras and found used 2xUniFi G3 1080p cameras for 60 EUR em... do I get them? Especially if I do not plan on using ubiquity protect? My concern is low light it looks like they have som IR features will that still work?

polar iris
covert heart
daring lake
mellow geode
#

Hey Guys, I cant get frigate to stop detecting a tap as a person and bombarding me with notifications. what am I doing wrong with my object filter?

    ffmpeg:
      inputs:
        - path: rtsp://admin:1234567a@192.168.11.3:554/video.h264/Streaming/Channels/101/
          roles:
            - record
        - path: rtsp://admin:1234567a@192.168.11.3:554/video.h264/Streaming/Channels/103/
          roles:
            - detect
            - rtmp
    objects:
      filters:
        person:
          mask:
            - 971,477,1024,490,1049,559,1005,600,904,501
half cloud
#

Hey guys I have an improx dome ptz camera that I can only control the ptz with Tinycam pro. I'd like help getting it working on home assistant if possible, I planned to have it at least use the presets

winged cedar
#

My blink doorbell camera just has a broken image

polar iris
daring lake
granite copper
polar iris
polar iris
smoky pier
#

hey guys, I have a few cameras and was using shinobi, but the streams were too unreliable
Now I've tried installing frigate (don't have a coral and not planning on getting one) but i'd really like to have it as standalone so that HA runs independently from frigate.
I've tried 4 or 5 online how tos but i can't for the life of me get it to work
Is there any easy way to install it on a bare ubuntu server (inside proxmox) ?

hollow ore
smoky pier
#

I know, but that is not easy enough for me it seems, i don't know what to do with half of the info there..

hollow ore
#

Have you ever used Docker before?

#

It gives you the template for your compose file

smoky pier
#

it runs on the hassos vm but havent used it myself

#

to me it just seems like half the info I need to install it is missing from the docs ?

hollow ore
#
  1. Install Docker and Compose
  2. Create the compose file as shown, update to suit
  3. docker compose pull && docker compose up -d
smoky pier
#

Am I right in assuming the up part of the compose command points to the file just created ?

#

docker-compose.yml would be correct ?

hollow ore
#

Yes, and yes

smoky pier
#

hmm.. getting a version error, althout I copy pasted that part from the docs

#

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version.

hollow ore
#

Check that you have a current version of Docker and Compose

smoky pier
#

I just installed it ? shouldnt that then always be the latest version automatically ?

hollow ore
#

Well, depends on how you installed it

#

If you have an old outdated OS and installed from the OS packages...

smoky pier
#

i've done apt-get update and upgrade but nothing new was found

#

seems to work with verison 3.3 but that gives me a tar error ?

hollow ore
#

What's your OS?

smoky pier
#

debian

hollow ore
#

Debian ... which release?

smoky pier
#

10 turnkey core 16.1.1

hollow ore
#

Debian 10 is old, so that's no surprise it comes with an old Docker version

mellow geode
granite copper
mellow geode
prime notch
#

Guys, i keep trying use one of my new IP cams the same way i used to have the other ones working but i keep getting this message

#

using the custom:webrtc-camera card

prime notch
#

It seems that i can watch the live feed through VLC, but HA doesn't show anything except a black screen

#

so is there anything i can do to deal with the codec?

rain geode
#

Hello, can I use a frigate camera to send a notification to the mobile app with a camera thumbnail without triggering it by a frigate event? I want to show the picture on a doorbell ring that is unconnected to frigate

unkempt slate
#

trying to create an automation with a unifi protect camera that with it detects an object that is a person to turn on a light. I can't figure it out. Anyone have such a thing setup?

smoky pier
#

I'm trying to install ffmpeg5 on my ubuntu hirsute server to make frigate work but I'm getting the error
The repository 'http://ppa.launchpad.net/savoury1/ffmpeg5/ubuntu hirsute Release' does not have a Release file.

#

Is there a way I can still install it since it seems to be a requirement for frigate (trying to get my camera's to work ..)

junior path
#

I don't think you need to install it on the host

#

It's in the container

granite copper
#

It's in the container. No need to install anything on the host.

shut ether
#

Has anyone had a reolink camera overheat? I've got an rlc-842a, and the sucker shuts down around 1:30-2pm PT every day this summer when the sun hits it (the cameras face west). It pops back up later that night when it cools down.

#

swapping out cables, ports on the switch, and resetting it doesnt help.

vivid wharf
#

i'd rma it at this point and not waste time doing any other troubleshooting

shut ether
#

Yeah, thats me

#

@vivid wharf they wnat me to do some testing to troubleshoot the problem, but yeah, RMA is kinda the next step IMHO

vivid wharf
#

kinda crap for them to want that

#

expecting more than swapping cables, poe port etc isnt really cool

shut ether
#

"can you de-install it and take it to a cooler place to test?"

#

nah

#

im good

vivid wharf
#

it'll get deinstalled once to go in a box lol

shut ether
#

exactly

#

i appreciate your input!

vivid wharf
#

i used to work for a shitty security camera company deploying chinese geovision cameras lol

rain geode
#

Hello, can I use a frigate camera to send a notification to the mobile app with a camera thumbnail without triggering it by a frigate event? I want to show the picture on a doorbell ring that is unconnected to frigate
I tried the dynamic notification example from here: https://companion.home-assistant.io/docs/notifications/dynamic-content but it's not generating a thumbnail

smoky pier
#

soo, after a lot of "learning" I managed to setup frigate ..

#

now though I'm having trouble getting rtmp to work

#

I keep getting errors if I enable it

#
[2022-07-22 00:15:38] ffmpeg.garage.detect           ERROR   : [flv @ 0x55cdeded2ac0] FLV does not support sample rate 16000, choose from (44100, 22050, 11025)
[2022-07-22 00:15:38] ffmpeg.garage.detect           ERROR   : [flv @ 0x55cdeded2ac0] Audio codec mp3 not compatible with flv
[2022-07-22 00:15:38] ffmpeg.garage.detect           ERROR   : Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
[2022-07-22 00:15:38] ffmpeg.garage.detect           ERROR   : ```
#

I have no ffmpeg params in my config.yml

granite copper
smoky pier
#

Oh wow.. sometimes I amaze even myself ...

#

It was simply changing the bitrate of the audio output that fixed it

#

I'm sorry for wasting your time

#

I kept looking at the video bitrate and didnt make the link to the audio error

rustic rampart
vivid wharf
#

I know that

rustic rampart
#

Ic, just wondering why you qualified geovision with Chinese

#

I assumed you were trying to say they were crappy by association

rustic rampart