Files
personal-wiki/concepts/stop-motion-startup-guide-windows-eagle.md

4.7 KiB

Stop Motion — Startup Guide

A quick reference for running Eagle Animation on Windows, with an Android phone as a wireless shutter release.

1. What we're using

Software Purpose
Eagle Animation Webcam capture, stop-motion editing and video export
AutoHotkey v2 Sends the Enter key to Eagle to capture a frame
Python + Flask Runs the remote shutter web server
Android Chrome Displays the wireless Capture button

The Windows PC and Android phone must be connected to the same local network.

2. Startup sequence

Follow these steps whenever starting a stop-motion session.

Step 1 — Connect the webcam

  • Plug the webcam into the Windows PC.
  • Position the camera and set up the scene.
  • Make sure the camera is securely mounted.

Step 2 — Start Eagle Animation

  1. Open Eagle Animation.
  2. Open an existing project or create a new one.
  3. Select the webcam as the capture source.
  4. Check that the live camera preview is working.
  5. Press Enter to confirm that Eagle captures a frame.

Important: Leave Eagle running throughout the session.

Step 3 — Start the remote shutter server

Open PowerShell and run:

cd C:\StopMotion

$env:AHK_EXE = "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe"

$env:SHUTTER_TOKEN = py -c "import secrets; print(secrets.token_urlsafe(24))"

Write-Host "Shutter token: $env:SHUTTER_TOKEN"

py remote.py

The server should display something similar to:

* Serving Flask app 'remote'
* Running on http://127.0.0.1:5000
* Running on http://192.168.1.100:5000
Press CTRL+C to quit

Leave this PowerShell window open. Closing it will stop the remote shutter server.

The shutter token changes each time you use the commands above.

Step 4 — Connect the Android phone

  1. Connect Android to the same Wi-Fi network as the Windows PC.

  2. Open Chrome.

  3. Navigate to:

    http://192.168.1.100:5000/?token=YOUR_TOKEN

    Replace the IP address with your PC's actual address and YOUR_TOKEN with the token printed in PowerShell.

  4. The Stop Motion Remote page should appear.

  5. Tap CAPTURE to take a frame.

You can bookmark the page, but remember that the token changes when you restart the server using the commands above.

Step 5 — Start animating!

For each frame:

  1. Position your model or object.
  2. Move your hands out of the shot.
  3. Tap CAPTURE on Android.
  4. Confirm that Eagle has captured the frame.
  5. Move the model slightly and repeat.

At 12 frames per second:

Captured frames Animation duration
60 5 seconds
120 10 seconds
240 20 seconds
360 30 seconds

3. Shutting everything down

When you've finished:

  1. Save your Eagle Animation project.
  2. Export your animation if required.
  3. Close the Android browser page.
  4. In PowerShell, press Ctrl+C to stop Flask.
  5. Close Eagle Animation.
  6. Disconnect the webcam if necessary.

4. Troubleshooting

Android cannot connect

  • Check both devices are on the same network.
  • Verify the Windows PC's IP address with ipconfig.
  • Check that Flask is still running.
  • Check that Windows Firewall allows the connection on your private network.

Capture button works but Eagle doesn't take a frame

  • Make sure Eagle Animation is running and a project is open.
  • Confirm pressing Enter manually still captures a frame.
  • Check the AutoHotkey executable path.
  • Check that CaptureEagle.ahk is in C:\StopMotion.
  • Make sure the Windows desktop is unlocked.

Flask exits immediately

  • Confirm you're running the correct remote.py.
  • Check that AHK_EXE and SHUTTER_TOKEN are configured.
  • Read any Python error messages in PowerShell.

Webcam isn't working

  • Check the USB connection.
  • Confirm Windows recognises the webcam.
  • Close other applications that might be using the camera.
  • Re-select the camera in Eagle.

5. Project files

Keep the remote-control files together:

C:\StopMotion\
    remote.py
    CaptureEagle.ahk
    EagleTest.ahk       (optional test script)

6. Quick-start checklist

  • Webcam connected
  • Eagle Animation running
  • Project loaded and camera preview visible
  • Flask server started in PowerShell
  • Android connected to Wi-Fi
  • Remote shutter webpage open
  • Test capture successful

Ready to animate!


Note: This remote is intended for a trusted home network. Do not expose Flask port 5000 directly to the internet. The remote confirms that the capture command was sent, but does not independently verify that Eagle saved the image.

  • concepts/stop-motion-animation-project — main project overview with Linux/Docker alternatives