Av1an/Cargo.toml
Josh Holmer f52c82f15c
Use a different method for ffmpeg frame count (#368)
* Use a different method for ffmpeg frame count

This method uses ffprobe to count the number of packets
(which is identical to the number of frames, but faster)
in a video stream. This works with more video formats,
including with --enable-keyframe-filtering=2 in aomenc.
Performance should be similar or better than ffmpeg -copy.

* Add sanity check when using keyframe filtering 2

* Use ffmpeg-next crate for getting frame count

* Add LLVM/Clang to Github Actions

* Enable ffmpeg static and build features by default
2021-10-01 23:48:40 +03:00

37 lines
901 B
TOML

[package]
name = "av1an"
version = "0.1.0"
authors = ["Zen <master_of_zen@protonmail.com>"]
description = """
Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
"""
repository = "https://github.com/master-of-zen/Av1an"
keywords = ["video"]
categories = ["command-line-utilities"]
license = "GPL-3.0"
edition = "2018"
[[bin]]
path = "src/main.rs"
name = "av1an"
[dependencies]
anyhow = "1.0.42"
serde_json = "1.0.64"
serde = { version = "1.0.126", features = ["serde_derive"] }
shlex = "1.0.0"
ctrlc = "3.1.9"
path_abs = "0.5.1"
structopt = "0.3.22"
av1an-cli = { path = "av1an-cli", version = "0.1.1" }
av1an-core = { path = "av1an-core", version = "0.1.0" }
[features]
default = ["ffmpeg_static"]
ffmpeg_static = ["av1an-core/ffmpeg_static"]
[workspace]
members = ["av1an-core", "av1an-cli"]
[profile.dev.package.av-scenechange]
opt-level = 3