Frigate 0.8.1 A working example with raspberry Pi camera (IMX219) #678
lunard
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Ideally, you want to find a way to send raw yuv420p data directly to frigate. That way you can avoid the overhead of encoding the video only to decode it again right away. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I got it working finally by using v4l2rtspserver on my Pi Zero. Follow the example here: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello to all, I really need your help to understand how to correctly stream and detect object from a raspberry Pi camera with Frigate 0.8.1.
I installed the camera module on my Raspberry Pi 3A+ and tested 2 way to stream using the rtsp protocol:
With both methods I'm able to see the stream using VLC
But the 2 methods are not working with Frigate 0.8.1
For the FIRST one I get these errors:
ffmpeg.back.detect ERROR : [AVHWDeviceContext @ 0x558970671500] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
frigate | ffmpeg.back.detect ERROR : [AVHWDeviceContext @ 0x558970671500] Failed to initialise VAAPI connection: -1 (unknown libva error).
frigate | ffmpeg.back.detect ERROR : Device creation failed: -5.
frigate | ffmpeg.back.detect ERROR : [mjpeg @ 0x558970675d00] No device available for decoder: device type vaapi needed for codec mjpeg.
frigate | ffmpeg.back.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
frigate | frigate.video INFO : back: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate | frigate.video INFO : back: ffmpeg process is not running. exiting capture thread...
For the SECOND one I get these errors:
frigate | ffmpeg.back.detect ERROR : [rtsp @ 0x558fb119b880] method SETUP failed: 461 Client error
frigate | ffmpeg.back.detect ERROR : rtsp://argo:8554/: Protocol not supported
frigate | frigate.video INFO : back: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate | frigate.video INFO : back: ffmpeg process is not running. exiting capture thread...
My configuration is really simple:
cameras:
back:
ffmpeg:
inputs:
- path: rtsp://argo:8554/
#- path: rtsp://argo:8555/unicast
roles:
- detect
width: 1920
height: 1080
fps: 5
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
Someone could help me to understand how correctly configure stream from the raspi camera and configure Frigate?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions