Add stop-motion animation project and update links
This commit is contained in:
@@ -4,6 +4,6 @@ A place for rough ideas and future work items that Alister can explore later.
|
||||
|
||||
## Projects
|
||||
|
||||
- [ ] Stop-motion animation project — Linux VM or Docker container for capture software; USB pass-through (webcam or Nikon DSLR); touchscreen mobile phone as remote shutter release so no mouse/keyboard needed during capture
|
||||
- [ ] Stop-motion animation project — see [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation]]; Linux VM/Docker capture, USB camera pass-through, mobile phone shutter release
|
||||
- [ ] Server ↔ desktop swap — power down current stack, detach NVMe, transfer between chassis, boot into new system without data loss (NVMe hot-swap possible on some motherboards; may need reinstallation of OS/lacking drivers)
|
||||
- [ ] Networking infrastructure upgrade — replace switches with 2.5GbE managed switches, add 2.5GbE NICs to desktop, install SFP+ transceivers and run fibre between switches; switches must support link aggregation (LACP) for the Synology; verify the Synology model itself supports link aggregation
|
||||
@@ -0,0 +1,162 @@
|
||||
# Project: Stop-Motion Animation with Linux/Docker + Mobile Shutter Release
|
||||
|
||||
**Status**: Concept / Research Phase
|
||||
**Created**: 2026-10-14
|
||||
**Tags**: [stop-motion, animation, linux, docker, gphoto2, v4l2loopback, mobile-shutter]
|
||||
|
||||
## Project Overview
|
||||
|
||||
Create a stop-motion animation system running in a Linux VM or Docker container with:
|
||||
- USB camera pass-through (webcam or Nikon DSLR)
|
||||
- Mobile phone touchscreen as remote shutter release to avoid mouse/keyboard during capture
|
||||
- Software stack: Linux Stopmotion, Eagle Animation, Entangle, or custom solution
|
||||
- Frame capture and compilation workflow
|
||||
|
||||
## Key Requirements Analysis
|
||||
|
||||
| Requirement | Viability | Notes |
|
||||
|-------------|-----------|-------|
|
||||
| **Linux VM/Docker container** | ✅ High | Multiple Docker images exist for animation software (Eagle Animation, Stopmotion) |
|
||||
| **USB camera pass-through** | ✅ High | Standard Docker `--device` flag or VM USB passthrough works |
|
||||
| **Webcam support** | ✅ High | UVC webcams work with v4l2, gphoto2, uvccapture |
|
||||
| **Nikon DSLR support** | ⚠️ Medium | Requires gphoto2 compatibility; Nikon support varies by model and gphoto2 version |
|
||||
| **Mobile phone as shutter release** | ✅ High | Multiple solutions: HTTP-triggered capture, Bluetooth LE, custom apps, or browser-based triggers |
|
||||
| **Onion skinning (frame overlay)** | ✅ High | Built into Linux Stopmotion, Eagle Animation, and similar tools |
|
||||
| **Frame rate control & export** | ✅ High | Export to video via ffmpeg/avconv |
|
||||
|
||||
## Software Options Evaluated
|
||||
|
||||
### 1. **Linux Stopmotion** (Primary Recommendation)
|
||||
- **URL**: http://linuxstopmotion.org/
|
||||
- **License**: GPL
|
||||
- **Features**: Frame capture, editing, onion skinning, export, DSLR support via gphoto2
|
||||
- **Docker**: Available via community containers or can be containerized
|
||||
- **USB Passthrough**: Works with `--device /dev/video0` for webcams
|
||||
- **DSLR Support**: Experimental but functional via gphoto2 + StubGrabber
|
||||
- **Mobile Trigger**: Can be triggered via HTTP endpoint, file watch, or custom script
|
||||
|
||||
### 2. **Eagle Animation** (Strong Alternative)
|
||||
- **URL**: https://eagle-animation.com/
|
||||
- **License**: Open source (various licenses)
|
||||
- **Features**: Web-based, desktop apps for Linux/macOS/Windows, webcam/DSLR support
|
||||
- **Docker**: Multiple Docker images available (icrar/eagle, befh/eagle, tombenke/eagle)
|
||||
- **Webcam Support**: Uses Toucan Camera Server (Windows/Linux)
|
||||
- **DSLR Support**: Via Toucan Camera Server on Linux
|
||||
- **Mobile Trigger**: Browser-based; phone can access same URL as remote control
|
||||
|
||||
### 3. **Entangle + avconv/ffmpeg** (Lightweight Scriptable)
|
||||
- **URL**: https://entangle.photo/
|
||||
- **License**: GPL
|
||||
- **Features**: Remote shooting via gphoto2, live view, capture to disk
|
||||
- **Docker**: Can be containerized with gphoto2 dependencies
|
||||
- **Workflow**: Capture via Entangle, compile with ffmpeg/avconv
|
||||
- **Mobile Trigger**: HTTP-triggered capture via custom script or API
|
||||
|
||||
### 4. **Custom Solution: MOTK Shoot + just_stop** (Experimental)
|
||||
- **MOTK Shoot**: https://github.com/OliverTaki/motk-shoot (browser-based, phone-friendly)
|
||||
- **just_stop**: https://github.com/recursivepaws/just-stop (trigger-based capture)
|
||||
- **Workflow**: MOTK Shoot for framing/setup, just_stop for capture via file triggers
|
||||
|
||||
## Mobile Phone as Shutter Release - Implementation Options
|
||||
|
||||
### Option A: HTTP/Web-Based Trigger
|
||||
- Run stop-motion software with local web server
|
||||
- Access control page from phone browser on same network
|
||||
- Tap button to trigger capture (works with Eagle Animation, MOTK Shoot)
|
||||
- **Pros**: No extra software on phone, works across platforms
|
||||
- **Cons**: Requires network connectivity, slight latency
|
||||
|
||||
### Option B: Custom App with Bluetooth/Network
|
||||
- Use apps like **BT Cam** (Android/iOS) or custom HTTP client
|
||||
- Send trigger via HTTP POST, TCP socket, or Bluetooth LE
|
||||
- Can integrate with `just_stop` (.trigger files) or Entangle CLI
|
||||
- **Pros**: Dedicated purpose, potentially lower latency
|
||||
- **Cons**: Requires app installation/configuration
|
||||
|
||||
### Option C: gphoto2 Remote Control (for DSLR)
|
||||
- Some Nikon DSLRs support gphoto2 remote release via USB
|
||||
- Phone apps like **DSLR Controller** (Android) can trigger via USB OTG
|
||||
- **Pros**: Direct camera control, no computer software needed
|
||||
- **Cons**: USB OTG cable required, phone tied to camera
|
||||
|
||||
### Option D: Physical Bluetooth Shutter
|
||||
- Devices like **CamRanger**, **Bluetooth shutter remotes**
|
||||
- Pair with computer, send keystroke (spacebar) or custom HID
|
||||
- Works with any software accepting keyboard input
|
||||
- **Pros**: Hardware solution, reliable
|
||||
- **Cons**: Additional hardware cost
|
||||
|
||||
## Suggested Implementation Stack
|
||||
|
||||
### Core Components
|
||||
1. **Host**: Linux VM or Docker host with USB passthrough configured
|
||||
2. **Capture Software**: Linux Stopmotion (recommended) or Eagle Animation
|
||||
3. **Camera Interface**:
|
||||
- Webcam: Direct v4l2 access
|
||||
- Nikon DSLR: gphoto2 + libgphoto2 (verify model compatibility)
|
||||
4. **Trigger Mechanism**:
|
||||
- Primary: MOTK Shoot (browser-based) on phone + computer
|
||||
- Backup: Custom HTTP endpoint triggering `just_stop.sh` or Entangle CLI
|
||||
5. **Storage**: Persistent volume for frames and project files
|
||||
6. **Export**: ffmpeg/avconv to compile frames to video (MP4/WebM)
|
||||
|
||||
### Docker Example (Linux Stopmotion)
|
||||
```dockerfile
|
||||
FROM ubuntu:22.04
|
||||
RUN apt-get update && apt-get install -y \
|
||||
stopmotion \
|
||||
gphoto2 \
|
||||
ffmpeg \
|
||||
libgphoto2-2-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY ./config /root/.stopmotion/
|
||||
VOLUME ["/stopmotion/projects"]
|
||||
WORKDIR /stopmotion
|
||||
ENTRYPOINT ["stopmotion"]
|
||||
```
|
||||
|
||||
### Usage Flow
|
||||
1. Start Docker container with: `docker run --device /dev/video0 -v ./projects:/stopmotion/projects ...`
|
||||
2. Access stopmotion GUI via VNC/X11 forwarding or direct display
|
||||
3. Configure camera (webcam or DSLR via gphoto2)
|
||||
4. On phone, open MOTK Shoot or custom trigger page
|
||||
5. Frame subject, tap phone to capture → image saved to container
|
||||
6. Use onion skinning to align next frame
|
||||
7. Repeat until sequence complete
|
||||
8. Export to video via built-in export or ffmpeg
|
||||
|
||||
## Viability Assessment
|
||||
|
||||
**Overall Viability**: ✅ **High**
|
||||
- All core requirements have proven, working solutions
|
||||
- Linux stopmotion software ecosystem is mature
|
||||
- USB passthrough and Docker containerization are well-established
|
||||
- Mobile trigger mechanisms exist via multiple pathways
|
||||
- Nikon DSLR support varies by model but gphoto2 covers many recent models
|
||||
|
||||
**Key Risks/Mitigations**:
|
||||
- **DSLR Compatibility**: Verify specific Nikon model works with gphoto2 before purchasing
|
||||
→ Check https://gphoto.org/proj/libgphoto2/support.php
|
||||
- **Performance in Container**: Ensure adequate resources allocated to container
|
||||
→ Test with sample capture sequence first
|
||||
- **Trigger Latency**: Test chosen mobile trigger method for responsiveness
|
||||
→ HTTP/local network triggers typically <200ms latency
|
||||
- **Storage Space**: High-res images consume significant space
|
||||
→ Monitor disk usage, consider intermediate compression if needed
|
||||
|
||||
## Next Steps for Implementation
|
||||
1. [ ] Verify Nikon DSLR model compatibility with gphoto2
|
||||
2. [ ] Test Linux Stopmotion in Docker with webcam pass-through
|
||||
3. [ ] Implement and test mobile trigger (MOTK Shoot or HTTP-based)
|
||||
4. [ ] Create end-to-end test sequence (5-10 frames)
|
||||
5. [ ] Refine workflow and document specific to Alister's hardware
|
||||
|
||||
## Resources & References
|
||||
- Linux Stopmotion: http://linuxstopmotion.org/
|
||||
- Eagle Animation: https://eagle-animation.com/
|
||||
- MOTK Shoot: https://github.com/OliverTaki/motk-shoot
|
||||
- just_stop: https://github.com/recursivepaws/just-stop
|
||||
- Entangle: https://entangle.photo/
|
||||
- gphoto2 compatibility: http://www.gphoto.org/proj/libgphoto2/support.php
|
||||
- Docker camera passthrough: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
|
||||
- Stopmotion DSLR configuration: http://linuxstopmotion.g-raffa.eu/configuration.html#dslr
|
||||
@@ -35,6 +35,8 @@
|
||||
- [[concepts/kindle-repair-code-2-and-jailbreak-recovery|Kindle Repair Code 2 and Jailbreak Recovery]] — PW5 boot-failure triage, safe recovery order, warranty context, and explicit warning that the older serial guide is unverified for PW5
|
||||
- [[moving-domain-email-away-from-google-workspace|Moving Domain Email Away from Google Workspace]] — full migration guide: choosing a host, steps, MX records, canceling Workspace
|
||||
- [[mx-records|MX Records]] — DNS records that direct email delivery; key to switching providers
|
||||
- [[concepts/future-projects|Future Projects — Rough Ideas]] — rough future work items including stop-motion animation, server/desktop swap, and networking infrastructure upgrade
|
||||
- [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation with Linux/Docker]] — stop-motion capture via VM/Docker, USB camera pass-through, mobile phone as remote shutter, onion skinning, ffmpeg export
|
||||
- [[concepts/kodak-p210r-reverse-engineering-project|Project: Kodak P210R Reverse Engineering]] — potential project to reconstruct the Bluetooth RFCOMM protocol, image format, and computer-side print bridge
|
||||
- [[soul-md-introduction|SOUL.md — Introduction, Placement, and Three Approaches]] — agent identity file placement / method / 3 approaches (official + community + persona); raw sources ingested 2026-09-25
|
||||
- [[stationery|Stationery]] — notebooks, pens, ink, paper, planners (UK market; picks from Danbury & Lovejoy Jun 2026)
|
||||
|
||||
Reference in New Issue
Block a user