#Home Assistant keep crashing when I
1 messages · Page 1 of 1 (latest)
Is it on purpose that you're transcoding all of your streams to h264 on the cpu, most likely using extreme amounts of CPU resources?
@gilded socket ok I just got myself an GPU to fix. but HA card is still crashing....
my new cofig https://codeshare.io/Q8Zx0q
Why are you doing transcoding to h264? It's also still using CPU for that
Sorry but I don't understand, this is all new to me.
should I be doing this ?
cameras:
frontyard:
enabled: true
ffmpeg:
hwaccel_args: preset-nvidia-h265
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/frontyard
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/frontyard_sub
input_args: preset-rtsp-restream
roles:
- detect
Sorry just start with this stuff and I am so thankful for your help.
when you put #video=h264 you are telling go2rtc to take that stream, tear it apart, and rebuild it as h264. In most cases you probably don't want to do that as that is resource intensive
I would suggest showing a full config and I can make a suggestoin
it is above https://codeshare.io/k0JdoM
Yeah I'd just remove the #video=h264
@gilded socket I can do that, but it didn't fix.
Return Code: 3
Process Error:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit```
All good worked it out the camera. thanks
@gilded socket it was you who helped me on GitHub lol just saw it was the same photo I just donated too.