programmatic video rendering framework that is actually fast
[package]
name = "anamorphic-video"
version = "1.4.2"
edition = "2024"
publish = false
[dependencies]
fframes = { workspace = true, features = ["compile-time-svgtree", "cli"] }
# `--renderer cpu|skia-cpu|gpu`: Skia on Metal on macOS, on Vulkan everywhere else
[target.'cfg(target_os = "macos")'.dependencies]
fframes_skia_renderer = { workspace = true, features = ["metal", "cli"] }
fframes_native_player = { workspace = true, features = ["metal", "audio"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
fframes_skia_renderer = { workspace = true, features = ["vulkan", "cli"] }
fframes_native_player = { workspace = true, features = ["vulkan", "audio"] }
# FFmpeg codecs, portable so cached source builds work across CI runner CPUs. Windows
# links a prebuilt FFmpeg instead (see README).
[target.'cfg(not(windows))'.dependencies]
fframes = { workspace = true, features = ["h264", "libav-agree-gpl", "build-portable"] }
[lib]
name = "anamorphic_video"
path = "src/lib.rs"
doctest = false
[[bin]]
name = "anamorphic-video"
path = "src/main.rs"
[lints]
workspace = true