Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Support]: Upgrade to 0.11.0 broke the system (raspberry pi 4, 64bit) #3906

Closed
XBeg9 opened this issue Sep 23, 2022 · 2 comments
Closed

[Support]: Upgrade to 0.11.0 broke the system (raspberry pi 4, 64bit) #3906

XBeg9 opened this issue Sep 23, 2022 · 2 comments

Comments

@XBeg9
Copy link

XBeg9 commented Sep 23, 2022

Describe the problem you are having

After upgrade to 0.11.0, frigate stoped working

Version

0.11.0

Frigate config file

database:
  path: /config/frigate.db

mqtt:
  host: 192.168.0.11

detectors:
  coral:
    type: edgetpu
    device: usb

detect:
  width: 896
  height: 512
  fps: 7
  enabled: True

rtmp:
  enabled: False

record:
  enabled: True
  retain:
    days: 7
    mode: motion
  events:
    objects:
      - person
    retain:
      default: 10
      mode: active_objects
      objects:
        person: 15

cameras:
  d1:
    ffmpeg:
      inputs:
        - path: rtsp://*:*@192.168.0.98:554/h264Preview_01_main
          roles:
            - record
        - path: rtsp://*:*@192.168.0.98:554/h264Preview_01_sub
          roles:
            - detect

Relevant log output

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'
[2022-09-23 17:25:35] frigate.edgetpu                INFO    : TPU found

FFprobe output from your camera

ffprobe rtsp://:@192.168.0.98:554/h264Preview_01_main
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=aarch64-ffbuild-linux-gnu- --arch=aarch64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://*:*@192.168.0.98:554/h264Preview_01_main':
  Metadata:
    title           : Session streamed by "preview"
    comment         : h264Preview_01_main
  Duration: N/A, start: 0.000250, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1440, 25 fps, 25 tbr, 90k tbn
  Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

Frigate stats

No response

Operating system

Debian

Install method

Docker CLI

Coral version

USB

Network connection

Wired

Camera make and model

Reolink 810a

Any other information that may be helpful

disabled all FFMPEG flags, doesn't help :(

@NickM-27
Copy link
Collaborator

Please read the release notes, this is covered in the breaking changes.

Some deployment approaches are overwriting the PATH environment value to an old value. If you see errors like No such file or directory: 'ffmpeg', then you need to stop overriding your PATH. This happens with both Proxmox LXC and Portainer (#3223)

@XBeg9
Copy link
Author

XBeg9 commented Sep 23, 2022

Thanks, this solved the issue, overlooked that specific sentence :(

@XBeg9 XBeg9 closed this as completed Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants