With version 0.7.3 my cameras in nightvison mode would not start ffmpeg anymore:
No frames received from garage in 5 seconds. Exiting ffmpeg...
Waiting for ffmpeg to exit gracefully...
garage: ffmpeg sent a broken frame. something is wrong.
garage: ffmpeg sent a broken frame. something is wrong.
garage: ffmpeg process is not running. exiting capture thread...
With version 0.7.1, ffmpeg starting fine in nightvision mode.
In /debug/stats I can see that in nightvison mode the cameras sending 2.5 frames instead 5 fps.
All cameras configured to send a stream with 5 fps.
also, i noticed that the timestamp is not showing anymore in /latest.jpg and /best.jpg even i have enable the option in snapshots. Possible to reenable this function? thanks.
Yes. Now that frigate has seen it, it will continue to be tracked until it goes away regardless of the mask. Also, the timestamps will be returning in a future version.
It seems like ffmpeg is struggling to get valid packets from your camera. Is the network reliable between the devices? How many open connections do you have to the camera?
The camera(s) are Unifi cameras. I only have one in this config for the purposes of testing this. I also have an i5 NUC with a Coral USB accelerator and Frigate works fine on that with all the cameras. Iāve shut down Frigate on the i5 down so the only other connection to this camera is (should be) the Unifi NVR. The network is Unifi kit as well and although the camera and the Coral Dev Board are on different switches (1) theyāre connected with 10Gb fibre and (2) I get the same problem if I use the āporchā camera which is on the same switch.
It sounds like the non-TPU bits of the board canāt cope with the workload.
Loving the latest features and the new documentation is superb - thanks.
Iāve been running the frigate:0.7.1-armv7 image just fine. However, with 0.7.2-armv7 & 0.7.3 I get the following error. Tried removing hwaccel_args override, no difference.
2020-10-28T13:29:08.259087117Z Fontconfig error: Cannot load default config file
2020-10-28T13:29:09.477380596Z On connect called
2020-10-28T13:29:09.516742666Z Starting detection process: 15
2020-10-28T13:29:09.516825886Z Attempting to load TPU as usb
2020-10-28T13:29:09.530470931Z Camera capture process started for front: 16
2020-10-28T13:29:09.532425728Z Camera process started for front: 18
2020-10-28T13:29:09.556657281Z Creating ffmpeg process...
2020-10-28T13:29:09.556736798Z ffmpeg -hide_banner -loglevel info -c:v h264_mmal -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtmp://xxx:1935/bcs/channel0_sub.bcs?channel=0&stream=0&user=xxx&password=xxx -f rawvideo -pix_fmt yuv420p pipe:
2020-10-28T13:29:09.599715727Z * Serving Flask app "detect_objects" (lazy loading)
2020-10-28T13:29:09.600476472Z * Environment: development
2020-10-28T13:29:09.600544137Z * Debug mode: off
2020-10-28T13:29:12.291597904Z TPU found
2020-10-28T13:29:19.532699511Z Input #0, flv, from 'rtmp://xxx:1935/bcs/channel0_sub.bcs?channel=0&stream=0&user=xx&password=xxx':
2020-10-28T13:29:19.532841268Z Metadata:
2020-10-28T13:29:19.532900359Z displayWidth : 640
2020-10-28T13:29:19.532956636Z displayHeight : 480
2020-10-28T13:29:19.533010894Z Duration: 00:00:00.00, start: 1603891753.604000, bitrate: N/A
2020-10-28T13:29:19.533069986Z Stream #0:0: Data: none
2020-10-28T13:29:19.534759936Z Stream #0:1: Audio: aac, 16000 Hz, mono, fltp
2020-10-28T13:29:19.534882952Z Stream #0:2: Video: h264, yuv420p(progressive), 640x480, 6 fps, 1k tbr, 1k tbn
2020-10-28T13:29:19.604051861Z Stream mapping:
2020-10-28T13:29:19.604511371Z Stream #0:2 -> #0:0 (h264 (h264_mmal) -> rawvideo (native))
2020-10-28T13:29:19.604850162Z Press [q] to stop, [?] for help
2020-10-28T13:29:19.612088658Z No frames received from front in 5 seconds. Exiting ffmpeg...
2020-10-28T13:29:19.612421207Z Waiting for ffmpeg to exit gracefully...
2020-10-28T13:29:19.776976264Z [h264_mmal @ 0x23dfc60] Did not get output frame from MMAL.
2020-10-28T13:29:19.777127650Z Error while decoding stream #0:2: Unknown error occurred
2020-10-28T13:29:19.777192316Z Finishing stream 0:0 without any data written to it.
2020-10-28T13:29:19.780331387Z Output #0, rawvideo, to 'pipe:':
2020-10-28T13:29:19.780457292Z Metadata:
2020-10-28T13:29:19.780892377Z displayWidth : 640
2020-10-28T13:29:19.781422164Z displayHeight : 480
2020-10-28T13:29:19.781933062Z encoder : Lavf58.45.100
2020-10-28T13:29:19.782553476Z Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, q=2-31, 22118 kb/s, 6 fps, 6 tbn, 6 tbc
2020-10-28T13:29:19.783017819Z Metadata:
2020-10-28T13:29:19.783155632Z encoder : Lavc58.91.100 rawvideo
2020-10-28T13:29:19.783491922Z frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
2020-10-28T13:29:19.783684085Z video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
2020-10-28T13:29:19.783874915Z Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
2020-10-28T13:29:19.790963988Z Exiting normally, received signal 15.
2020-10-28T13:29:19.798857897Z front: ffmpeg sent a broken frame. something is wrong.
2020-10-28T13:29:19.799729455Z front: ffmpeg process is not running. exiting capture thread...