frigate icon indicating copy to clipboard operation
frigate copied to clipboard

[Support]: FFMPEG crash for Ubiquiti cam with beta

Open flan7 opened this issue 2 years ago • 1 comments

Describe the problem you are having

With the newest beta, my Ubiquiti G4 doorbell cam crashes with the following error. Soon after this, my back door ubiquiti wifi cam also faces the same error. The driveway camera contiues to work, and is a wired Loryta RTSP cam.

Running on an RPi 4, newest hardware acceleration parameters enabled, along with the new specific ubiquti audio config preset.

Version

0.12.0-12d51d3

Frigate config file

mqtt:
  host: 192.168.2.xxx
  port: 1883
  user: xxxxxxx
  password: xxxxxxxxxxxx
  topic_prefix: frigate
  client_id: frigate

detectors:
  coral:
    type: edgetpu
    device: usb

objects:
  track:
    - person
    - cat
    #- car
    - dog
    - package

record:
  enabled: True
  retain:
    days: 10 
    mode: all
  events:
    pre_capture: 5
    post_capture: 5
    retain:
      default: 10
      mode: motion

birdseye:
  enabled: False
  mode: continuous

snapshots:
  enabled: True
  clean_copy: True
  retain:
    default: 10

ffmpeg:
  hwaccel_args: preset-rpi-64-h264

go2rtc:
  streams:
    Front_Doorbell:
        - rtsp://192.168.2.xxx:7447/VNFKyxxxxxxxxxx
        - ffmpeg:Front_Doorbell#audio=opus
    Front_Doorbell_sub:
        - rtsp://192.168.2.xxx:7447/7Sbxxxxxxxxxxxx
    Back_Door_Camera:
        - rtsp://192.168.2.xxx:7447/7xoxxxxxxxxxxxx
        - ffmpeg:Back_Door_Camera#audio=opus
    Back_Door_Camera_sub:
        - rtsp://192.168.2.xxx:7447/zpxxxxxxxxxxxxx
    Driveway_Camera:
        - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
        - ffmpeg:Drivewa_Camera#audio=opus
    Driveway_Camera_sub:
        - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=2
  webrtc:
    candidates:
      - 192.168.2.xxx:8555
      - stun:8555

cameras:
  Front_Doorbell:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Front_Doorbell?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Front_Doorbell_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-ubiquiti
        rtmp: preset-rtmp-ubiquiti
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 960
      height: 720
    record:
      enabled: True
    snapshots:
      enabled: True
    motion:
      mask:    
        - 700,638,716,243,1600,202,1600,590
        - 666,397,550,212,530,427,537,1034,665,843
        - 0,75,0,0,271,0,273,73

  Back_Door_Camera:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Back_Door_Camera?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Back_Door_Camera_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-ubiquiti
        rtmp: preset-rtmp-ubiquiti
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 1024
      height: 576
    record:
      enabled: True
    snapshots:
      enabled: True
    motion:
      mask:    
        - 0,103,0,0,348,0,331,94

  Driveway_Camera:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Driveway_Camera?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Driveway_Camera_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 1280
      height: 720
    record:
      enabled: True
    snapshots:
      enabled: True
    motion:
      mask:    
        - 886,0,1280,0,1280,63,869,60
    objects:
      track:
        - person
        - cat
        - car
        - dog
        - package

Relevant log output

Both back door cam and doorbell crash in the same manner

