1
0

Initial implementation of video_probe (Rust)

Core modules:
- probe.rs: ffprobe execution logic
- parser.rs: JSON parsing logic
- output.rs: Output formatting
- lib.rs: Library interface
- main.rs: CLI entry point

Features:
- Extract video metadata using ffprobe
- Parse video/audio/subtitle streams
- Save to JSON file
- Console summary output

Documentation:
- Added QUICKSTART.md
- Added ENVIRONMENT_SETUP_REPORT.md
This commit is contained in:
accusys
2026-03-07 10:10:19 +08:00
commit f3e2d2dca7
464 changed files with 125611 additions and 0 deletions

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
8e71c7569b98491b

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"perf-literal\", \"std\"]","declared_features":"[\"default\", \"logging\", \"perf-literal\", \"std\"]","target":7534583537114156500,"profile":5347358027863023418,"path":2498799609881310857,"deps":[[1363051979936526615,"memchr",false,11668526183767300727]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/aho-corasick-17d6f8c350ba568a/dep-lib-aho_corasick","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
6c91a8de67eb034d

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"auto\", \"wincon\"]","declared_features":"[\"auto\", \"default\", \"test\", \"wincon\"]","target":11278316191512382530,"profile":11459093354283867776,"path":1368805165058083929,"deps":[[384403243491392785,"colorchoice",false,8485903486713973891],[5652275617566266604,"anstyle_query",false,8874033107635935327],[7483871650937086505,"anstyle",false,10853699269117606076],[7727459912076845739,"is_terminal_polyfill",false,12638843975273980479],[11410867133969439143,"anstyle_parse",false,3908141501184340663],[17716308468579268865,"utf8parse",false,6151700546281254876]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anstream-fa1b6d08571cac65/dep-lib-anstream","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
bcf8abdafa15a096

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"std\"]","declared_features":"[\"default\", \"std\"]","target":6165884447290141869,"profile":11459093354283867776,"path":2663314323454016568,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anstyle-642be3805a2f462e/dep-lib-anstyle","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
b7f20d36fd813c36

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"utf8\"]","declared_features":"[\"core\", \"default\", \"utf8\"]","target":10225663410500332907,"profile":11459093354283867776,"path":14980379806015639209,"deps":[[17716308468579268865,"utf8parse",false,6151700546281254876]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anstyle-parse-584c63468a348cbd/dep-lib-anstyle_parse","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
5f18b24118e6267b

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":10705714425685373190,"profile":14848920055892446256,"path":4316627989718112974,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anstyle-query-3a5ace2dbec2ae9f/dep-lib-anstyle_query","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
edc67d7f466199ec

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"std\"]","declared_features":"[\"backtrace\", \"default\", \"std\"]","target":5408242616063297496,"profile":3033921117576893,"path":15975461479635710502,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anyhow-24ec003b790501cc/dep-build-script-build-script-build","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
bc6796b89332f94d

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[12478428894219133322,"build_script_build",false,17048764819802277613]],"local":[{"RerunIfChanged":{"output":"debug/build/anyhow-40fe6c014f4e8bb6/output","paths":["src/nightly.rs"]}},{"RerunIfEnvChanged":{"var":"RUSTC_BOOTSTRAP","val":null}}],"rustflags":[],"config":0,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
acdf419166c7c9f4

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"std\"]","declared_features":"[\"backtrace\", \"default\", \"std\"]","target":1563897884725121975,"profile":5347358027863023418,"path":8136069237744135612,"deps":[[12478428894219133322,"build_script_build",false,5618577620159850428]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anyhow-d838341a95e3a987/dep-lib-anyhow","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
1477b7ed36cbf522

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":6962977057026645649,"profile":3033921117576893,"path":10045383212328745351,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/autocfg-e2e21eab783460c2/dep-lib-autocfg","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
e0f37a934c6ae2c6

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"parallel\"]","declared_features":"[\"jobserver\", \"parallel\"]","target":11042037588551934598,"profile":9003321226815314314,"path":18097570189799899825,"deps":[[8410525223747752176,"shlex",false,18384121358634351639],[9159843920629750842,"find_msvc_tools",false,5384539691240515643],[16589527331085190088,"jobserver",false,2985090725956483019],[18365559012052052344,"libc",false,5527024759771327147]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cc-66ba4be51f3495ca/dep-lib-cc","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
8ff3670aa6e86cdd

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\"]","declared_features":"[\"clang_10_0\", \"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\", \"runtime\", \"static\"]","target":8779449004212644848,"profile":3033921117576893,"path":708349339432367663,"deps":[[4885725550624711673,"clang_sys",false,1310021895450928419],[18365559012052052344,"libc",false,5527024759771327147]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/clang-33dfdc11c840ffcd/dep-lib-clang","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[4885725550624711673,"build_script_build",false,62909233378676105]],"local":[{"Precalculated":"1.8.1"}],"rustflags":[],"config":0,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
2325561ef9212e12

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\"]","declared_features":"[\"clang_10_0\", \"clang_11_0\", \"clang_12_0\", \"clang_13_0\", \"clang_14_0\", \"clang_15_0\", \"clang_16_0\", \"clang_17_0\", \"clang_18_0\", \"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\", \"libcpp\", \"libloading\", \"runtime\", \"static\"]","target":15367217217788174729,"profile":3033921117576893,"path":8124380761469206018,"deps":[[4885725550624711673,"build_script_build",false,9784676118221322583],[9293239362693504808,"glob",false,16531671118029103651],[18365559012052052344,"libc",false,5527024759771327147]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/clang-sys-7f5363e9a6ca20ab/dep-lib-clang_sys","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
89cda04c9d7fdf00

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\"]","declared_features":"[\"clang_10_0\", \"clang_11_0\", \"clang_12_0\", \"clang_13_0\", \"clang_14_0\", \"clang_15_0\", \"clang_16_0\", \"clang_17_0\", \"clang_18_0\", \"clang_3_5\", \"clang_3_6\", \"clang_3_7\", \"clang_3_8\", \"clang_3_9\", \"clang_4_0\", \"clang_5_0\", \"clang_6_0\", \"clang_7_0\", \"clang_8_0\", \"clang_9_0\", \"libcpp\", \"libloading\", \"runtime\", \"static\"]","target":5408242616063297496,"profile":3033921117576893,"path":9915630599406339200,"deps":[[9293239362693504808,"glob",false,16531671118029103651]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/clang-sys-97c996220bfdd113/dep-build-script-build-script-build","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
83ccd5cb42fcc375

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":11187303652147478063,"profile":11459093354283867776,"path":12231806059346157559,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/colorchoice-78c9fb1a968ce52d/dep-lib-colorchoice","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
74b79b05b0f2005b

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":2507403751003635712,"profile":3033921117576893,"path":10911525546987434454,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/dunce-d2e2100b066b89fe/dep-lib-dunce","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
a8b65a4ec25523df

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"regex\"]","declared_features":"[\"default\", \"regex\"]","target":12678044772393128127,"profile":8255941854203129366,"path":859544684865190908,"deps":[[10630857666389190470,"log",false,16668812559325342810],[17109794424245468765,"regex",false,2554702744881499594]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/env_filter-367b690193323fe7/dep-lib-env_filter","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
d55ce80560d65d09

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"auto-color\", \"color\", \"default\", \"humantime\", \"regex\"]","declared_features":"[\"auto-color\", \"color\", \"default\", \"humantime\", \"kv\", \"regex\", \"unstable-kv\"]","target":8437500984922885737,"profile":8255941854203129366,"path":14359432917595565105,"deps":[[815705504764238973,"anstream",false,5549537997200331116],[6553521288534196920,"env_filter",false,16078789387669386920],[7483871650937086505,"anstyle",false,10853699269117606076],[8417673557997437685,"jiff",false,82178673090303871],[10630857666389190470,"log",false,16668812559325342810]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/env_logger-06af3b768e89c58e/dep-lib-env_logger","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
3be8611752bab94a

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":10620166500288925791,"profile":9003321226815314314,"path":8785329316158535788,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/find-msvc-tools-b3057854709d2ab0/dep-lib-find_msvc_tools","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
23a2b5154b4b6ce5

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":205079002303639128,"profile":3033921117576893,"path":17413444781902220041,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/glob-5b5400670514c222/dep-lib-glob","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\"]","declared_features":"[\"default\"]","target":15126035666798347422,"profile":13002376533287092900,"path":5623427845846318751,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/is_terminal_polyfill-a61a9abe8d457afc/dep-lib-is_terminal_polyfill","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
7f17a95911f52301

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"alloc\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"js\", \"logging\", \"perf-inline\", \"serde\", \"static\", \"static-tz\", \"std\", \"tz-fat\", \"tz-system\", \"tzdb-bundle-always\", \"tzdb-bundle-platform\", \"tzdb-concatenated\", \"tzdb-zoneinfo\"]","target":16423556379535070258,"profile":13473710487945868453,"path":12056268118569584301,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/jiff-2c3c355319e5a52b/dep-lib-jiff","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
cbf7f216332c6d29

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[]","declared_features":"[]","target":15857469692476194146,"profile":3033921117576893,"path":9194755899892008881,"deps":[[18365559012052052344,"libc",false,5527024759771327147]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/jobserver-2a0c1bf4849aee75/dep-lib-jobserver","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
3e5d1fdb7c9e4b41

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"std\"]","declared_features":"[\"align\", \"const-extern-fn\", \"default\", \"extra_traits\", \"rustc-dep-of-std\", \"rustc-std-workspace-core\", \"std\", \"use_std\"]","target":5408242616063297496,"profile":3039969951022573740,"path":15303502731462012875,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-d9e23ff9305bfd93/dep-build-script-build-script-build","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1 @@
ab6af54ebcefb34c

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"[\"default\", \"std\"]","declared_features":"[\"align\", \"const-extern-fn\", \"default\", \"extra_traits\", \"rustc-dep-of-std\", \"rustc-std-workspace-core\", \"std\", \"use_std\"]","target":17682796336736096309,"profile":13030054270579460295,"path":13269744134489481274,"deps":[[18365559012052052344,"build_script_build",false,4742386717011966659]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-e1313dc3777569f2/dep-lib-libc","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View File

@@ -0,0 +1 @@
c37a07c79757d041

View File

@@ -0,0 +1 @@
{"rustc":18415816196306954164,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[18365559012052052344,"build_script_build",false,4705028494808014142]],"local":[{"RerunIfChanged":{"output":"debug/build/libc-fcd50b7bda3a60e8/output","paths":["build.rs"]}},{"RerunIfEnvChanged":{"var":"RUST_LIBC_UNSTABLE_FREEBSD_VERSION","val":null}},{"RerunIfEnvChanged":{"var":"RUST_LIBC_UNSTABLE_MUSL_V1_2_3","val":null}},{"RerunIfEnvChanged":{"var":"RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64","val":null}},{"RerunIfEnvChanged":{"var":"RUST_LIBC_UNSTABLE_GNU_FILE_OFFSET_BITS","val":null}},{"RerunIfEnvChanged":{"var":"RUST_LIBC_UNSTABLE_GNU_TIME_BITS","val":null}}],"rustflags":[],"config":0,"compile_kind":0}

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

Some files were not shown because too many files have changed in this diff Show More