mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-27 14:43:19 -05:00
dad664c244
This is a step toward H.265 recording support (#33) by using Retina for the `VisualSampleEncoding` instead of the prior H.264-specific logic. The only further change to Moonfire itself needed for H.265 is to add `| "h265"` to the check for the right video stream. This also adds support for recording MJPEG, although browser playback almost certainly won't work.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[package]
|
|
name = "moonfire-db"
|
|
version = "0.0.0"
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
|
readme = "../README.md"
|
|
edition = "2021"
|
|
license-file = "../../LICENSE.txt"
|
|
rust-version = "1.79"
|
|
publish = false
|
|
|
|
[features]
|
|
nightly = []
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
base = { package = "moonfire-base", path = "../base" }
|
|
base64 = { workspace = true }
|
|
blake3 = "1.0.0"
|
|
byteorder = "1.0"
|
|
cstr = "0.2.5"
|
|
diff = "0.1.12"
|
|
futures = "0.3"
|
|
h264-reader = { workspace = true }
|
|
hashlink = "0.8.1"
|
|
itertools = { workspace = true }
|
|
libc = "0.2"
|
|
nix = { workspace = true, features = ["dir", "feature", "fs", "mman"] }
|
|
num-rational = { version = "0.4.0", default-features = false, features = ["std"] }
|
|
odds = { version = "0.4.0", features = ["std-vec"] }
|
|
pretty-hex = { workspace = true }
|
|
protobuf = "3.0"
|
|
ring = { workspace = true }
|
|
rusqlite = { workspace = true }
|
|
scrypt = "0.11.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
smallvec = "1.0"
|
|
tempfile = "3.2.0"
|
|
time = "0.1"
|
|
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "sync"] }
|
|
tracing = "0.1.37"
|
|
ulid = "1.0.0"
|
|
url = { version = "2.1.1", features = ["serde"] }
|
|
uuid = { version = "1.1.2", features = ["serde", "std", "v4"] }
|
|
|
|
[build-dependencies]
|
|
protobuf-codegen = "3.0"
|