[Support]: 0.11.0 Beta-2 FFMpeg problem
See original GitHub issueDescribe the problem you are having
Frigate is loading but I don’t get any stream from my camera
Version
0.11.0-beta2
Frigate config file
mqtt:
host: 10.0.1.30
user: mosquitto
password: XXXXX
cameras:
entrance_cam:
ffmpeg:
inputs:
- path: rtsp://10.0.1.116/11
roles:
- detect
motion:
threshold: 1
# mask:
# - 399,170,450,181,481,0,415,0
detect:
width: 640
height: 360
fps: 10
# 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: 350
stationary:
interval: 90
#threshold: 50
objects:
track:
- person
mask: 399,170,450,181,481,0,415,0
filters:
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.75
# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
threshold: 0.70
record:
enabled: True
retain_days: 1
events:
retain:
default: 1
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
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: True
# Optional: print a timestamp on the snapshots (default: shown below)
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: 480
# 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: 1
# Optional: Per object retention days
objects:
person: 1
detectors:
coral:
type: edgetpu
device: usb
Relevant log output
[2022-05-18 20:31:13] frigate.app INFO : Starting Frigate (0.11.0-d2c3cdc)
[2022-05-18 20:31:13] frigate.config WARNING : The 'retain_days' config option has been DEPRECATED and will be removed in a future version. Please use the 'days' setting under 'retain'
Starting migrations
[2022-05-18 20:31:13] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-05-18 20:31:13] peewee_migrate INFO : There is nothing to migrate
[2022-05-18 20:31:13] detector.coral INFO : Starting detection process: 224
[2022-05-18 20:31:13] frigate.app INFO : Output process started: 226
[2022-05-18 20:31:13] ws4py INFO : Using epoll
[2022-05-18 20:31:13] frigate.app INFO : Camera processor started for entrance_cam: 231
Process output_processor:
[2022-05-18 20:31:13] frigate.app INFO : Capture process started for entrance_cam: 235
Traceback (most recent call last):
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 372, in output_frames
converters[camera] = FFMpegConverter(
File "/opt/frigate/frigate/output.py", line 36, in __init__
self.process = sp.Popen(
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/opt/frigate/frigate/video.py", line 215, in run
self.start_ffmpeg_detect()
File "/opt/frigate/frigate/video.py", line 276, in start_ffmpeg_detect
self.ffmpeg_detect_process = start_or_restart_ffmpeg(
File "/opt/frigate/frigate/video.py", line 133, in start_or_restart_ffmpeg
process = sp.Popen(
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
[2022-05-18 20:31:14] ws4py INFO : Using epoll
[2022-05-18 20:31:13] frigate.edgetpu INFO : Attempting to load TPU as usb
FFprobe output from your camera
root@fc1cf738322a:/opt/frigate# ffprobe rtsp://10.0.1.116/11
ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libfreetype --enable-libvidstab --enable-libmfx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-vaapi --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib
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://10.0.1.116/11':
Metadata:
title : ww live test
Duration: N/A, start: 0.050000, bitrate: N/A
Stream #0:0: Video: h264, yuvj420p(pc, progressive), 1280x720, 20 fps, 20 tbr, 90k tbn, 180k tbc
Frigate stats
{"detection_fps":0.0,"detectors":{"coral":{"detection_start":0.0,"inference_speed":10.0,"pid":224}},"entrance_cam":{"camera_fps":0.0,"capture_pid":235,"detection_fps":0.0,"pid":231,"process_fps":0.0,"skipped_fps":0.0},"service":{"latest_version":"0.10.1","storage":{"/dev/shm":{"free":66.8,"mount_type":"tmpfs","total":67.1,"used":0.3},"/media/frigate/clips":{"free":9579.8,"mount_type":"ext4","total":33501.8,"used":22187.2},"/media/frigate/recordings":{"free":9579.8,"mount_type":"ext4","total":33501.8,"used":22187.2},"/tmp/cache":{"free":1000.0,"mount_type":"tmpfs","total":1000.0,"used":0.0}},"temperatures":{},"uptime":284,"version":"0.11.0-d2c3cdc"}}
Operating system
Proxmox
Install method
Docker Compose
Coral version
USB
Network connection
Wireless
Camera make and model
Aqara G2H
Any other information that may be helpful
I had stable-amd64 docker image working flawlessly before tried to upgrade to 0.11 beta-2. Hope it helps and thanks a lot
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, introduce a simple stability voting system and have a core team...
Read more >Debian -- Source Packages in "stretch"
... debian-science (1.7); debian-security-support (1:9+2022.06.02) [security]; debian-timeline ... freespace2-launcher-wxlauncher (0.11.0+dfsg-1) [contrib] ...
Read more >FFMpeg error: maybe incorrect parameters such as bit_rate ...
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height nice: ...
Read more >StreamFX (for OBS® Studio) - Updates
Support StreamFX on Github Sponsors or Patreon! ... that you have read and verified both before asking for help, as many issues can...
Read more >streamCapture2 Version History - VideoHelp
More informative messages for network problems. ... Improved display of license information and "About" ffmpeg and svtplay-dl. ... Version 0.29.5 BETA 2
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
this is a duplicate of https://github.com/blakeblackshear/frigate/issues/3223
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.