It was 512m and changed it to 1g. Without result.
Log:
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
encoder : Lavf57.83.100,
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, q=2-31, 184320 kb/s, 25 fps, 25 tbn, 25 tbc,
Metadata:,
encoder : Lavc57.107.100 rawvideo,
[rawvideo @ 0x55756a377760] Encoder did not produce proper pts, making some up.,
{'streams': [{'index': 0, 'codec_name': 'h264', 'codec_long_name': 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'profile': 'Main', 'codec_type': 'video', 'codec_time_base': '1/10', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'width': 640, 'height': 480, 'coded_width': 640, 'coded_height': 480, 'has_b_frames': 0, 'sample_aspect_ratio': '0:1', 'display_aspect_ratio': '0:1', 'pix_fmt': 'yuvj420p', 'level': 30, 'color_range': 'pc', 'color_space': 'bt709', 'color_transfer': 'bt709', 'color_primaries': 'bt709', 'chroma_location': 'left', 'field_order': 'progressive', 'refs': 1, 'is_avc': 'false', 'nal_length_size': '0', 'r_frame_rate': '5/1', 'avg_frame_rate': '5/1', 'time_base': '1/90000', 'start_pts': 107182, 'start_time': '1.190911', 'bits_per_raw_sample': '8', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}]},
ffmpeg -hide_banner -loglevel info -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -vsync drop -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:<password>@192.168.1.35/1/h264minor -f rawvideo -pix_fmt rgb24 pipe:,
frame= 4 fps=0.0 q=-0.0 size= 3600kB time=00:00:00.16 bitrate=184320.0kbits/s speed=0.307x
frame= 16 fps= 16 q=-0.0 size= 14400kB time=00:00:00.64 bitrate=184320.0kbits/s speed=0.626x
frame= 30 fps= 20 q=-0.0 size= 27000kB time=00:00:01.20 bitrate=184320.0kbits/s speed=0.782x
frame= 43 fps= 21 q=-0.0 size= 38700kB time=00:00:01.72 bitrate=184320.0kbits/s speed=0.843x
frame= 55 fps= 21 q=-0.0 size= 49500kB time=00:00:02.20 bitrate=184320.0kbits/s speed=0.857x
frame= 69 fps= 22 q=-0.0 size= 62100kB time=00:00:02.76 bitrate=184320.0kbits/s speed=0.896x
Input #0, rtsp, from 'rtsp://admin:<password>@192.168.1.35/1/h264minor':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
Duration: N/A, start: 1582474409.094633, bitrate: N/A,
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 640x480, 5 fps, 5 tbr, 90k tbn, 10 tbc,
Stream mapping:,
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native)),
Press [q] to stop, [?] for help,
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[swscaler @ 0x55dacfd54a60] deprecated pixel format used, make sure you did set range correctly,
Output #0, rawvideo, to 'pipe:':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
encoder : Lavf57.83.100,
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, q=2-31, 36864 kb/s, 5 fps, 5 tbn, 5 tbc,
Metadata:,
encoder : Lavc57.107.100 rawvideo,
[rawvideo @ 0x55dacfd23340] Encoder did not produce proper pts, making some up.,
On connect called,
Starting detection process: 19,
Camera_process started for inrit: 20,
Starting process for inrit: 20Camera_process started for achterhuis: 21,
,
ffprobe -v panic -show_error -show_streams -of json "rtsp://admin:<password>@192.168.1.35/1/h264minor",
Starting process for achterhuis: 21,
ffprobe -v panic -show_error -show_streams -of json "rtsp://admin:<password>@192.168.1.30/1/h264minor",
* Serving Flask app "detect_objects" (lazy loading),
* Environment: production,
WARNING: This is a development server. Do not use it in a production deployment.,
Use a production WSGI server instead.,
* Debug mode: off,
{'streams': [{'index': 0, 'codec_name': 'h264', 'codec_long_name': 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'profile': 'Main', 'codec_type': 'video', 'codec_time_base': '1/50', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'width': 640, 'height': 480, 'coded_width': 640, 'coded_height': 480, 'has_b_frames': 0, 'sample_aspect_ratio': '0:1', 'display_aspect_ratio': '0:1', 'pix_fmt': 'yuv420p', 'level': 30, 'chroma_location': 'left', 'field_order': 'progressive', 'refs': 1, 'is_avc': 'false', 'nal_length_size': '0', 'r_frame_rate': '25/1', 'avg_frame_rate': '25/1', 'time_base': '1/90000', 'start_pts': 18141, 'start_time': '0.201567', 'bits_per_raw_sample': '8', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}, {'index': 1, 'codec_name': 'pcm_mulaw', 'codec_long_name': 'PCM mu-law / G.711 mu-law', 'codec_type': 'audio', 'codec_time_base': '1/8000', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'sample_fmt': 's16', 'sample_rate': '8000', 'channels': 1, 'bits_per_sample': 8, 'r_frame_rate': '0/0', 'avg_frame_rate': '0/0', 'time_base': '1/8000', 'start_pts': 62, 'start_time': '0.007750', 'bit_rate': '64000', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}]},
ffmpeg -hide_banner -loglevel info -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -vsync drop -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:<password>@192.168.1.30/1/h264minor -f rawvideo -pix_fmt rgb24 pipe:,
Guessed Channel Layout for Input Stream #0.1 : mono,
Input #0, rtsp, from 'rtsp://admin:<password>@192.168.1.30/1/h264minor':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
Duration: N/A, start: 1582474419.683500, bitrate: N/A,
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 640x480, 25 fps, 25 tbr, 90k tbn, 50 tbc,
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s,
Stream mapping:,
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native)),
Press [q] to stop, [?] for help,
Output #0, rawvideo, to 'pipe:':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
encoder : Lavf57.83.100,
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, q=2-31, 184320 kb/s, 25 fps, 25 tbn, 25 tbc,
Metadata:,
encoder : Lavc57.107.100 rawvideo,
[rawvideo @ 0x555c40c8a520] Encoder did not produce proper pts, making some up.,
{'streams': [{'index': 0, 'codec_name': 'h264', 'codec_long_name': 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'profile': 'Main', 'codec_type': 'video', 'codec_time_base': '1/10', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'width': 640, 'height': 480, 'coded_width': 640, 'coded_height': 480, 'has_b_frames': 0, 'sample_aspect_ratio': '0:1', 'display_aspect_ratio': '0:1', 'pix_fmt': 'yuvj420p', 'level': 30, 'color_range': 'pc', 'color_space': 'bt709', 'color_transfer': 'bt709', 'color_primaries': 'bt709', 'chroma_location': 'left', 'field_order': 'progressive', 'refs': 1, 'is_avc': 'false', 'nal_length_size': '0', 'r_frame_rate': '5/1', 'avg_frame_rate': '5/1', 'time_base': '1/90000', 'start_pts': 106979, 'start_time': '1.188656', 'bits_per_raw_sample': '8', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}]},
ffmpeg -hide_banner -loglevel info -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -vsync drop -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:<password>@192.168.1.35/1/h264minor -f rawvideo -pix_fmt rgb24 pipe:,
frame= 5 fps=0.0 q=-0.0 size= 4500kB time=00:00:00.20 bitrate=184320.0kbits/s speed=0.391x
frame= 18 fps= 17 q=-0.0 size= 16200kB time=00:00:00.72 bitrate=184320.0kbits/s speed=0.697x
frame= 31 fps= 20 q=-0.0 size= 27900kB time=00:00:01.24 bitrate=184320.0kbits/s speed=0.802x
frame= 44 fps= 21 q=-0.0 size= 39600kB time=00:00:01.76 bitrate=184320.0kbits/s speed=0.85x
frame= 57 fps= 22 q=-0.0 size= 51300kB time=00:00:02.28 bitrate=184320.0kbits/s speed=0.885x
frame= 69 fps= 22 q=-0.0 size= 62100kB time=00:00:02.76 bitrate=184320.0kbits/s speed=0.892x
Input #0, rtsp, from 'rtsp://admin:<password>@192.168.1.35/1/h264minor':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
Duration: N/A, start: 1582474423.914378, bitrate: N/A,
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 640x480, 5 fps, 5 tbr, 90k tbn, 10 tbc,
Stream mapping:,
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native)),
Press [q] to stop, [?] for help,
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[swscaler @ 0x56283f20bce0] deprecated pixel format used, make sure you did set range correctly,
Output #0, rawvideo, to 'pipe:':,
Metadata:,
title : 1/h264minor,
comment : 1/h264minor,
encoder : Lavf57.83.100,
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, q=2-31, 36864 kb/s, 5 fps, 5 tbn, 5 tbc,
Metadata:,
encoder : Lavc57.107.100 rawvideo,
[rawvideo @ 0x56283f063e20] Encoder did not produce proper pts, making some up.,
frame= 1 fps=0.5 q=-0.0 size= 900kB time=00:00:00.20 bitrate=36864.0kbits/s speed=0.11x
Error on request:,
Traceback (most recent call last):,
File "/usr/local/lib/python3.7/dist-packages/werkzeug/serving.py", line 323, in run_wsgi,
execute(self.server.app),
File "/usr/local/lib/python3.7/dist-packages/werkzeug/serving.py", line 314, in execute,
for data in application_iter:,
File "/usr/local/lib/python3.7/dist-packages/werkzeug/wsgi.py", line 506, in __next__,
return self._next(),
File "/usr/local/lib/python3.7/dist-packages/werkzeug/wrappers/base_response.py", line 45, in _iter_encoded,
for item in iterable:,
File "/opt/frigate/detect_objects.py", line 225, in imagestream,
frame = object_processor.get_current_frame(camera_name),
File "/opt/frigate/frigate/object_processing.py", line 47, in get_current_frame,
return self.camera_data[camera]['current_frame'],
KeyError: 'current_frame',