forked from Github/frigate
Compare commits
5 Commits
v0.9.0-rc5
...
v0.9.0-rc6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ca12806ca | ||
|
|
de811b7018 | ||
|
|
7bf7365f6c | ||
|
|
1daffd92fd | ||
|
|
74986982a0 |
28
.github/workflows/push.yml
vendored
28
.github/workflows/push.yml
vendored
@@ -1,28 +0,0 @@
|
|||||||
name: On push
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- release-0.8.0
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy-docs:
|
|
||||||
name: Deploy docs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./docs
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- uses: actions/setup-node@master
|
|
||||||
with:
|
|
||||||
node-version: 12.x
|
|
||||||
- run: npm install
|
|
||||||
- name: Build docs
|
|
||||||
run: npm run build
|
|
||||||
- name: Deploy documentation
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./docs/build
|
|
||||||
2
Makefile
2
Makefile
@@ -42,7 +42,7 @@ aarch64_ffmpeg:
|
|||||||
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.3.0-aarch64 --file docker/Dockerfile.ffmpeg.aarch64 .
|
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.3.0-aarch64 --file docker/Dockerfile.ffmpeg.aarch64 .
|
||||||
|
|
||||||
aarch64_frigate: version web
|
aarch64_frigate: version web
|
||||||
docker build --no-cache --tag frigate-base --build-arg ARCH=aarch64 --build-arg FFMPEG_VERSION=1.3.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.2 --file docker/Dockerfile.base .
|
docker build --no-cache --tag frigate-base --build-arg ARCH=aarch64 --build-arg FFMPEG_VERSION=1.0.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.2 --file docker/Dockerfile.base .
|
||||||
docker build --no-cache --tag frigate --file docker/Dockerfile.aarch64 .
|
docker build --no-cache --tag frigate --file docker/Dockerfile.aarch64 .
|
||||||
|
|
||||||
aarch64_all: aarch64_wheels aarch64_ffmpeg aarch64_frigate
|
aarch64_all: aarch64_wheels aarch64_ffmpeg aarch64_frigate
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Use of a [Google Coral Accelerator](https://coral.ai/products/) is optional, but
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
View the documentation at https://blakeblackshear.github.io/frigate
|
View the documentation at https://docs.frigate.video
|
||||||
|
|
||||||
## Donations
|
## Donations
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ ffmpeg with NVDEC support is required. The special docker architecture 'amd64nvi
|
|||||||
includes this support for amd64 platforms. An aarch64 for the Jetson, which
|
includes this support for amd64 platforms. An aarch64 for the Jetson, which
|
||||||
also includes NVDEC may be added in the future.
|
also includes NVDEC may be added in the future.
|
||||||
|
|
||||||
|
Some more detailed setup instructions are also available in [this issue](https://github.com/blakeblackshear/frigate/issues/1847#issuecomment-932076731).
|
||||||
|
|
||||||
## Docker setup
|
## Docker setup
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Frigate is a Docker container that can be run on any Docker host including as a
|
|||||||
|
|
||||||
### Operating System
|
### Operating System
|
||||||
|
|
||||||
Frigate runs best with docker installed on bare metal debian-based distributions. For ideal performance, Frigate needs access to underlying hardware for the Coral and GPU devices. Running Frigate in a VM on top of Proxmox, ESXi, Virtualbox, etc. is not recommended. The virtualization layer often introduces a sizable amount of overhead for communication with Coral devices.
|
Frigate runs best with docker installed on bare metal debian-based distributions. For ideal performance, Frigate needs access to underlying hardware for the Coral and GPU devices. Running Frigate in a VM on top of Proxmox, ESXi, Virtualbox, etc. is not recommended. The virtualization layer often introduces a sizable amount of overhead for communication with Coral devices, but [not in all circumstances](https://github.com/blakeblackshear/frigate/discussions/1837).
|
||||||
|
|
||||||
Windows is not officially supported, but some users have had success getting it to run under WSL or Virtualbox. Getting the GPU and/or Coral devices properly passed to Frigate may be difficult or impossible. Search previous discussions or issues for help.
|
Windows is not officially supported, but some users have had success getting it to run under WSL or Virtualbox. Getting the GPU and/or Coral devices properly passed to Frigate may be difficult or impossible. Search previous discussions or issues for help.
|
||||||
|
|
||||||
|
|||||||
@@ -192,12 +192,12 @@ class EventCleanup(threading.Thread):
|
|||||||
for event in duplicate_events:
|
for event in duplicate_events:
|
||||||
logger.debug(f"Removing duplicate: {event.id}")
|
logger.debug(f"Removing duplicate: {event.id}")
|
||||||
media_name = f"{event.camera}-{event.id}"
|
media_name = f"{event.camera}-{event.id}"
|
||||||
if event.has_snapshot:
|
media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}.jpg")
|
||||||
media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}.jpg")
|
media_path.unlink(missing_ok=True)
|
||||||
media_path.unlink(missing_ok=True)
|
media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}-clean.png")
|
||||||
if event.has_clip:
|
media_path.unlink(missing_ok=True)
|
||||||
media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}.mp4")
|
media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}.mp4")
|
||||||
media_path.unlink(missing_ok=True)
|
media_path.unlink(missing_ok=True)
|
||||||
|
|
||||||
(
|
(
|
||||||
Event.delete()
|
Event.delete()
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
duration = float(p.stdout.decode().strip())
|
duration = float(p.stdout.decode().strip())
|
||||||
end_time = start_time + datetime.timedelta(seconds=duration)
|
end_time = start_time + datetime.timedelta(seconds=duration)
|
||||||
else:
|
else:
|
||||||
logger.info(f"bad file: {f}")
|
logger.warning(f"Discarding a corrupt recording segment: {f}")
|
||||||
Path(cache_path).unlink(missing_ok=True)
|
Path(cache_path).unlink(missing_ok=True)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export default function Sidebar() {
|
|||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
) : null}
|
) : null}
|
||||||
<Destination className="self-end" href="https://blakeblackshear.github.io/frigate" text="Documentation" />
|
<Destination className="self-end" href="https://docs.frigate.video" text="Documentation" />
|
||||||
<Destination className="self-end" href="https://github.com/blakeblackshear/frigate" text="GitHub" />
|
<Destination className="self-end" href="https://github.com/blakeblackshear/frigate" text="GitHub" />
|
||||||
</NavigationDrawer>
|
</NavigationDrawer>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user