I’m trying to get object detection with Frigate (addon) working with an ESP32 camera. Since the ESP32 provides an MJPEG stream, I’ve been struggling to get the Frigate config set up such that ffmpeg can correctly process the ESP32 stream.
Below is my current config. The input_args were set as per the Frigate Documentation. This is running on an RPi 4B.
frigate.video ERROR : esp_cam: Unable to read frames from ffmpeg process.
frigate.video ERROR : esp_cam: ffmpeg process is not running. exiting capture thread...
watchdog.esp_cam ERROR : Ffmpeg process crashed unexpectedly for esp_cam.
watchdog.esp_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
ffmpeg.esp_cam.detect ERROR : [flv @ 0x55bf69c6b0] Video codec mjpeg not compatible with flv
ffmpeg.esp_cam.detect ERROR : Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
ffmpeg.esp_cam.detect ERROR : Error initializing output stream 0:0 --
I can confirm that the camera works, I get a video stream when I navigate to http://192.168.1.48/mjpeg/1.
Hello and sorry if i jump on this here…
My Mjpeg always crashes and i dont have any camera working as soon i try make my mjpeg camera to work.
I have the following config in the go2rtc section:
I don’t know where you got that from or why it is there, I am telling you that it should not be in the config. You might as well let it use the default record args
I checked and cannot tell where I got it from…strange…
Either way, I still cant get anything going.
As soon I add Hardware into the go2rtc section my fmepg process crashes and i loose all cameras.
Without the Hardware i do have all cams but this one
Any idea where I could start?