Initial commit: Video analyzer with ffmpeg-next

This commit is contained in:
2026-02-25 17:06:09 +08:00
parent 96af1c7e18
commit 35574fcdb8
7 changed files with 590 additions and 0 deletions

12
Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "video_analyzer"
version = "0.1.0"
edition = "2024"
[dependencies]
# 啟用 "static" feature 進行靜態編譯
# 注意:版本號可能需要根據實際情況調整,目前推薦使用 7.0 或最新版本
ffmpeg-next = { version = "8.0", features = ["static"] }
# [可選] 如果你希望進一步減小體積或指定編譯選項,可以添加 build-dependencies
# 但通常 ffmpeg-next 的 static feature 會自動處理大部分事情