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]: The media could not be loaded

See original GitHub issue

Describe the problem you are having

Having an issue with just one camera. It looks like a few days ago one of my cameras stopped being able to playback video in the browswer. I am able to download the file and play it though.

The error I am getting is: The media could not be loaded, either because the server or network failed or because the format is not supported.

Version

0.11.1-2EADA21

Frigate config file

mqtt:
  host: 192.168.1.xxx
  user: xxxx
  password: password
  stats_interval: 60
#logger:
  # Optional: default log level (default: shown below)
#  default: debug
  # Optional: module by module log level configuration
 # logs:
 #   frigate.http: debug


record:
  events:
    # Optional: Number of seconds before the event to include (default: shown below)
    pre_capture: 10
    # Optional: Number of seconds after the event to include (default: shown below)
    post_capture: 20
    
cameras:
  backyard_north:
    ffmpeg:
      inputs:
        - path: rtsp://user:Password@192.168.1.x:554/live
          roles:
            - record
            - rtmp
        - path: rtsp://user:Password@192.168.1.x:554/cam/realmonitor?channel=1&subtype=1
          roles:
           - detect     
    detect:
      width: 1280
      height: 720
      fps: 5
    record:
      enabled: true
      retain:
        days: 10
        mode: all
      events:
        retain:
          default: 15
          mode: motion
    snapshots:
      enabled: True
      retain:
        default: 3      
    objects:
      track:
        - person
        - dog
        - cat
      filters:
        person:
          threshold: 0.74
  Backyard_south:
    ffmpeg:
      inputs:
        - path: rtsp://user:Password@192.168.1.x:554/live
          roles:
            - record
            - rtmp
        - path: rtsp://user:Password@192.168.1.x:554/cam/realmonitor?channel=1&subtype=1
          roles:
           - detect     
    detect:
      width: 1280
      height: 720
      fps: 5
      stationary:
        interval: 0
        threshold: 50
    record:
      enabled: true
      retain:
        days: 10
        mode: all
      events:
        retain:
          default: 15
          mode: motion       
    snapshots:
      enabled: True
      retain:
        default: 3      
    objects:
      track:
        - person
        - dog
        - cat
      filters:
        person:
          threshold: 0.74
  Front_doorbell:
    ffmpeg:
      inputs:
        - path: rtsp:user:Password@192.168.1.x:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
          roles:
            - record
            - rtmp
        - path: rtsp:user:Password@192.168.1.x:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
          roles:
           - detect     
    detect:
      width: 1280
      height: 720
      fps: 5
      stationary:
        interval: 0
        threshold: 50
    record:
      enabled: true
      retain:
        days: 10
        mode: all
      events:
        retain:
          default: 15
          mode: motion       
    snapshots:
      enabled: True
      retain:
        default: 3      
    objects:
      track:
        - person
        - dog
        - cat
        - car
        - bicycle
        - motorcycle
        - bird
      filters:
        car:
          mask:
            - 1280,377,1280,511,968,470,970,382
        person:
          threshold: 0.60

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
birdseye:
  enabled: false

Relevant log output

none at this time

FFprobe output from your camera

none at this time

Frigate stats

No response

Operating system

UNRAID

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

amcrest AD410

Any other information that may be helpful

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:16

github_iconTop GitHub Comments

4reactions
NickM-27commented, Nov 17, 2022

We pin pointed how this happens with corrupt recording files and it’s been fixed for 0.12

0reactions
NickM-27commented, Dec 5, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix: The Media Could Not be Loaded, Either Because the ...
Fix: The Media Could Not be Loaded, Either Because the Server or Network Failed or Because the Format is Not Supported.
Read more >
Media could not be loaded: Server or network failed, Format ...
The media could not be loaded, either because the server or network failed or because the format is not supported · Initial checklist...
Read more >
How to Fix The Media Could Not Be Loaded Error
How to fix the media could not be loaded either because the server or network failed or the format is not supported? ·...
Read more >
How To Fix 'The Media Could Not be Loaded' Error In Google ...
Outdated cache and cookies often trigger lots of error messages including 'The media could not be loaded because the format is not supported'....
Read more >
The Media Could Not Be Loaded Error in Chrome [Fix]
The Media Could Not Be Loaded Error in Chrome [Fix] · 1. You should just refresh the webpage. Generally, refreshing the webpage reloads...
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