Skip to content

Commit 4babada

Browse files
committed
ci: add dry-run and real encode tests for 10 new commands
Tests rotate, fade, reverse, volume, fps, snapshot, split, overlay, convert, and loop in both dry-run and real encode modes. https://claude.ai/code/session_01BPZRs1uut8bAVcEQsjWjsw
1 parent fd29a73 commit 4babada

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ jobs:
4545
node bin/ffmpeg-quick.js trim test.mp4 -s 0 -d 5 --dry-run
4646
node bin/ffmpeg-quick.js resize test.mp4 -w 1280 --dry-run
4747
node bin/ffmpeg-quick.js crop test.mp4 640x480 --dry-run
48+
node bin/ffmpeg-quick.js rotate test.mp4 90 --dry-run
49+
node bin/ffmpeg-quick.js fade test.mp4 --in 1 --out 1 --duration 10 --dry-run
50+
node bin/ffmpeg-quick.js reverse test.mp4 --dry-run
51+
node bin/ffmpeg-quick.js volume test.mp4 2.0 --dry-run
52+
node bin/ffmpeg-quick.js fps test.mp4 30 --dry-run
53+
node bin/ffmpeg-quick.js snapshot test.mp4 --interval 1 --dry-run
54+
node bin/ffmpeg-quick.js split test.mp4 10 --dry-run
55+
node bin/ffmpeg-quick.js overlay test.mp4 test.mp4 --dry-run
56+
node bin/ffmpeg-quick.js convert test.mp4 mov --dry-run
57+
node bin/ffmpeg-quick.js loop test.mp4 3 --dry-run
4858
4959
- name: Test real encode (compress a generated video)
5060
run: |
@@ -55,3 +65,12 @@ jobs:
5565
node bin/ffmpeg-quick.js crop test-input.mp4 160x120 -y
5666
node bin/ffmpeg-quick.js gif test-input.mp4 -y
5767
node bin/ffmpeg-quick.js info test-input.mp4
68+
node bin/ffmpeg-quick.js rotate test-input.mp4 90 -y
69+
node bin/ffmpeg-quick.js reverse test-input.mp4 -y
70+
node bin/ffmpeg-quick.js fps test-input.mp4 10 -y
71+
node bin/ffmpeg-quick.js volume test-input.mp4 1.5 -y
72+
node bin/ffmpeg-quick.js fade test-input.mp4 --in 0.5 --out 0.5 --duration 2 -y
73+
node bin/ffmpeg-quick.js convert test-input.mp4 mkv -y
74+
node bin/ffmpeg-quick.js loop test-input.mp4 2 -y
75+
node bin/ffmpeg-quick.js snapshot test-input.mp4 --interval 1 -y
76+
node bin/ffmpeg-quick.js split test-input.mp4 1 -y

0 commit comments

Comments
 (0)