[Config Support]: h264 transcoding to mjpeg on RPi4 #16855
Replies: 3 comments
-
You'll need to enable trade level for exec logs for go2rtc |
Beta Was this translation helpful? Give feedback.
0 replies
-
Done.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Adding
to my frigate.config under ffmpeg solved this issue completely... rel: #16419 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
Hey,
i am a newcomer to frigate. Currently i am using Shinobi (on an RPi4) to transcode an h264 stream to mjpeg (to use it in openHAB and its app). This works fine, but due to the lack of Google Coral/Hailo, i want to switch the system.
So i set up frigate on my RPi4 in a docker container. I added my first cam (currently have 7) and was seeing its stream on my frigate ui.
The camera only has a h264 stream and nothing else. It is a Yi Dome U 2K with yi-hack firmware.
But, whatever i am doing, go2rtc is not able to transcode the incoming h254 into mjpeg (which i need). The MJPEG-links show no video at all.
I tried with hwaccel and without, tried different ffmpeg settings. Nothing worked. go2rtc is available under :1984 and is showing my camera. A click on "links" shows me many links, all of them work, except MJPEG Sources.
Whenever i open the MJPEG stream url, go2rtc throws an error:
[api.mjpeg] add consumer error="streams: EOF"
Version
0.15.0-cea210d
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
2025-02-28 03:53:06.361816588 [INFO] Preparing new go2rtc config... 2025-02-28 03:53:08.150098906 [INFO] Starting go2rtc... 2025-02-28 03:53:08.329967058 03:53:08.329 INF go2rtc platform=linux/arm64 revision=b2399f3 version=1.9.2 2025-02-28 03:53:08.329981409 03:53:08.329 INF config path=/dev/shm/go2rtc.yaml 2025-02-28 03:53:08.331465651 03:53:08.331 INF [rtsp] listen addr=:8554 2025-02-28 03:53:08.331479799 03:53:08.331 INF [api] listen addr=:1984 2025-02-28 03:53:08.332002775 03:53:08.331 INF [webrtc] listen addr=:8555/tcp 2025-02-28 03:53:16.373340166 [INFO] Starting go2rtc healthcheck service... 2025-02-28 03:54:11.725191524 03:54:11.724 ERR [api.mjpeg] add consumer error="streams: EOF"
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
CPU (no coral)
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions