[Bug]: FFmpeg cannot read Frames on RockChip #12161
-
Describe the problem you are havingHey i recently had device CM3588 which using RockChip RK3588 (https://wiki.friendlyelec.com/wiki/index.php/CM3588_NAS_Kit) Steps to reproduceUsing rockchip on frigate Versionfrigate:stable-rk Frigate config filemqtt:
enabled: False
cameras:
dummy_camera: # <--- this will be changed to your actual camera later
enabled: True
ffmpeg:
inputs:
- path: Censored
roles:
- detect Relevant log output2024-06-26 09:05:54.124778781 [2024-06-26 09:05:54] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:05:54.125982510 [2024-06-26 09:05:54] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:05:54.126438101 [2024-06-26 09:05:54] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:05:54.127083570 [2024-06-26 09:05:54] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:03.084146897 [2024-06-26 09:06:03] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:03.084449652 [2024-06-26 09:06:03] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:06:04.342800852 [2024-06-26 09:06:04] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:04.343734201 [2024-06-26 09:06:04] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:04.344148083 [2024-06-26 09:06:04] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:13.124264167 [2024-06-26 09:06:13] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:13.124572173 [2024-06-26 09:06:13] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:06:14.240597548 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.241433479 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.242485247 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.243194884 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.243485972 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.244039857 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.244841953 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:14.245856096 [2024-06-26 09:06:14] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:23.176912525 [2024-06-26 09:06:23] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:23.177310073 [2024-06-26 09:06:23] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:06:24.371858985 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.372656999 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.374661074 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.374839869 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.375046372 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.375295168 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.375489130 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.375703800 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.376088223 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.376815944 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:24.377283202 [2024-06-26 09:06:24] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:33.200409764 [2024-06-26 09:06:33] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:33.200549183 [2024-06-26 09:06:33] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:06:34.355601677 [2024-06-26 09:06:34] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:34.356034809 [2024-06-26 09:06:34] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:34.356154686 [2024-06-26 09:06:34] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:34.357141119 [2024-06-26 09:06:34] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:43.240755121 [2024-06-26 09:06:43] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:43.241067793 [2024-06-26 09:06:43] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:06:44.401111955 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:44.401410043 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:44.401659131 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:44.402913027 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:44.403253407 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: Unable to read frames from ffmpeg process.
2024-06-26 09:06:44.404038004 [2024-06-26 09:06:44] frigate.video ERROR : dummy_camera: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:06:53.296544197 [2024-06-26 09:06:53] watchdog.dummy_camera ERROR : Ffmpeg process crashed unexpectedly for dummy_camera.
2024-06-26 09:06:53.296857744 [2024-06-26 09:06:53] watchdog.dummy_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelImou Life Any other information that may be helpfulMy docker compose file |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
This is most likely fixed already in 0.14, @MarcA711 can confirm |
Beta Was this translation helpful? Give feedback.
-
Hey, 0.14 is still in beta, so you might encounter some bugs. However, Rockchip runs pretty stable as far as I can tell. To upgrade, first read the new docs: Especially the prerequisites here: Update instructions can be found here under "latest news": |
Beta Was this translation helpful? Give feedback.
-
I had the same error, moved to 0.14 but this new version seems to have other issues, birdview works but hangs after some time and then works again. I'll do some logging check and report result as new issues if I have some remarkable info |
Beta Was this translation helpful? Give feedback.
Hey,
yes, these issues will likely be gone in 0.14
0.14 is still in beta, so you might encounter some bugs. However, Rockchip runs pretty stable as far as I can tell.
To upgrade, first read the new docs:
https://deploy-preview-11419--frigate-docs.netlify.app/
Especially the prerequisites here:
https://deploy-preview-11419--frigate-docs.netlify.app/frigate/installation#rockchip-platform
Update instructions can be found here under "latest news":
#11502