File tree Expand file tree Collapse file tree 5 files changed +37
-19
lines changed
Expand file tree Collapse file tree 5 files changed +37
-19
lines changed Original file line number Diff line number Diff line change 2323 - name : Setup FFmpeg
2424 uses : AnimMouse/setup-ffmpeg@v1
2525 with :
26- version : master
26+ version : 7.1
2727 - name : Checkout code
2828 uses : actions/checkout@v4
2929 - uses : dtolnay/rust-toolchain@master
Original file line number Diff line number Diff line change 11[package ]
22name = " extract-frames"
3- version = " 0.2.3 "
3+ version = " 0.2.4 "
44edition = " 2024"
55description = " CLI tool for extracting frames from videos"
66authors = [
@@ -17,7 +17,7 @@ anyhow = "1.0.99"
1717clap = { version = " 4.5.46" , features = [" derive" ] }
1818glob = " 0.3.3"
1919ffmpeg-next = { version = " 7.1.0" , features = [" static" , " build" ] }
20- ffmpeg-sys-next = { version = " 8.0 .0" , features = [" static" , " build" ] }
20+ ffmpeg-sys-next = { version = " 7.1 .0" , features = [" static" , " build" ] }
2121image = { version = " 0.25" , features = [" jpeg" ] }
2222log = " 0.4.27"
2323ndarray = " 0.16.1"
Original file line number Diff line number Diff line change @@ -74,18 +74,13 @@ cargo run -- --file input.mp4 --multicore
7474To contribute to this project, you'll need:
7575
76761 . Rust toolchain (nightly version recommended)
77- 2 . ` cargo install action-validator dircat just `
78- 3 . ` carcargo install --git https://github.com/RustedBytes/invoke-llm `
79- 4 . `cargo install --git https://github.com/ytmimi/markdown-fmt markdown-fmt
80- --features="build-binary"`
81- 5 . [ lefthook] ( https://github.com/evilmartians/lefthook ) (for pre-commit hooks)
82- 6 . [ yamlfmt] ( https://github.com/google/yamlfmt ) (for YAML formatting)
77+ 2 . ` just init-macos ` or ` just init-linux `
8378
8479## Building and Testing
8580
86811 . Clone the repository
87- 2 . Run ` cargo build` to compile the application
88- 3 . Run ` cargo test` to execute the test suite
82+ 2 . Run ` just build` to compile the application
83+ 3 . Run ` just test` to execute the test suite
89844 . Run ` cargo run -- --help ` to see command-line options
9085
9186## Known Limitations
Original file line number Diff line number Diff line change 11set dotenv-load := true
22
3- init :
4- cargo install action-validator dircat just
3+ dev-deps :
4+ cargo install cargo-audit action-validator dircat
5+ cargo install --git https:// github.com/ ytmimi/ markdown-fmt markdown-fmt --features=" build-binary"
6+ cargo install --git https:// github.com/ RustedBytes/ invoke-llm
7+
8+ init-macos : dev-deps
59 brew install lefthook
610
11+ init-linux : dev-deps
12+ go install github.com/ evilmartians/ lefthook@latest
13+ go install github.com/ google/ yamlfmt/ cmd/ yamlfmt@latest
14+
15+ check-dev :
16+ lefthook version
17+ action-validator --version
18+ dircat --version
19+ cargo audit --version
20+ yamlfmt --version
21+ markdown-fmt --version
22+ cargo --version
23+ rustc --version
24+ git --version
25+ yasm --version
26+
727check : fmt
828 cargo + nightly clippy -- -W clippy::pedantic
929
10- check_fmt :
30+ check-fmt :
1131 cargo + nightly fmt -- --check
1232
13- yaml_fmt :
33+ yaml-fmt :
1434 yamlfmt lefthook.yml
1535 yamlfmt -dstar .github/ **/ *.{yaml,yml}
1636
17- md_fmt :
37+ md-fmt :
1838 markdown-fmt -m 80 CONTRIBUTING.md
1939 markdown-fmt -m 80 README.md
2040
21- fmt : yaml_fmt md_fmt
41+ fmt : yaml-fmt md-fmt
2242 cargo + nightly fmt
2343
2444test :
@@ -30,8 +50,11 @@ audit:
3050doc :
3151 cargo doc --open
3252
53+ build : check
54+ cargo + stable build
55+
3356release : check
3457 cargo + stable build --release
3558
36- download_test_video :
59+ download-test-video :
3760 wget -O " video.mp4" " https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4"
You can’t perform that action at this time.
0 commit comments