[package]
edition = "2021"
name = "vtome"
version = "0.3.8"
authors = ["Jonathan Stoff <JonathanLStoff@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Show images and video on a specific monitor — or a specific quadrilateral of one — with royalty-free codecs and no FFmpeg. GPU presentation with perspective-correct corner pinning, optional windowing, and a frame pipeline that stays in YUV until the shader."
readme = "README.md"
keywords = [
"video",
"av1",
"display",
"projection",
"wgpu",
]
categories = [
"multimedia::video",
"multimedia::images",
"rendering",
]
license = "MIT"
repository = "https://github.com/jonathanlstoff/vtome"
[features]
all-decoders = [
"decode-av1",
"decode-platform",
]
atome = [
"dep:atome",
"atome/import",
]
decode-av1 = []
decode-platform = ["dep:windows"]
default = [
"demux",
"image",
]
demux = [
"dep:mp4",
"dep:matroska-demuxer",
]
embed = ["render"]
encode-av1 = ["dep:rav1e"]
encode-platform = ["dep:windows"]
image = ["dep:image"]
import = ["transcode"]
mux = ["demux"]
render = [
"dep:wgpu",
"dep:bytemuck",
"dep:pollster",
"dep:raw-window-handle",
]
split-audio = [
"transcode",
"atome",
"atome/export",
]
tauri = [
"render",
"demux",
"image",
"dep:tauri",
"dep:windows",
"dep:objc2",
"dep:block2",
"dep:objc2-app-kit",
"dep:gtk",
]
transcode = [
"demux",
"mux",
"decode-platform",
"encode-platform",
"encode-av1",
]
window = [
"render",
"dep:winit",
]
[lib]
name = "vtome"
path = "src/lib.rs"
[[example]]
name = "contact_sheet"
path = "examples/contact_sheet.rs"
required-features = [
"render",
"demux",
"decode-platform",
"image",
]
[[example]]
name = "corner_pin"
path = "examples/corner_pin.rs"
[[example]]
name = "engine"
path = "examples/engine.rs"
required-features = [
"window",
"demux",
"image",
"decode-platform",
]
[[example]]
name = "identify"
path = "examples/identify.rs"
[[example]]
name = "play"
path = "examples/play.rs"
required-features = [
"window",
"demux",
"decode-platform",
]
[[example]]
name = "show"
path = "examples/show.rs"
required-features = [
"window",
"image",
]
[[example]]
name = "split_audio"
path = "examples/split_audio.rs"
required-features = ["split-audio"]
[[test]]
name = "e2e_playback"
path = "tests/e2e_playback.rs"
[[test]]
name = "gpu_rendering_e2e"
path = "tests/gpu_rendering_e2e.rs"
[[test]]
name = "import"
path = "tests/import.rs"
[[test]]
name = "integration_playback"
path = "tests/integration_playback.rs"
[[test]]
name = "mp4_timing"
path = "tests/mp4_timing.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
[[test]]
name = "quicktime"
path = "tests/quicktime.rs"
[[test]]
name = "reader"
path = "tests/reader.rs"
[[test]]
name = "test_video_generator"
path = "tests/test_video_generator.rs"
[[test]]
name = "transcode"
path = "tests/transcode.rs"
[[test]]
name = "videotoolbox"
path = "tests/videotoolbox.rs"
[dependencies.atome]
version = "0.8.9"
optional = true
default-features = false
[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
"gif",
"webp",
"bmp",
"tiff",
]
optional = true
default-features = false
[dependencies.matroska-demuxer]
version = "0.8"
optional = true
[dependencies.mp4]
version = "0.14"
optional = true
[dependencies.pollster]
version = "0.4"
optional = true
[dependencies.rav1e]
version = "0.8"
features = ["threading"]
optional = true
default-features = false
[dependencies.raw-window-handle]
version = "0.6"
optional = true
[dependencies.tauri]
version = "2"
features = ["unstable"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.wgpu]
version = "30"
optional = true
[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false
[dev-dependencies.pfac]
version = "0.8.2"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.winit]
version = "0.30"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"block2",
"NSEvent",
"NSGraphics",
"NSResponder",
"NSWindow",
]
optional = true
default-features = false
[target."cfg(windows)".dependencies.windows]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Media_MediaFoundation",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
"Win32_System_Variant",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
optional = true