2023-01-29 14:14:58.731588605  [2023-01-29 14:14:58] frigate.app                    INFO    : Capture process started for Driveway_Camera: 293
2023-01-29 14:15:01.485800367  [2023-01-29 14:15:01] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2023-01-29 14:15:12.399107391  [2023-01-29 14:15:12] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36438]
2023-01-29 14:15:54.855932348  [2023-01-29 14:15:54] frigate.video                  ERROR   : Front_Doorbell: Unable to read frames from ffmpeg process.
2023-01-29 14:15:54.859438580  [2023-01-29 14:15:54] frigate.video                  ERROR   : Front_Doorbell: ffmpeg process is not running. exiting capture thread...
2023-01-29 14:15:58.946997461  [2023-01-29 14:15:58] watchdog.Front_Doorbell        ERROR   : Ffmpeg process crashed unexpectedly for Front_Doorbell.
2023-01-29 14:15:58.947481375  [2023-01-29 14:15:58] watchdog.Front_Doorbell        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-01-29 14:15:58.948008937  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 2952 expected=d309
2023-01-29 14:15:58.948613367  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 9721 expected=d309
2023-01-29 14:15:58.949088375  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq f594 expected=d309
2023-01-29 14:15:58.949496643  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 6ed8 expected=f619
2023-01-29 14:15:58.949888448  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 720d expected=f619
2023-01-29 14:15:58.950271106  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 3ca9 expected=7212
2023-01-29 14:15:58.950674393  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 9a8e expected=7212
2023-01-29 14:15:58.951036829  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 915c expected=9b19
2023-01-29 14:15:58.951383432  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq a851 expected=9161
2023-01-29 14:15:58.951723368  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 74a6 expected=a8d6
2023-01-29 14:15:58.952061971  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 4a8a expected=74aa
2023-01-29 14:15:58.952422722  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 0734 expected=74aa
2023-01-29 14:15:58.952762122  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 753d expected=0737
2023-01-29 14:15:58.953089299  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 4a32 expected=7541
2023-01-29 14:15:58.953438402  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 60ae expected=7541
2023-01-29 14:15:58.953772746  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq 5786 expected=60b2
2023-01-29 14:15:58.954108553  [2023-01-29 14:15:58] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x556fe3c0c0] RTP: PT=60: bad cseq eabf expected=5788
2023-01-29 14:16:02.955158707  [2023-01-29 14:16:02] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2023-01/03/08/Back_Door_Camera/43.53.mp4
2023-01-29 14:16:04.378256375  [2023-01-29 14:16:04] frigate.video                  ERROR   : Front_Doorbell: Unable to read frames from ffmpeg process.
2023-01-29 14:16:04.380318197  [2023-01-29 14:16:04] frigate.video                  ERROR   : Front_Doorbell: ffmpeg process is not running. exiting capture thread...
2023-01-29 14:16:08.986413716  [2023-01-29 14:16:08] watchdog.Front_Doorbell        ERROR   : Ffmpeg process crashed unexpectedly for Front_Doorbell.
2023-01-29 14:16:08.987136421  [2023-01-29 14:16:08] watchdog.Front_Doorbell        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-01-29 14:16:08.987666335  [2023-01-29 14:16:08] ffmpeg.Front_Doorbell.detect   ERROR   : rtsp://127.0.0.1:8554/Front_Doorbell_sub?video=copy: Invalid data found when processing input

FFprobe output from your camera

Front door main stream
xanthan :: ~ » ffprobe rtsp://192.168.2.156:7447/VNFKyK9UfKHcwVCy
ffprobe version n5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  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.2.156:7447/VNFKyK9UfKHcwVCy':
  Metadata:
    title           : 74ACB99FB9F3_0
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: aac (LC), 48000 Hz, mono, fltp
  Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
  Stream #0:2: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1600x1200 [SAR 1:1 DAR 4:3], 30 fps, 30 tbr, 90k tbn

Front door sub stream detect
xanthan :: ~ » ffprobe rtsp://192.168.2.156:7447/7SbNyw9td7PnilmT
ffprobe version n5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  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
[rtsp @ 0x5608a6479d40] max delay reached. need to consume packet
[rtsp @ 0x5608a6479d40] RTP: missed 38 packets
Input #0, rtsp, from 'rtsp://192.168.2.156:7447/7SbNyw9td7PnilmT':
  Metadata:
    title           : 74ACB99FB9F3_1
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: aac (LC), 48000 Hz, mono, fltp
  Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
  Stream #0:2: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 960x720 [SAR 1:1 DAR 4:3], 4 fps, 30 tbr, 90k tbn

back door main
xanthan :: ~ » ffprobe rtsp://192.168.2.156:7447/7xoFNOENJZmX0prb
ffprobe version n5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  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
[rtsp @ 0x563b64916d40] max delay reached. need to consume packet
[rtsp @ 0x563b64916d40] RTP: missed 77 packets
[h264 @ 0x563b649210c0] error while decoding MB 1 36, bytestream -28
[h264 @ 0x563b649210c0] concealing 3888 DC, 3888 AC, 3888 MV errors in I frame
Input #0, rtsp, from 'rtsp://192.168.2.156:7447/7xoFNOENJZmX0prb':
  Metadata:
    title           : 68D79A8FF3C5_0
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp
  Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
  Stream #0:2: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080, 30 fps, 30 tbr, 90k tbn

back door sub
xanthan :: ~ » ffprobe rtsp://192.168.2.156:7447/zpTuJfHSijLnHUeW
ffprobe version n5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  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.2.156:7447/zpTuJfHSijLnHUeW':
  Metadata:
    title           : 68D79A8FF3C5_1
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp
  Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
  Stream #0:2: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1024x576, 2 fps, 30 tbr, 90k tbn
xanthan :: ~ »

Frigate stats

No response

Operating system

Pi OS 64-bit

Install method

docker compose

Coral version

USB

Network connection

Wired

Camera make and model

Ubiquiti G4 Doorbell cam, Ubiquiti G3 instant

Any other information that may be helpful

No response

flan7 avatar Jan 29 '23 19:01 flan7

I think this may be fixed in the next beta with go2rtc 1.0.1

NickM-27 avatar Jan 29 '23 19:01 NickM-27

After updating to beta6, the streams seem to continue and are viewable in home assistant + picking up events, but the frigate logs have ffmpeg crashing with the same error, this time seeming to restart.

2023-02-01 16:52:34.807136227  [2023-02-01 16:52:34] ffmpeg.Front_Doorbell.record   ERROR   : [rtsp @ 0x55984cc120] RTP: PT=60: bad cseq 2836 expected=2b84
2023-02-01 16:52:35.149114450  [2023-02-01 16:52:34] ffmpeg.Front_Doorbell.record   ERROR   : [rtsp @ 0x55984cc120] RTP: PT=60: bad cseq 97ae expected=2b84
2023-02-01 16:52:35.153795581  [2023-02-01 16:52:34] ffmpeg.Front_Doorbell.record   ERROR   : [rtsp @ 0x55984cc120] RTP: PT=61: bad cseq 5e3a expected=e5a3
2023-02-01 16:52:36.495579772  [2023-02-01 16:52:34] ffmpeg.Front_Doorbell.record   ERROR   : [NULL @ 0x55984cefb0] missing picture in access unit with size 42
2023-02-01 16:52:36.496575138  [2023-02-01 16:52:34] watchdog.Front_Doorbell        INFO    : Terminating the existing ffmpeg process...
2023-02-01 16:52:36.496945092  [2023-02-01 16:52:34] watchdog.Front_Doorbell        INFO    : Waiting for ffmpeg to exit gracefully...
2023-02-01 16:52:45.069510051  [2023-02-01 16:52:45] watchdog.Back_Door_Camera      INFO    : Back_Door_Camera exceeded fps limit. Exiting ffmpeg...
2023-02-01 16:52:45.070138518  [2023-02-01 16:52:45] watchdog.Back_Door_Camera      INFO    : Waiting for ffmpeg to exit gracefully...
2023-02-01 16:52:45.170018115  [2023-02-01 16:52:45] watchdog.Front_Doorbell        INFO    : Front_Doorbell exceeded fps limit. Exiting ffmpeg...
2023-02-01 16:52:45.170510585  [2023-02-01 16:52:45] watchdog.Front_Doorbell        INFO    : Waiting for ffmpeg to exit gracefully...
2023-02-01 16:52:45.521009645  [2023-02-01 16:52:45] frigate.video                  ERROR   : Front_Doorbell: Unable to read frames from ffmpeg process.
2023-02-01 16:52:45.521032218  [2023-02-01 16:52:45] frigate.video                  ERROR   : Front_Doorbell: ffmpeg process is not running. exiting capture thread...
2023-02-01 16:52:45.521505337  [2023-02-01 16:52:45] frigate.video                  ERROR   : Back_Door_Camera: Unable to read frames from ffmpeg process.
2023-02-01 16:52:45.534531531  [2023-02-01 16:52:45] frigate.video                  ERROR   : Back_Door_Camera: ffmpeg process is not running. exiting capture thread...
2023-02-01 16:52:55.529273050  [2023-02-01 16:52:55] watchdog.Front_Doorbell        ERROR   : Ffmpeg process crashed unexpectedly for Front_Doorbell.
2023-02-01 16:52:55.530636962  [2023-02-01 16:52:55] watchdog.Front_Doorbell        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-01 16:52:55.531248596  [2023-02-01 16:52:55] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x55a9e320d0] RTP: PT=60: bad cseq 8531 expected=a637
2023-02-01 16:52:55.533509932  [2023-02-01 16:52:55] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x55a9e320d0] RTP: PT=60: bad cseq d657 expected=85b9
2023-02-01 16:52:55.536340958  [2023-02-01 16:52:55] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x55a9e320d0] RTP: PT=60: bad cseq 9153 expected=dcaa
2023-02-01 16:52:55.536357180  [2023-02-01 16:52:55] ffmpeg.Front_Doorbell.detect   ERROR   : [rtsp @ 0x55a9e320d0] RTP: PT=60: bad cseq 2fc5 expected=9157

flan7 avatar Feb 01 '23 22:02 flan7

In that case you'll probably want to run with ffmpeg directly

go2rtc:
  streams:
    Front_Doorbell:
        - ffmpeg:rtsp://192.168.2.xxx:7447/VNFKyxxxxxxxxxx#video=copy#audio=copy#audio=opus
    Front_Doorbell_sub:
        - rtsp://192.168.2.xxx:7447/7Sbxxxxxxxxxxxx
    Back_Door_Camera:
        - rtsp://192.168.2.xxx:7447/7xoxxxxxxxxxxxx#video=copy#audio=copy#audio=opus
    Back_Door_Camera_sub:
        - rtsp://192.168.2.xxx:7447/zpxxxxxxxxxxxxx

NickM-27 avatar Feb 01 '23 22:02 NickM-27

This seems to have fixed it, no issues over the last couple of hours.

flan7 avatar Feb 02 '23 00:02 flan7

Okay, feel free to create a new issue if something else comes up.

NickM-27 avatar Feb 02 '23 01:02 NickM-27