go2rtc
go2rtc copied to clipboard
Ghost ffmpeg-Process
I have a weird issue with my USB-Cam-Setup.
This is my config:
streams:
MK4SESP: http://192.168.2.29:81/cam.mjpeg
MK4SASeite: ffmpeg:device?video=/dev/video2&input_format=mjpeg&video_size=1600x896
MK4SHinten: ffmpeg:device?video=/dev/video0&input_format=mjpeg&video_size=1280x720
MK3SESP: http://192.168.2.80:81/cam.mjpeg
#esp32cam2: ffmpeg:http://192.168.2.29:81/stream#video=h264#rotate=180
Einfahrt:
- ffmpeg:[email protected]:554/livestream/11
- ffmpeg:[email protected]:554/livestream/12
- ffmpeg:[email protected]:554/livestream/13
Einfahrt_mjpeg:
- http://[email protected]/livestream/12?action=play&media=mjpeg
Einfahrt_mjpeg_all:
- ffmpeg:http://[email protected]/livestream/11?action=play&media=mjpeg
- ffmpeg:http://[email protected]/livestream/12?action=play&media=mjpeg
- ffmpeg:http://[email protected]/livestream/13?action=play&media=mjpeg
#log:
# level: info
# api: info
# exec: info
# ngrok: info
# rtsp: info
# streams: info
# webrtc: info
USB-Cam Config ist copy&paste from the "Add"-Page. When I start the server, everything is fine. BUT after some time, a ffmpeg process (Output from ps auxww: "ffmpeg -hide_banner -v error -f v4l2 -video_size 1600x896 -input_format mjpeg -i /dev/video2 -c copy -f mjpeg -") starts and uses 100 % CPU.
I installed go2rtc 2 times. One just through tteck proxmox lxc and the other on my own. Both have the same issue. After a restart, I can use the stream from the cam perfectly fine. As soon as this process is there, go2rtc has no access to the device. When the ghost-process is running and I stop the go2rtc-Service, the process goes down. The Ghost-process starts without any interaction after some time. Even if I don't use any of the streams. go2rtc-Log has no enlightening infos.
any hints for me?