Skip to content
bubblini-uxPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

channels

Film-school shot study. Record a clip on the phone, pull frames out of it, and study them side-by-side in a browser gallery (published with GitHub Pages).

Raw video is never committed — .gitignore blocks *.mp4/*.mov. Only the small .webp frames go into git.

Requirements

ffmpeg (with libwebp), python3, bash. On Termux: pkg install ffmpeg python.

Usage

scripts/frames.sh                      # newest clip in /sdcard/DCIM/Camera, 1 frame / 2s
scripts/frames.sh path/to/clip.mp4 5   # specific clip, 1 frame / 5s
SERVE=1 scripts/frames.sh              # extract, then serve at http://localhost:8000
scripts/frames.sh --serve              # only serve the gallery

Clip folder can be changed with CAMERA=/other/path, port with PORT=9000.

Layout

docs/index.html        generated gallery (GitHub Pages serves /docs)
docs/frames/<clip>/    extracted .webp frames
scripts/frames.sh      extract + rebuild + serve

Publishing

Settings → Pages → Source: main branch, /docs folder.

Workflow (branch protection is on)

main is protected: no direct pushes, no force-push, and the CI / lint check must pass.

git switch -c my-change          # 1. branch
# ...edit...
git add -A && git commit -m "Explain what and why"
git push -u origin my-change     # 2. push the branch
gh pr create --fill              # 3. open a pull request
gh pr checks --watch             # 4. wait for CI
gh pr merge --squash --delete-branch   # 5. merge
git switch main && git pull

Codespace

On GitHub: Code → Codespaces → Create codespace on main. ffmpeg and shellcheck install automatically; run scripts/frames.sh --serve and the gallery opens on port 8000. (Raw clips aren't in the repo, so upload one into the codespace to extract frames.)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages