question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: Failed to view recordings in the Frigate webpage

See original GitHub issue

Describe the problem you are having

Part of the recordings cannot be open in the frontend(Chrome). The page shows error:

image

The media could not be loaded, either because the server or network failed or because the format is not supported.

However I’ve checked that the video files in the media folder are all play-able, i.e., can be opened by VLC. And the clips works fine.

P.S, I’m using the official Docker image, and /media/frigate is mounted from a NFS folder provided by Synology NAS in the same network.

Version

0.9.0

Frigate config file

mqtt:
  host: REDACTED
  user: bot
  password: "REDACTED"

detectors:
  coral:
    type: edgetpu
    device: usb

detect:
  width: 1280
  height: 720
  fps: 5
  enabled: True
  max_disappeared: 25

objects:
  track:
    - person

ffmpeg:
  hwaccel_args:
    - -hwaccel
    - vaapi
    - -hwaccel_device
    - /dev/dri/renderD128
    - -hwaccel_output_format
    - yuv420p

record:
  enabled: True
  retain_days: 7
  events:
    retain:
      default: 14

cameras:
  lvrm:
    ffmpeg:
      inputs:
        - path: rtsp://REDACTED/ch0_0.h264
          roles:
            - detect
            - rtmp
            - clips
    motion:
      mask:
        - 1280,0,1280,720,900,720,900,0
        - 0,288,900,288,900,0,0,0
    snapshots:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: False
      retain:
        default: 14

Relevant log output

Not seeing any errors. Only a bunch of `SELECT` and `Insert`

FFprobe output from your camera

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
[rtsp @ 0x563fb3537b80] CSeq 4 expected, 0 received.
Input #0, rtsp, from 'rtsp://REDACTED/ch0_0.h264':
  Metadata:
    title           : Session streamed by "rtspv4"
    comment         : ch0_0.h264
  Duration: N/A, start: 0.100000, bitrate: N/A
    Stream #0:0: Video: h264, yuvj420p(pc, bt709, progressive), 1280x720, 20 fps, 20 tbr, 90k tbn, 180k tbc

Frigate stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Network connection

Mixed

Camera make and model

Yi Cam 720

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
blakeblackshearcommented, Dec 12, 2021

That specific error will be fixed in the next release

0reactions
stale[bot]commented, Jan 13, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions - Frigate Docs
How can I get sound or audio in my recordings?# ... By default, Frigate removes audio from recordings to reduce the likelihood of...
Read more >
Frigate failing to record events? : r/homeassistant - Reddit
This morning I went in to view an event recording, and got an error that the video doesn't exist. Seems the recordings are...
Read more >
[SUPPORT] blakeblackshear - Frigate - Page 15
I am having an issue where Frigate will not delete any recordings past the time saved in my config (I had it at...
Read more >
Local Security Camera Recording with Frigate NVR - YouTube
Record your IP Security Camera footage locally with Frigate, running as a Home Assistant Add-On or on Docker. Why pay cloud companies a ......
Read more >
Can't connect to Frigate URL - Home Assistant Community
I installed Frigate via the Add-On store, set it up for all 5 cameras I've ... but the link upon clicking “View Snapshot/Recording”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found