Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting

Find your symptom below. If it is not here, search the issues or open one: include rekkefly --version, your system, and if you can, a short clip (rekkefly clip recording.avi clip.avi --duration 5).

Installing and starting

ProblemFix
Mac: “Rekkefly cannot be opened”The app is not notarized. Run xattr -dr com.apple.quarantine "/Applications/Rekkefly.app" once, or use System Settings → Privacy & Security → Open Anyway (details)
Windows: SmartScreen warningThe installer is not code-signed. Choose More info → Run anyway
Windows portable folder: a launcher closes at once (0.6.0)The 0.6.0 portable launchers call rekke.exe. Run rekkefly.exe directly, or edit the .cmd file to say rekkefly.exe. Fixed in 0.6.1; the installer is not affected
Ubuntu: the .deb will not installUse sudo apt install ./rekkefly_<version>_amd64.deb (with ./), so apt fetches the dependencies. Ubuntu 22.04 or newer is needed
“… is already open in another Rekkefly window”Each config can be open in one place at a time. Close the other window, or use --config with another file

Cameras

ProblemFix
The moth plays instead of my cameraNo camera could be opened; the banner says why. Connect the camera and click Retry camera
Mac: black image or no cameraSystem Settings → Privacy & Security → Camera: turn Rekkefly (or your terminal) on
Linux: “Permission denied” for /dev/video0sudo usermod -aG video $USER, then log out and back in
Linux: auto failed, but 0 worked (Rekke 0.5)Fixed in 0.6: metadata-only /dev/video* nodes are skipped and cameras are tried in order. Check the numbers with rekkefly --list-cameras
“Cannot open camera … may be in use”Close the other program or window using that camera, or give this rig another device
The wrong camera opens after re-pluggingUse a stable selector: a /dev/v4l/by-id/... path on Linux, or part of the camera’s name (choosing a camera)
The frame rate is lower than requestedThe camera may not offer that mode at that size, or the exposure is longer than the frame period. Shorten the exposure, or use a smaller size
Two cameras on one USB hub drop outUSB bandwidth. Use separate USB controllers or compressed (MJPEG) camera modes

Tracking

ProblemFix
L − R is noisy or spikyPut the hinges on the wing bases, the inner radius just past the body and the outer radius inside the blur. Keep the sectors off the body, legs and head. Watch the debug traces while you adjust (tuning)
The edge jumps to a legMake sure Ignore legs is ticked (method = "wing_blur"). Increase spike_width_deg for thick legs
The angle sits at the sector’s limitThe stroke goes beyond the sector: widen the span
The angle is reported while the insect is not flyingRaise threshold above the strength of the background noise (see the peak value in Settings)
Angles look inverted or wrong on a bright insectUntick Invert (dark_on_light = false) for a bright insect on a dark background
Angles changed after moving the cameraAngles are relative to the body axis, so only the markers need moving: drag them back onto the insect

Video files

ProblemFix
A video won’t openAVI plays natively. Other formats need FFmpeg on your PATH, or REKKEFLY_FFMPEG=/path/to/ffmpeg
A video plays with the wrong markersA <video>.toml beside the video provides its markers. Use --config to choose others
rekkefly clip says the file existsIt never overwrites. Choose another output name

Outputs

ProblemFix
“Outputs off: Bind output port …”Another program or rig uses that port, for example the old Kinefly bridge. Tracking continues in the window. Choose another port in Settings → Instance / output
My ZMQ subscriber receives nothingSubscribe to everything (b""), connect to the rig computer’s address and port, and allow the port through its firewall. Messages sent before the subscriber connected are not delivered
Unity (NetMQ) receives nothing, while PlotJuggler or Python do (0.6.0)Rekkefly 0.6.0 spoke only ZMTP 3, and older NetMQ releases (3.x and 4.0.0.x, common in Unity projects) speak ZMTP 2.0, so the connection failed silently. Install 0.6.2 or newer, which negotiates like libzmq: the Unity build needs no change
My receiver misses messagesZMQ drops messages for a subscriber more than 1,000 behind, so tracking never waits. Read continuously, in a thread of its own if needed
UDP receiver gets nothingCheck that output.target is the receiver’s address and port, and that the receiver binds that port

Recording

ProblemFix
Recording stopped: “queue is full”The disk cannot keep up. Use format = "mjpeg", a lower resolution or frame rate, or a faster disk
Recordings are too largeUse MJPEG (the default) and lower quality; shrink old raw recordings with rekkefly clip

Still stuck?

Start Rekkefly from a terminal to see every message, and include them in an issue.