Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WV6BzHQiJEvvK9EPc1d4ks
40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
# The motion-field half of flow-warp playback, as ONE implementation shared
|
|
# by everything that produces an `mkfl` clip: the asset-ai `video-enhance`
|
|
# backend (whose field comes from RIFE) and the VJ's import converter (whose
|
|
# field comes from the classical estimator in this crate — no AI model, no
|
|
# weights, no download).
|
|
|
|
[package]
|
|
name = "makepad-video-flow"
|
|
version = "0.1.0"
|
|
authors = ["Makepad <info@makepad.nl>"]
|
|
edition = "2021"
|
|
description = "mkfl motion-vector payload + a classical optical-flow estimator + the all-intra flow re-encode, shared by the enhance backend and the VJ importer"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[features]
|
|
# The conversion pipeline (decode -> flow -> all-intra re-encode -> mkfl).
|
|
# Off leaves a std-only crate: the payload format and the estimator, which
|
|
# is all the enhance backend needs from here.
|
|
default = ["convert"]
|
|
convert = ["dep:makepad-video", "dep:makepad-platform"]
|
|
|
|
[dependencies]
|
|
makepad-video = { package = "makepad-platform-video", path = "../../platform/video", optional = true }
|
|
makepad-platform = { path = "../../platform", optional = true }
|
|
|
|
# The synthetic optical-flow debug clips. It writes mp4s, so it needs the
|
|
# codec seam the `convert` feature pulls in — declared explicitly rather than
|
|
# auto-discovered so `--no-default-features` skips it instead of failing.
|
|
[[bin]]
|
|
name = "flowtest_gen"
|
|
path = "src/bin/flowtest_gen.rs"
|
|
required-features = ["convert"]
|
|
|
|
[[bin]]
|
|
name = "flowbake"
|
|
required-features = ["convert"]
|
|
|
|
[[bin]]
|
|
name = "flowref"
|
|
required-features = ["convert"]
|