frigate: [Support]: "The media could not be loaded, either because the server or network failed or because the format is not supported."
Describe the problem you are having
On one specific camera when trying to play back a clip, I get “The media could not be loaded, either because the server or network failed or because the format is not supported.” This is an Amcrest AD410 and I have 2 of them. The other one works just fine, and both are configured identically in my config.yml
. It’s identifying people/vehicles/animals just fine and storing the events, I just can’t play them back. Furthermore if I try to play the 10s clips directly, they all appear to work as well.
Version
0.11.1-2EADA21
Frigate config file
mqtt:
host: 192.168.1.230
user: [USER]
password: [PASSWORD]
logger:
default: info
birdseye:
mode: continuous
enabled: true
record:
expire_interval: 5
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
retain:
default: 7
snapshots:
enabled: true
retain:
default: 7
rtmp:
enabled: false
cameras:
Garage:
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.106:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.106:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
detect:
enabled: true
objects:
track:
- person
- vehicle
- animal
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
snapshots:
enabled: true
timestamp: true
crop: false
#retain:
#default: 6
detect:
width: 720
height: 576
motion:
mask:
- 1280,0,1280,344,837,335,669,338,615,369,352,383,0,411,0,0,751,0
Front_Door:
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.107:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.107:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
detect:
enabled: true
objects:
track:
- person
- vehicle
- animal
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
snapshots:
enabled: true
timestamp: true
crop: false
detect:
width: 720
height: 576
motion:
mask:
- 343,230,343,261,424,264,436,180,353,167
Driveway:
detect:
width: 708
height: 480
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.108:554/live
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- vehicle
- animal
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
required_zones:
- driveway_entrance
- entire_driveway
snapshots:
required_zones:
- driveway_entrance
- entire_driveway
enabled: true
timestamp: true
bounding_box: true
crop: false
motion:
mask:
- 0,0,80,117,534,65,578,0
zones:
driveway_entrance:
coordinates: 87,395,139,476,146,580,0,603,0,285
objects:
- person
- vehicle
- animal
entire_driveway:
coordinates: 614,720,772,720,846,662,1083,143,608,0,293,0,56,0,83,153,0,247,0,616,105,571
objects:
- person
- animal
- vehicle
#rtmp:
#enabled: true
Back_Deck:
detect:
width: 708
height: 480
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.109:554/live
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.109:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
frame_alpha: 0.3 #Hopefully reduce detection of shadows
mask:
- 0,0,0,224,436,100,796,21,1008,89,873,0,766,0
- 568,638,800,686,813,434,833,430,587,432
- 1280,720,1061,720,1088,499,1183,191,1280,247
Side_Yard:
#detect:
#width: 704
#height: 480
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.111:554/live
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.111:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
mask:
- 0,0,744,0,558,266,373,497,133,651,0,667
Front_Yard:
detect:
width: 704
height: 480
ffmpeg:
inputs:
- path: rtsp://[USER]:[PASSWORD]@192.168.1.110:554/live
roles:
- record
#- rtmp
#- detect
- path: rtsp://[USER]:[PASSWORD]@192.168.1.110:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
objects:
track:
- person
- animal
- vehicle
record:
enabled: true
retain:
days: 1
mode: all
events:
#max_seconds: 300
pre_capture: 5
post_capture: 5
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
#retain:
#default: 4
motion:
mask:
- 479,367,439,253,401,175,333,164,432,113,444,0,0,0,0,287,0,411,140,295,172,308,170,419,271,496
- 891,0,782,51,735,124,587,178,484,201,409,123,415,0
model:
labelmap:
1: vehicle
2: vehicle
3: vehicle
5: vehicle
7: vehicle
15: animal
16: animal
17: animal
18: animal
19: animal
20: animal
21: animal
22: animal
23: animal
24: animal
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
hwaccel_args: -c:v h264_qsv
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
Relevant log output
No logs - output comes from the web UI
FFprobe output from your camera
ffprobe version 5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.202)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1.2_6 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
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://[USER]:[PASSWORD]@192.168.1.106:554/cam/realmonitor?channel=1&subtype=0':
Metadata:
title : Media Server
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 2560x1920, 15 fps, 100 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp
ffprobe version 5.1.2 Copyright (c) 2007-2022 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.202)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1.2_6 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
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://[USER]:[PASSWORD]@192.168.1.106:554/cam/realmonitor?channel=1&subtype=1':
Metadata:
title : Media Server
Duration: N/A, start: 0.010000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 720x576, 15 fps, 100 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp
Frigate stats
{
"Back_Deck": {
"camera_fps": 5,
"capture_pid": 237,
"detection_fps": 0,
"pid": 223,
"process_fps": 5,
"skipped_fps": 0
},
"Driveway": {
"camera_fps": 5.1,
"capture_pid": 235,
"detection_fps": 0,
"pid": 220,
"process_fps": 5.1,
"skipped_fps": 0
},
"Front_Door": {
"camera_fps": 5.1,
"capture_pid": 231,
"detection_fps": 0,
"pid": 218,
"process_fps": 5.1,
"skipped_fps": 0
},
"Front_Yard": {
"camera_fps": 5.1,
"capture_pid": 246,
"detection_fps": 0,
"pid": 227,
"process_fps": 5.1,
"skipped_fps": 0
},
"Garage": {
"camera_fps": 5,
"capture_pid": 228,
"detection_fps": 0,
"pid": 217,
"process_fps": 5,
"skipped_fps": 0
},
"Side_Yard": {
"camera_fps": 5.1,
"capture_pid": 239,
"detection_fps": 0,
"pid": 226,
"process_fps": 5.1,
"skipped_fps": 0
},
"detection_fps": 0,
"detectors": {
"coral": {
"detection_start": 0,
"inference_speed": 10.32,
"pid": 212
}
},
"service": {
"latest_version": "0.12.0",
"storage": {
"/dev/shm": {
"free": 261.5,
"mount_type": "tmpfs",
"total": 268.4,
"used": 7
},
"/media/frigate/clips": {
"free": 50675031.1,
"mount_type": "nfs4",
"total": 51014961.6,
"used": 339930.5
},
"/media/frigate/recordings": {
"free": 50675031.1,
"mount_type": "nfs4",
"total": 51014961.6,
"used": 339930.5
},
"/tmp/cache": {
"free": 958.3,
"mount_type": "tmpfs",
"total": 1000,
"used": 41.7
}
},
"temperatures": {},
"uptime": 2382,
"version": "0.11.1-2eada21"
}
}
Operating system
Proxmox
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Amcrest AD410
Any other information that may be helpful
These are doorbells, so they’re wireless. The rest of the network is wired, however.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (5 by maintainers)
Unfortunately this issue is on V0.12 as well…