[Config Support]: ffmpeg keep crashing after 0.11 update
See original GitHub issueDescribe the problem you are having
After Frigate update to 0.11 FFMPEG crashes all the time. I followed the instruction on the the release page.
Version
0.11.0-3846a13
Frigate config file
---
mqtt:
# Required: host name
host: mqtt-broker-home.mqttbroker
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# NOTE: must be unique if you are running multiple instances
topic_prefix: frigate
# Optional: client id (default: shown below)
# NOTE: must be unique if you are running multiple instances
client_id: frigate
# Optional: user
#user: frigate
user: frigate
## Optional: password
## NOTE: MQTT password can be specified with an environment variables that must begin with 'FRIGATE_'.
## e.g. password: '{FRIGATE_MQTT_PASSWORD}'
#password: empty
password: '{FRIGATE_MQTT_PASSWORD}'
# Optional: tls_ca_certs for enabling TLS using self-signed certs (default: None)
#tls_ca_certs: /path/to/ca.crt
# Optional: tls_client_cert and tls_client key in order to use self-signed client
# certificates (default: None)
# NOTE: certificate must not be password-protected
# do not set user and password when using a client certificate
#tls_client_cert: /path/to/client.crt
#tls_client_key: /path/to/client.key
# Optional: tls_insecure (true/false) for enabling TLS verification of
# the server hostname in the server certificate (default: None)
#tls_insecure: false
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
# Optional: Detectors configuration. Defaults to a single CPU detector
detectors:
# Required: name of the detector
coral:
# Required: type of the detector
# Valid values are 'edgetpu' (requires device property below) and 'cpu'.
type: edgetpu
# Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
device: usb
# Optional: num_threads value passed to the tflite.Interpreter (default: shown below)
# This value is only used for CPU types
#num_threads: 3
# Optional: Database configuration
# 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
# Optional: Label name modifications. These are merged into the standard labelmap.
labelmap:
2: vehicle
# Optional: logger verbosity settings
logger:
# Optional: Default log verbosity (default: shown below)
default: info
# Optional: Component specific logger overrides
logs:
frigate.mqtt: info
#frigate.event: debug
#frigate.record: debug
# Optional: set environment variables
environment_vars: {}
#EXAMPLE_VAR: value
# Optional: birdseye configuration
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: True
# Optional: Width of the output resolution (default: shown below)
width: 1280
# Optional: Height of the output resolution (default: shown below)
height: 720
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
#mode: objects
mode: continuous
## Optional: ffmpeg configuration
ffmpeg:
# # Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel debug
# # Optional: global hwaccel args (default: shown below)
# # NOTE: See hardware acceleration docs for your specific device
hwaccel_args:
# https://blog.peterblandford.com/2021/10/30/reolink-4k-cameras-with-frigate-home-assistant-and-24-hour-recording/
# https://docs.frigate.video/configuration/hardware_acceleration#intel-based-cpus-10th-generation-via-quicksync
# aquarak has 8th generation cpu: https://ark.intel.com/content/www/us/en/ark/products/135936/intel-core-i38109u-processor-4m-cache-up-to-3-60-ghz.html
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
# # Optional: global input args (default: shown below)
# input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
# https://docs.frigate.video/configuration/camera_specific#reolink-410520-possibly-others
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer+genpts+discardcorrupt
- -flags
- low_delay
- -strict
- experimental
- -analyzeduration
- 1000M
- -probesize
- 1000M
#- -rw_timeout
#- "5000000"
# # Optional: global output args
output_args:
# https://blog.peterblandford.com/2021/10/30/reolink-4k-cameras-with-frigate-home-assistant-and-24-hour-recording/
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy #-an removed to hear sound
# # Optional: output args for detect streams (default: shown below)
# detect: -f rawvideo -pix_fmt yuv420p
# # Optional: output args for record streams (default: shown below)
# record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# # Optional: output args for rtmp streams (default: shown below)
# rtmp: -c copy -f flv
# https://github.com/blakeblackshear/frigate/issues/1602
rtmp: -c:v h264_nvenc -an -f flv
# 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: 640
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 360
# 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: 5
# 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 # since v0.10
stationary:
# Optional: Frequency for running detection on stationary objects (default: shown below)
# When set to 0, object detection will never be run on stationary objects. If set to 10,
# it will be run 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: 25
# 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.
max_frames:
# Optional: Default for all object types (default: not set, track forever)
default: 500
# Optional: Object specific values
objects:
person: 500
## 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
- bicycle
- car
- motorcycle
- cat
- dog
- bus
- truck
- sheep
- cow
- backpack
- airplane
# # Optional: mask to prevent all object types from being detected in certain areas (default: no mask)
# # Checks based on the bottom center of the bounding box of the object.
# # NOTE: This mask is COMBINED with the object type specific mask below
# mask: 0,0,1000,0,1000,200,0,200
# # Optional: filters to reduce false positives for specific object types
filters:
car:
threshold: 0.6
# person:
# # Optional: minimum width*height of the bounding box for the detected object (default: 0)
# min_area: 5000
# # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
# max_area: 100000
# # Optional: minimum score for the object to initiate tracking (default: shown below)
# min_score: 0.5
# # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
# threshold: 0.7
# # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
# # Checks based on the bottom center of the bounding box of the object
# mask: 0,0,1000,0,1000,200,0,200
## Optional: Motion configuration
## NOTE: Can be overridden at the camera level
#motion:
# # Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)
# # Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.
# # The value should be between 1 and 255.
# threshold: 25
# # Optional: Minimum size in pixels in the resized motion image that counts as motion (default: ~0.17% of the motion frame area)
# # Increasing this value will prevent smaller areas of motion from being detected. Decreasing will make motion detection more sensitive to smaller
# # moving objects.
# contour_area: 100
# # Optional: Alpha value passed to cv2.accumulateWeighted when averaging the motion delta across multiple frames (default: shown below)
# # Higher values mean the current frame impacts the delta a lot, and a single raindrop may register as motion.
# # Too low and a fast moving person wont be detected as motion.
# delta_alpha: 0.2
# # Optional: Alpha value passed to cv2.accumulateWeighted when averaging frames to determine the background (default: shown below)
# # Higher values mean the current frame impacts the average a lot, and a new object will be averaged into the background faster.
# # Low values will cause things like moving shadows to be detected as motion for longer.
# # https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
# frame_alpha: 0.2
# # Optional: Height of the resized motion frame (default: 1/6th of the original frame height, but no less than 180)
# # This operates as an efficient blur alternative. Higher values will result in more granular motion detection at the expense of higher CPU usage.
# # Lower values result in less CPU, but small changes may not register as motion.
# frame_height: 180
# # Optional: motion mask
# # NOTE: see docs for more detailed info on creating masks
#mask: 132,360,200,360,227,360,230,328,132,331
# Optional: Record configuration
# NOTE: Can be overridden at the camera level
record:
# Optional: Enable recording (default: shown below)
enabled: True
# 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.
#retain_days: 1 # deprecated in v0.10
retain:
days: 3
mode: all
# Optional: Event recording settings
events:
# Optional: Number of seconds before the event to include (default: shown below)
pre_capture: 5
# Optional: Number of seconds after the event to include (default: shown below)
post_capture: 15
# Optional: Objects to save recordings for. (default: all tracked objects)
#objects:
# - person
# 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: 15
mode: active_objects
# Optional: Per object retention days
#objects:
# person: 15
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
# NOTE: Can be overridden at the camera level
snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
# enabled: False
enabled: True
# # Optional: print a timestamp on the snapshots (default: shown below)
# timestamp: False
timestamp: True
# # Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: True
# # Optional: crop the snapshot (default: shown below)
# crop: False
# # Optional: height to resize the snapshot to (default: original size)
# height: 175
# # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones: []
# # Optional: Camera override for retention settings (default: global values)
retain:
# Required: Default retention days (default: shown below)
# default: 10
default: 60
# # Optional: Per object retention days
# objects:
# person: 15
# Optional: RTMP configuration
# NOTE: Can be overridden at the camera level
rtmp:
# Optional: Enable the RTMP stream (default: True)
enabled: False
# Optional: Live stream configuration for WebUI
# NOTE: Can be overridden at the camera level
live:
# Optional: Set the height of the live stream. (default: 720)
# This must be less than or equal to the height of the detect stream. Lower resolutions
# reduce bandwidth required for viewing the live stream. Width is computed to match known aspect ratio.
height: 720
# Optional: Set the encode quality of the live stream (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# Optional: in-feed timestamp style configuration
# NOTE: Can be overridden at the camera level
timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
position: "tr"
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
format: "%d/%m/%Y %H:%M:%S"
# Optional: Color of font
color:
# All Required when color is specified (default: shown below)
red: 255
green: 255
blue: 255
# Optional: Line thickness of font (default: shown below)
thickness: 1
# Optional: Effect of lettering (default: shown below)
# None (No effect),
# "solid" (solid background in inverse color of font)
# "shadow" (shadow for font)
effect: shadow
# Required
cameras:
# https://support.reolink.com/hc/en-us/articles/360006240073-Request-for-RTSP-URL
# Required: name of the camera
cam0:
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.
inputs:
# Required: the path to the stream
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://HeadAdmin:@cam0.iot.vanginderachter.be:554/h264Preview_01_sub
#- path: https://cam0.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=
&password=
roles:
- detect
- path: rtsp://HeadAdmin:@cam0.iot.vanginderachter.be:554/h264Preview_01_main
#- path: https://cam0.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=&password=
# Required: list of roles for this stream. valid values are: detect,record,rtmp
# NOTICE: In addition to assigning the record, and rtmp roles,
# they must also be enabled in the camera config.
roles:
- record
- rtmp
# Optional: stream specific global args (default: inherit)
# global_args:
# Optional: stream specific hwaccel args (default: inherit)
# hwaccel_args:
# Optional: stream specific input args (default: inherit)
# input_args:
# Optional: camera specific global args (default: inherit)
# global_args:
# Optional: camera specific hwaccel args (default: inherit)
# hwaccel_args:
# Optional: camera specific input args (default: inherit)
# https://docs.frigate.video/configuration/camera_specific
# input_args: []
# Optional: camera specific output args (default: inherit)
# output_args:
cam1:
ffmpeg:
inputs:
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://HeadAdmin:@cam1.iot.vanginderachter.be:554/h264Preview_01_sub
#- path: https://cam1.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=&password=
roles:
- detect
- path: rtsp://HeadAdmin:@cam1.iot.vanginderachter.be:554/h264Preview_01_main
#- path: https://cam1.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=&password=
roles:
- record
- rtmp
cam2:
ffmpeg:
inputs:
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://HeadAdmin:@cam2.iot.vanginderachter.be:554/h264Preview_01_sub
#- path: https://cam2.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=&password=
roles:
- detect
- path: rtsp://HeadAdmin:@cam2.iot.vanginderachter.be:554/h264Preview_01_main
#- path: https://cam2.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=&password=
roles:
- rtmp
- record
cam3:
ffmpeg:
inputs:
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://HeadAdmin:@cam3.iot.vanginderachter.be:554/h264Preview_01_sub
#- path: https://cam3.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=&password=
roles:
- detect
- path: rtsp://HeadAdmin:@cam3.iot.vanginderachter.be:554/h264Preview_01_main
#- path: https://cam3.iot.vanginderachter.be/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=&password=
roles:
- record
- rtmp
cam360:
ffmpeg:
inputs:
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
#- path: rtsp://HeadAdmin:@https://cam360.iot.vanginderachter.be:554/h264Preview_01_sub
- path: https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=&password=
roles:
- detect
- record
# - path: https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_main.bcs&user=&password=
# roles:
#- rtmp
Relevant log output
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-09-24 17:01:17] frigate.app INFO : Starting Frigate (0.11.0-3846a13)
[2022-09-24 17:01:17] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-09-24 17:01:17] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-09-24 17:01:17] peewee_migrate INFO : There is nothing to migrate
[2022-09-24 17:01:17] detector.coral INFO : Starting detection process: 215
[2022-09-24 17:01:17] frigate.app INFO : Output process started: 217
[2022-09-24 17:01:17] frigate.edgetpu INFO : Attempting to load TPU as usb
Process output_processor:
[2022-09-24 17:01:17] ws4py INFO : Using epoll
[2022-09-24 17:01:17] frigate.app INFO : Camera processor started for cam0: 226
[2022-09-24 17:01:17] frigate.app INFO : Camera processor started for cam1: 228
[2022-09-24 17:01:17] frigate.app INFO : Camera processor started for cam2: 229
[2022-09-24 17:01:17] frigate.app INFO : Camera processor started for cam3: 232
Traceback (most recent call last):
[2022-09-24 17:01:17] frigate.app INFO : Camera processor started for cam360: 233
File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/frigate/frigate/output.py", line 400, in output_frames
birdseye_manager = BirdsEyeFrameManager(config, frame_manager)
File "/opt/frigate/frigate/output.py", line 125, in __init__
self.blank_frame[
ValueError: could not broadcast input array from shape (1978,2708) into shape (629,698)
[2022-09-24 17:01:17] frigate.app INFO : Capture process started for cam0: 235
[2022-09-24 17:01:17] frigate.app INFO : Capture process started for cam1: 245
[2022-09-24 17:01:17] frigate.app INFO : Capture process started for cam2: 249
[2022-09-24 17:01:17] frigate.app INFO : Capture process started for cam3: 251
[2022-09-24 17:01:17] frigate.app INFO : Capture process started for cam360: 253
[2022-09-24 17:01:17] ws4py INFO : Using epoll
[2022-09-24 17:01:20] frigate.edgetpu INFO : TPU found
[2022-09-24 17:01:21] frigate.video ERROR : cam360: Unable to read frames from ffmpeg process.
[2022-09-24 17:01:21] frigate.video ERROR : cam360: ffmpeg process is not running. exiting capture thread...
[2022-09-24 17:01:37] watchdog.cam360 ERROR : Ffmpeg process crashed unexpectedly for cam360.
[2022-09-24 17:01:37] watchdog.cam360 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Splitting the commandline.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option 'vaapi' ... matched as output url.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-hwaccel_device' ... matched as option 'hwaccel_device' (select a device for HW acceleration) with argument '/dev/dri/renderD128'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-hwaccel_output_format' ... matched as option 'hwaccel_output_format' (select output format used with HW accelerated decoding) with argument 'yuv420p'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-avoid_negative_ts' ... matched as AVOption 'avoid_negative_ts' with argument 'make_zero'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-fflags' ... matched as AVOption 'fflags' with argument 'nobuffer+genpts+discardcorrupt'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-flags' ... matched as AVOption 'flags' with argument 'low_delay'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-strict' ...Routing option strict to both codec and muxer layer
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : matched as AVOption 'strict' with argument 'experimental'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration' with argument '1000M'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-probesize' ... matched as AVOption 'probesize' with argument '1000M'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-i' ... matched as input url with argument 'https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password='.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-f' ... matched as option 'f' (force format) with argument 'segment'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-segment_time' ... matched as AVOption 'segment_time' with argument '60'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-segment_format' ... matched as AVOption 'segment_format' with argument 'mp4'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-reset_timestamps' ... matched as AVOption 'reset_timestamps' with argument '1'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-strftime' ... matched as AVOption 'strftime' with argument '1'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '/tmp/cache/cam360-%Y%m%d%H%M%S.mp4' ... matched as output url.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '5'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '640x360'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Reading option 'pipe:' ... matched as output url.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Finished splitting the commandline.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Parsing a group of options: global .
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Applying option hide_banner (do not show program banner) with argument 1.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Applying option loglevel (set logging level) with argument debug.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Successfully parsed a group of options.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Parsing a group of options: input url https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password=.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Applying option hwaccel_device (select a device for HW acceleration) with argument /dev/dri/renderD128.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Applying option hwaccel_output_format (select output format used with HW accelerated decoding) with argument yuv420p.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Successfully parsed a group of options.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Opening an input file: https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password=.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [NULL @ 0x55a56b358180] Opening 'https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password=' for reading
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [https @ 0x55a56b359140] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Original list of addresses:
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Address 192.168.0.10 port 443
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Interleaved list of addresses:
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Address 192.168.0.10 port 443
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Starting connection attempt to 192.168.0.10 port 443
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [tcp @ 0x55a56b35d380] Successfully connected to 192.168.0.10 port 443
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [https @ 0x55a56b359140] request: GET //flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password=HTTP/1.1
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : User-Agent: Lavf/59.27.100
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Accept: */*
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Range: bytes=0-
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Connection: close
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Host: cam360.iot.vanginderachter.be
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Icy-MetaData: 1
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR :
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR :
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] Format flv probed with size=2048 and score=100
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] Before avformat_find_stream_info() pos: 13 bytes read:4389 seeks:0 nb_streams:0
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [NULL @ 0x55a56b36a8c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [NULL @ 0x55a56b36a8c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] Format yuv420p chosen by get_format().
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] Reinit context to 896x512, pix_fmt: yuv420p
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [h264 @ 0x55a56b36a8c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 5 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] All info found
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 24.750000 0.013478
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 1 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 24.833333 0.004629
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 1 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 24.916667 0.000430
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 1 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 25.000000 0.000881
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 25.083333 0.005983
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 1 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 25.166667 0.015736
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Last message repeated 1 times
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] rfps: 50.000000 0.003525
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [flv @ 0x55a56b358180] After avformat_find_stream_info() pos: 513428 bytes read:513428 seeks:0 frames:72
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Input #0, flv, from 'https://cam360.iot.vanginderachter.be//flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=HeadAdmin&password=':
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Metadata:
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : displayWidth : 896
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : displayHeight : 512
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Stream #0:0, 41, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(progressive), 896x512, 0/1, 19 fps, 24.92 tbr, 1k tbn
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Stream #0:1, 31, 1/1000: Audio: aac (LC), 16000 Hz, mono, fltp
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Successfully opened the file.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Parsing a group of options: output url vaapi.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Successfully parsed a group of options.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : Opening an output file: vaapi.
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [NULL @ 0x55a56b38cbc0] Unable to find a suitable output format for 'vaapi'
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : vaapi: Invalid argument
[2022-09-24 17:01:37] ffmpeg.cam360.detect ERROR : [AVIOContext @ 0x55a56b366f80] Statistics: 513428 bytes read, 0 seeks
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
Before 0.11 ffmpeg worked fine.
What is wrong with my config file?
Issue Analytics
- State:
- Created a year ago
- Comments:28 (14 by maintainers)
Top Results From Across the Web
FFMPEG not working (crashing) after upgrading packages ...
Hello,. After updating my packages using apt upgrade on my Raspberry Pi 4 (DietPi arm64 bit OS) my Frigate 0.11 RC1 container is...
Read more >ffmpeg crashes when forced to decode wma9.1 lossless 6ch ...
ffmpeg crashes when forced to decode wma9.1 lossless 6ch with wmav2 decoder. Reported by: ami_stuff, Owned by: Priority: normal, Component: ...
Read more >MPlayer - The Movie Player
I try to keep the video fourcc list and audio twocc list up to date. As well as syncing codec support between VLC,...
Read more >Nouveautés - MusicBrainz Picard
Picard no longer fails to load releases with new or unknown media formats. Threading issues that could occasionally cause Picard to stop loading...
Read more >EasyWorship 7 Software Download
Removed side-by-side and top-to-bottom support. Updated FFmpeg player to 4.0.1. Android App Now available in the Play Store. Bug Fixes: Fixed ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Hukuma1 yeah, with frigate 0.11 any improperly set hwaccel will fail. Also there’s open tickets to add better diagnostics for it.
Alright i fixed the problem. Now I have back a live feed in Frigate. this is my config. I fidn a input args example from someone on reddit and used it in my config.
I did not get any errors in my logs in the config before this. My feed wasn’t working at all until this config here.