frigate
frigate copied to clipboard
[Camera Support]: pi libcamera stream for frigate
Describe the problem you are having
I have a pi with a libcamera-based camera connected that doesn't support legacy running Debian 11. (bullseye) IP 192.168.10.100
The stream is created with the command: libcamera-vid -t 0 -g 2 --inline --width 1920 --height 1080 --rotation 180 --framerate 15 -o - | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/livingroom}' :demux=h264
Frigate doesn't like this stream and I'm not sure what I need to change to get it working. It works in vlc.
Incidentally I'm happy to set-up the stream any other way. I've found that the stream is better quality when its established using just libcamera-vid and no vlc but it isn't a rtsp stream which may be a problem for Frigate.
Version
0.10.1-83481AF
Frigate config file
qtt:
host: 192.168.10.103
port: 1883 # using HiveMQ MQTT Broker for testing purpose
user: james
password: password
detectors:
# Required: name of the detector
cpu:
# Required: type of the detector
# Valid values are 'edgetpu' (requires device property below) and 'cpu'.
type: cpu
# Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
# device: usb
# Optional: model modifications
model:
# Optional: path to the model (default: automatic based on detector)
# path: /edgetpu_model.tflite
# Optional: path to the labelmap (default: shown below)
#labelmap_path: /labelmap.txt
# Required: Object detection model input width (default: shown below)
width: 320
# Required: Object detection model input height (default: shown below)
height: 320
cameras:
livingroom:
ffmpeg:
inputs:
- path: rtsp://192.168.10.100:8554/livingroom
roles:
- detect
- rtmp
# Optional: Detect configuration
# NOTE: Can be overridden at the camera level
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 800
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 600
# Optional: desired fps for your camera for the input with the detect role (default: shown below)
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
fps: 8
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: True
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
max_disappeared: 25
# Optional: Configuration for stationary object tracking
stationary:
# Optional: Frequency for confirming stationary objects (default: shown below)
# When set to 0, object detection will not confirm stationary objects until movement is detected.
# If set to 10, object detection will run to confirm the object still exists on every 10th frame.
interval: 0
# Optional: Number of frames without a position change for an object to be considered stationary (default: 10x the frame rate or 10s)
threshold: 50
# Optional: Define a maximum number of frames for tracking a stationary object (default: not set, track forever)
# This can help with false positives for objects that should only be stationary for a limited amount of time.
# It can also be used to disable stationary object tracking. For example, you may want to set a value for person, but leave
# car at the default.
# WARNING: Setting these values overrides default behavior and disables stationary object tracking.
# There are very few situations where you would want it disabled. It is NOT recommended to
# copy these values from the example config into your config unless you know they are needed.
max_frames:
# Optional: Default for all object types (default: not set, track forever)
default: 3000
# Optional: Object specific values
objects:
person: 1000
# Optional: Object configuration
# NOTE: Can be overridden at the camera level
objects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- cup
# Optional: Record configuration
# NOTE: Can be overridden at the camera level
record:
# Optional: Enable recording (default: shown below)
# WARNING: If recording is disabled in the config, turning it on via
# the UI or MQTT later will have no effect.
# WARNING: Frigate does not currently support limiting recordings based
# on available disk space automatically. If using recordings,
# you must specify retention settings for a number of days that
# will fit within the available disk space of your drive or Frigate
# will crash.
enabled: True
# Optional: Number of minutes to wait between cleanup runs (default: shown below)
# This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
expire_interval: 60
# Optional: Retention settings for recording
retain:
# Optional: Number of days to retain recordings regardless of events (default: shown below)
# NOTE: This should be set to 0 and retention should be defined in events section below
# if you only want to retain recordings of events.
days: 0
# Optional: Mode for retention. Available options are: all, motion, and active_objects
# all - save all recording segments regardless of activity
# motion - save all recordings segments with any detected motion
# active_objects - save all recording segments with active/moving objects
# NOTE: this mode only applies when the days setting above is greater than 0
mode: all
# Optional: Event recording settings
events:
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the retained recordings
# will be the last x seconds of the event unless retain->days under record is > 0.
max_seconds: 300
# Optional: Number of seconds before the event to include (default: shown below)
pre_capture: 2
# Optional: Number of seconds after the event to include (default: shown below)
post_capture: 2
# Optional: Objects to save recordings for. (default: all tracked objects)
objects:
- person
- cup
# Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
required_zones: []
# Optional: Retention settings for recordings of events
retain:
# Required: Default retention days (default: shown below)
default: 10
# Optional: Mode for retention. (default: shown below)
# all - save all recording segments for events regardless of activity
# motion - save all recordings segments for events with any detected motion
# active_objects - save all recording segments for event with active/moving objects
#
# NOTE: If the retain mode for the camera is more restrictive than the mode configured
# here, the segments will already be gone by the time this mode is applied.
# For example, if the camera retain mode is "motion", the segments without motion are
# never stored, so setting the mode to "all" here won't bring them back.
mode: motion
# Optional: Per object retention days
objects:
person: 2
cup: 3
Relevant log output
Logo
Home
local
Dashboard
App Templates
Stacks
Containers
Images
Networks
Volumes
Events
Host
Settings
Users
Environments
Registries
Authentication logs
Notifications
Settings
Community Edition
2.16.2
Upgrade
Containers>frigate>Logs
Container logs
portainer_admin
Log viewer settings
Auto-refresh logs
Wrap lines
Display timestamps
Fetch
All logs
Search
Filter...
Lines
100
Actions
[2023-01-25 16:38:37] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x555c838f0dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:38:37] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:38:38] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:38:38] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:38:47] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:38:47] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:38:47] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55ad87915dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:38:47] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:38:48] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:38:48] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:38:57] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:38:57] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:38:57] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55739b7b0dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:38:57] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:38:58] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:38:58] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:07] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:07] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:07] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55d2148efdc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:07] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:08] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:08] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:17] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:17] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:17] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x5561bb2d7dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:17] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:17] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:17] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:27] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:27] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:27] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x5638f068fdc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:27] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:28] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:28] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:37] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:37] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:37] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x5619e04eedc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:37] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:38] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:38] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:47] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:47] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:47] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x5569cfb6ddc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:47] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:48] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:48] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:39:57] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:39:57] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:39:57] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x563dd0b50dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:39:57] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:39:58] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:39:58] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:07] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:07] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:07] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x559f43924dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:07] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:08] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:08] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:17] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:17] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:17] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x558bd5466dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:17] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:18] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:18] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:27] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:27] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:27] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55c6350b9dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:27] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:28] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:28] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:37] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:37] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:37] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x556949e59dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:37] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:38] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:38] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:47] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:47] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:47] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x56221a49cdc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:47] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:48] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:48] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:40:57] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:40:57] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:40:57] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x5596e66aedc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:40:57] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:40:58] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:40:58] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:41:07] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:41:07] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:41:07] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x561686c67dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:41:07] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:41:08] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:41:08] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
[2023-01-25 16:41:17] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom.
[2023-01-25 16:41:17] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-25 16:41:17] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55e4d6764dc0] method SETUP failed: 461 Unsupported transport
[2023-01-25 16:41:17] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Protocol not supported
[2023-01-25 16:41:18] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process.
[2023-01-25 16:41:18] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
FFprobe output from your camera
ffprobe version 4.3.5-0+deb11u1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, rtsp, from 'rtsp://192.168.10.100:8554/livingroom':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 2517.959433, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 15 fps, 7.50 tbr, 90k tbn, 30 tbc
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
CPU (no coral)
Network connection
Wireless
Camera make and model
y Arducam 2MP Ultra Low Light STARVIS IMX327
Any other information that may be helpful
No response
The stream only supports UDP, so you need to use different args https://docs.frigate.video/configuration/camera_specific#udp-only-cameras
thanks for that. I added the folowing line to the config file: input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport udp -timeout 5000000 -use_wallclock_as_timestamps 1
Unfortunately I'm still getting these errors: [2023-01-26 11:41:33] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55890d083dc0] Unable to open RTSP for listening [2023-01-26 11:41:33] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Cannot assign requested address [2023-01-26 11:41:33] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process. [2023-01-26 11:41:33] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread... [2023-01-26 11:41:43] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom. [2023-01-26 11:41:43] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit. [2023-01-26 11:41:43] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x558c2b790dc0] Unable to open RTSP for listening [2023-01-26 11:41:43] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Cannot assign requested address [2023-01-26 11:41:43] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process. [2023-01-26 11:41:43] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread... [2023-01-26 11:41:53] watchdog.livingroom ERROR : Ffmpeg process crashed unexpectedly for livingroom. [2023-01-26 11:41:53] watchdog.livingroom ERROR : The following ffmpeg logs include the last 100 lines prior to exit. [2023-01-26 11:41:53] ffmpeg.livingroom.detect ERROR : [rtsp @ 0x55fd6ab28dc0] Unable to open RTSP for listening [2023-01-26 11:41:53] ffmpeg.livingroom.detect ERROR : rtsp://192.168.10.100:8554/livingroom: Cannot assign requested address [2023-01-26 11:41:53] frigate.video ERROR : livingroom: Unable to read frames from ffmpeg process. [2023-01-26 11:41:53] frigate.video ERROR : livingroom: ffmpeg process is not running. exiting capture thread...
libcamera didn't work for me...
rtsp-simple-server for rpi works fine:
sudo docker run --rm -it --network=host --privileged --tmpfs /dev/shm:exec -v /run/udev:/run/udev:ro -e RTSP_PATHS_CAM_SOURCE=rpiCamera -v $PWD/rtsp-simple-server.yml:/rtsp-simple-server.yml aler9/rtsp-simple-server:latest-rpi
Try these args instead: input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport udp -stimeout 5000000 -use_wallclock_as_timestamps 1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.