Ants Projects Hub
← demoreel

Changelog

demoreel

Every release, newest first — 11 in total.

v1.0.0

1.0.0 — Every documented path tested

Theme: Every documented path tested.

Added

  • edit can zoom a whole frame, place text anywhere, show a click and draw five backgrounds (DEMO-0286) A zoom line works on a clip with no window. A text takes x and y to put its middle at that point. A ring line draws a growing, fading ring where and when the script says the pointer clicked. background takes record, log, grid, paper or felt as well as colours, on a card, a clip's window and card --background. A script using none of these makes the same film as before.
  • A split scene in edit plays several videos side by side, frame for frame (DEMO-0285) Each video is a slice of the frame, with a border between slices and a label on each. A slide line moves the row along, eased, at a time you name. Videos that differ in size, rate or frame count are refused before anything is made.
  • shot --region x,y,w,h keeps one rectangle of the picture (DEMO-0205) A smaller picture is a smaller file, and cheaper for a Claude Code session to read. The blank-picture check still looks at the whole screen, and a failed run writes nothing to -o.
  • motion --region x,y,w,h reports on one rectangle of a video (DEMO-0211) It says when that part of the picture changes and where it stands still, in the same few lines of text, so a session need not look at frames to find out.
  • demoreel sheet puts several frames of a video in one picture (DEMO-0212) Pick the frames with --every or --at. The time each frame appears is written under it, and picks the same frame again in poster or a clip's from. --region shows one rectangle of each frame.
  • demoreel thumbnail makes a YouTube thumbnail from a video (DEMO-0175) It saves one frame at 1280x720, cut to 16:9 rather than padded, and --text draws a title near the bottom. A picture over YouTube's 2 MB limit is refused.
  • click and drag steps can use the right or middle button (DEMO-0207) End the step with right or middle, as in click 400 300 right, to open a right-click menu in a recording. A click given three numbers is now refused with an example; it used to ignore the third.
  • README shows how to check a film quickly with a small, slow draft (DEMO-0346) For clips of 1600x1000, edit film.txt -o draft.mp4 -s 400x250 -r 10. A three-scene film took 2.2 seconds as a draft and 7.1 at full size. Keep the clips' shape in -s, or they are refused.
  • record --gpu --audio is verified (DEMO-0196) The app's sound reaches the video and not the speakers. It is not yet in step: the sound lands 50 to 132 ms after the picture, a delay in wf-recorder (DEMO-0201).

Changed

  • A recording appears at -o only when it is whole (DEMO-0094) While it records, the video is a hidden file beside -o. A failed retake no longer destroys the take before it: that file stays, and the message says where the new video is. A file of yours replaced keeps its permissions.
  • --name takes plain letters, digits, dots, underscores and hyphens (DEMO-0094) Up to 64, starting with a letter, a digit or an underscore. -n ../x used to write outside demoreel's own folder. A name with a space or an accented letter is now refused.
  • -o takes an ordinary file or nothing, and no control characters (DEMO-0094) A line break in the path broke the one line on stdout, and any long film.
  • The finishing commands need fewer options (DEMO-0263) -o is now optional on edit, trim, caption, join, card, poster, thumbnail and sheet: the file lands in the current folder, named after what it was made from and the time. card lasts 3 seconds unless you say, and sheet with neither --every nor --at takes 12 frames spread over the video. edit --help now says where a script's words are listed.

Fixed

  • A Flatpak app's helper programs now end with the run (DEMO-0365) GIMP's Flatpak starts its image loaders apart from itself, and they kept running after every recording, so GIMP looked open when it was not. demoreel now also ends any process still carrying the run's private display or sound settings.

  • A failed shot's folder is removed after a week (DEMO-0295) Each one used to stay in memory for good. The first shot after a week removes it, and never one a running shot holds.

  • A one-frame scene, such as a very short card, no longer stops the film (DEMO-0291) A scene one frame long followed by a clip failed with no reason given. The film now keeps every frame.

  • A film that comes out short says how many frames it made and planned (DEMO-0299) It used to stop with "ffmpeg could not make the film" and an empty line.

  • --app-log >(command) sends the app's output to that command (DEMO-0290) It failed, looking for a file named after the pipe. It works inside a container too.

  • Two clicks at one spot no longer end a run on Ubuntu 24.04 (DEMO-0287) Ubuntu's xdotool never finished moving the pointer to where it already was, and the run stopped as a display that stopped answering.

  • A refused, very long line of text suggests the right smaller size (DEMO-0297) A line wider than demoreel's measuring strip was measured as the strip's width, so the size it suggested was too large.

  • install.sh --uninstall removes what was really installed (DEMO-0294) It also removes a file an older version installed, and the folders the install made, once they are empty.

  • Clearer refusals in edit, and right-to-left line numbers that print (DEMO-0359) A negative x, y or size is named as a percentage, not as seconds. A too-flat windowed clip with placed texts is told the clip is too flat. In Arabic and Hebrew, line numbers no longer print as escape codes. A type step whose text is not UTF-8 now fails, saying why, instead of typing "?".

  • demoreel check's lines are translated whole (DEMO-0296) Each line was built from a translated fragment, which reads wrongly in some languages.

  • Names such as 12:30:05.mp4, -report.mp4 and q%d.png are read as those files (DEMO-0094) The first failed with "Protocol not found", the second reached ffprobe as an option, and the third showed the q1.png beside it.

  • A name that is not UTF-8 no longer gives a Python error (DEMO-0094)

  • A translation that loses a %s no longer breaks a usage error (DEMO-0094) The message falls back to English, as for any other unusable translation.

  • A stream reporting no size, or a clip too narrow for its window, gets a message before anything is made (DEMO-0094)

  • Another user's link anywhere on a path is refused, not just at its end (DEMO-0094) Links are now checked on the way up and along a chain. Your own, and root's such as /var/run, still work.

  • Another user's file or pipe at -o or --app-log is refused (DEMO-0094) They could read the video, or what the app printed. --app-log /dev/null still works.

  • Hidden part files can no longer be planted or shared (DEMO-0094) Their names are now random and made with O_EXCL. Two runs to one -o no longer remove each other's.

  • Two runs in one second no longer share a default name (DEMO-0094) The name is claimed when the file is ready, and takes a number if it has gone. stop prints the name it ended with.

  • A failed shot leaves a picture already at -o alone (DEMO-0094)

  • A % in the name of a picture is just a character (DEMO-0094) shot -o p%d.png wrote p1.png and failed.

  • edit x.mp4 -o x.mp4 no longer writes over its script (DEMO-0094)

  • A file where a folder must go no longer gives a traceback on the finishing commands (DEMO-0094)

  • The checks before a push and on GitHub no longer shrink for a rename, or for an uncommitted edit (DEMO-0094) Moving code to a .md file read as a change to documentation alone. In a clone using .githooks/pre-push, an uncommitted delete or edit of ci.sh could skip or narrow the checks on the commits being pushed. That hook also now scans the pushed commits for secrets where gitleaks is installed.

  • Pressing Tab after demoreel stop no longer runs anything from the folder you are in (DEMO-0094) A file named argparse.py in that folder, or a script called demoreel when you typed ./demoreel, ran as you. So did that script when demoreel was a shell function, or, in zsh, not on your PATH. In bash, so did a command written into a run's name. As root, Tab also left a file behind in /usr/share/demoreel that no package owned.

  • A second SIGTERM while shot is ending no longer leaves a private screen running (DEMO-0094) And check no longer reads a SIGTERM as "the display did not start".

  • A Ctrl+C landing just as a recording checks its picture no longer fails the run (DEMO-0094)

  • shot in a terminal's background no longer stops and fails (DEMO-0094) Its ffmpeg asked to change the terminal's settings and was stopped for it, and the run blamed the display.

  • An -o or --app-log that cannot be written gets a message, not a Python error (DEMO-0094)

  • A --gpu run's recorder log is written as it goes, and whole (DEMO-0094) It reached the file only at the end, and could be lost there, with a Python error, when the run closed the file first.

  • demoreel stop finds a recording from a session without XDG_RUNTIME_DIR, such as cron or plain SSH (DEMO-0094) It looked in /tmp and said nothing was running. Where the variable is unset, demoreel now looks in /run/user/<uid> first.

  • What an app started now ends with the run, even after the app itself has exited (DEMO-0094) A wrapper script's children outlived the run, and their sound could then reach the speakers.

  • A failed --gpu or --audio run no longer touches a part file an earlier killed run left (DEMO-0094) It could overwrite -o from that file and delete it, or say the file could not be finished in place of what really went wrong.

  • A long -d 0 recording no longer grows in memory for as long as it runs (DEMO-0094)

  • A stop can no longer hang a recording for good (DEMO-0094) A stop landing at the wrong instant could freeze the run while it kept recording, and demoreel stop then waited for ever.

  • A long type step no longer fails as "stopped answering" (DEMO-0094) Text over about 1000 characters ran out its time while it was still being typed.

  • An app whose window title is not UTF-8 no longer ends the run in a Python error (DEMO-0094)

  • A scripted step that did nothing now fails the run (DEMO-0094) A mistyped key name such as key Retrun used to leave a video with the key press missing, and report success.

  • wait inf is refused before the recording starts (DEMO-0094) It used to end the run in a Python error partway through. hold is the same, and a negative time is refused too.

  • Every option that takes seconds refuses nan, inf and a negative number trim --from nan and poster -t nan ended in a Python error, and record -d nan never stopped. An edit script already refused them.

  • A private screen that stops answering while it starts is ended, not left running

  • demoreel stop on a run that has just ended no longer gives a Python error

  • A recording whose final copy takes too long fails with a message naming the kept part file It used to end in a Python error.

  • A film whose ffmpeg fails without a word gets a message, not a Python error

  • A recording cut short by its recorder or its private screen now fails (DEMO-0094) A -d 30 run whose recorder stopped early could hand back a 2-second video and report success.

  • An app that cannot start no longer leaves a private screen running (DEMO-0094) A script with no #! line, for one, ended the run in a Python error with the screen left behind. It now gets the usual "could not run" message.

  • An app closing just as a recording ends no longer fails the run (part of DEMO-0282) Its window goes a moment before its process, so a check landing between the two reported a blank recording. demoreel now gives a blank display's app 2 seconds to finish closing.

  • Ctrl+C while shot or check starts its display no longer leaves the display running (DEMO-0352) Ctrl+C was not held off while the display started, so it could stop demoreel before the display was in its care.

  • A recording that cannot be finished at -o says where it is kept (DEMO-0353) When the file beside -o could not be made, the message did not name the file still holding the take. It now does.

  • A placed text with spaces at its ends must fit in the frame (DEMO-0354) The fit check measured the letters and not the spaces, so a text pushed off the edge by its spaces was accepted and drew nothing.

  • A long film no longer needs more memory for every scene (DEMO-0252) edit now draws a film a few scenes at a time, so a 24-scene film of windowed clips at 1600x1000 peaks at about 1.1 GB rather than 4.6 GB, and fits on a smaller machine. The film comes out the same, each frame is still encoded once, and it takes about 15% more CPU time.

  • An app that puts itself in the background, such as Kate on Ubuntu 24.04, is recorded (DEMO-0351) Its first process exits at once and leaves the window to a copy of itself. demoreel used to stop there and blame a copy on your desktop.

  • Chromium and Electron apps such as Brave start under demoreel (DEMO-0283) They chose Wayland from your session and exited when it was not there. demoreel now tells the app its session is X11.

  • Apps built with winit (egui, Bevy, Alacritty) now start under demoreel (DEMO-0281) demoreel gave the app a made-up Wayland display name to keep it off your real desktop. winit took any name as "use Wayland" and quit. The name is now empty, which keeps every toolkit off your desktop and lets winit use the private screen.

  • A Flatpak app records with a plain flatpak run (DEMO-0284) Since the fix above, a Flatpak reaches the private screen with no extra flags. demoreel no longer warns when the three Flatpak flags are missing, because the warning fired on commands that work. The flags stay in README as the thing to try if an app does not appear.

  • Scripted key and type steps now reach winit apps (DEMO-0206) No window on the private screen had the keyboard. GTK and Qt apps took key presses anyway, but a winit app ignored them. demoreel now gives the app's window the keyboard.

  • zsh tab completion no longer leaves music and nosound variables in your shell Pressing Tab after a finishing command such as demoreel trim set those two names in the zsh session itself, over any variable of your own with the same name. They now stay inside the completion.

  • fish offers program names after -- only for record and shot After demoreel trim --, fish offered commands to run, though only record and shot start an app. bash and zsh already behaved this way.

  • demoreel stop finds a recording started a moment before it, on a busy computer (DEMO-0165) A recording asked ffmpeg two slow questions before it could be stopped. A stop sent straight after it could say no recording was running while one was starting. It now asks them afterwards.

  • demoreel check says it could not tell, rather than ready, when ffmpeg is too slow to answer (DEMO-0202, DEMO-0203) On a busy computer, the libx264 and --audio lines used to read ready without knowing. They now say the question took too long. A recording still goes ahead in that case, as before.

  • A trailer of windowed scenes no longer fails on a computer with 8 GB of memory or less (DEMO-0192) The film's ffmpeg was limited by the memory it reserved, which for windowed scenes is several times what it uses. It is now stopped only once it uses more than half the machine's memory, and the message says so.

  • demoreel check on Mageia names Mageia's own packages, and says which programs Mageia has no package for (DEMO-0200) Its install command asked for Fedora's package names, several of which Mageia does not have. Mageia packages no cage, wlr-randr or wf-recorder, so --gpu there needs them from elsewhere. README now gives Mageia's install lines.

  • demoreel check on Mageia gives Mageia's way to an ffmpeg with libx264, not Fedora's (DEMO-0199) It used to print Fedora's RPM Fusion command. It now gives the commands that take ffmpeg from Mageia's tainted repositories.

  • README's install steps give openSUSE Leap 16.0 its own Packman repository (DEMO-0199) The one address it gave was Tumbleweed's. The translated quick-start pages carry the same lines.

Security

  • A file name, a script line or a tag can no longer steer your terminal or forge a line (DEMO-0094) They printed as they were, so an escape code ran and a line break could pass for a line of demoreel's. They now print as text, such as \x1b. An ordinary name in any language prints as it is, and the path on stdout is unchanged.
  • A file's tag or name can no longer pass for a measurement (DEMO-0094) A crafted file could set a music's level, past its cap, change motion's report, or lose a finished film.
  • A playlist or a concat list is refused on every input, whatever it is named (DEMO-0094) It could pull another file on the machine into a film. Everything else ffmpeg reads still works.
  • A crafted file can no longer fill the memory or the disk (DEMO-0094) Each read of a file is held to half the machine's memory, and only the end of a program's output is kept. A film lasts at most 24 hours, at most 1000 frames a second, and stops before the disk is full.
  • card --text-size 0 is refused, as caption refuses it (DEMO-0094)
  • A line too wide for a large frame is refused at a small text size too (DEMO-0094) At a small size the measurement stopped short of the frame's width, so the line passed and ran off the edge.
  • A text with a carriage return, form feed or vertical tab is refused as more than one line (DEMO-0094) ffmpeg starts a new line on each, so caption --text could get past the one-line rule.
  • Music that is silent all through is refused, as it was meant to be (DEMO-0094)
  • sheet --region on an odd corner starts where you asked (DEMO-0094) It started a pixel to the left and above.
  • A run started with stderr closed goes on as usual (DEMO-0094) 2>&- used to end a good run with exit status 1 at its first note.
  • A second stop signal no longer leaves a finishing command's working folder behind (DEMO-0094)
  • Text stops with a clear message if the state directory's path has a quote in it (DEMO-0094) It failed with ffmpeg's own words about an output file. Point XDG_RUNTIME_DIR at a plainer path.
  • A translation file must be a regular file, and a refusal quotes none of it (DEMO-0094) A link or a named pipe could cost the run or hang it, and a control code in a bad file reached the terminal through the note.
  • A key or hold step takes key names and nothing else (DEMO-0094) key a exec sh -c ... used to run the command, since xdotool reads its own command names anywhere among its arguments. Such a step is now refused before anything starts. So are key --window ... and the like, and key Help, which only ever ran xdotool's help.
  • A step that cannot be read no longer has its text printed (DEMO-0094) A mistyped line such as Type pass'word printed the password in the error. It now prints the first word.
  • The private display's password no longer appears on a command line, and the display is locked before it starts. (DEMO-0094) Another local user could read the password from the process list while it was being set. Both backends now write it first and send it over stdin.
  • SECURITY.md now says what demoreel trusts (DEMO-0094) Edit scripts, media files, fonts and file names are untrusted, a --steps file is as trusted as the command, and other processes of your own user are no boundary. It also lists every helper found through PATH, says what the gate really checks for each claim, and says only the latest release gets fixes.
  • Checking a download now ties each file to the signed commit (DEMO-0094) SECURITY.md's gh attestation verify command gains --source-digest: without it, a tag moved to another commit for the build and moved back afterwards passed all three checks. The tag check now reads the key from the GitHub account rather than from the repository, and says what to read in its output, since git does not compare a signed tag's own name with the one you asked for. A release's tag must also name itself and its version.
  • The release workflow builds the tag it checked, with less in reach (DEMO-0094) It checks out the tag by its full name and fails unless that is the commit it verified, where a branch named like the tag could have been what it built. Building runs in a job that can only read. Attaching and the build record run in a second job that holds those rights and runs nothing else. SHA256SUMS goes up last, and a release that already has it is not replaced unless you delete it first, so a release page never mixes two builds.
  • What a package install test runs can no longer change the files a release attaches (DEMO-0094) Those containers install other people's packages as root, and they could write to the folder holding the release's files. They now get it read-only, and the files are hashed after the build and compared before they go out. openSUSE's test no longer turns off signature checks for its repositories. A release builds in images pinned by digest.
  • A film no longer carries its sources' tags or chapters (DEMO-0094) A clip's title, comment or place name, or a music file's, went into the film you published. Any of them is now left out, and so are chapters. The picture and sound are unchanged.
  • Nothing reaches the openSUSE Build Service without a signed tag and a build record (DEMO-0094) obs-submit.sh compared two files from the same release page, so swapping both passed, and OBS would then have signed the result.

v0.9.0

0.9.0 — Installs like any other program

Theme: Installs like any other program.

Added

  • Each release can be checked: its tag is signed, its files are listed in SHA256SUMS, and each has a GitHub build record (DEMO-0084) SECURITY.md § Checking a download gives the three commands. The release workflow attaches nothing to a release whose tag is not signed, and ./ci.sh --release-check <tag> runs the same three checks against a published release.

  • Packages for Debian and Ubuntu (.deb), Fedora and openSUSE (.rpm), and Arch (PKGBUILD), attached to each GitHub release from the next one on (DEMO-0068, DEMO-0069, DEMO-0070) Each installs the command, its manual page, tab completion for bash, zsh and fish, and the translations, and pulls in every program demoreel needs. The --gpu programs are recommended, not required. Every package is built and installed in a clean container of each distro it targets before it is attached: ./ci.sh --packages.

  • A repository on the openSUSE Build Service, so each new version arrives with your system's updates (DEMO-0068) OBS builds every release, from the release's own tarball, for openSUSE Tumbleweed and Leap 16.0, Fedora 43 and 44, Debian 12 and 13, Ubuntu 22.04, 24.04 and 26.04, Arch, Mageia 10 and openEuler 24.03. Each published package is installed from its repository and tested: ./ci.sh --obs-check.

  • An install from source puts demoreel under /usr/local with one command, and --uninstall takes it out again (DEMO-0072) sudo ./packaging/install.sh in a clone installs the command, the manual page, tab completion and the translations. README § Install now leads with the packages and keeps this as the other route. It is run as written in a clean container of each packaged distro.

  • On openSUSE, record --gpu can write its video once wf-recorder's video library comes from Packman, and demoreel check names the package to install (DEMO-0174) openSUSE's own build of that library has no libx264, so wf-recorder could not write the video. README § Install now gives the line sudo zypper install --from packman --allow-vendor-change libavcodec62. When wf-recorder loads a library with no libx264, check names the package matching that library.

v0.8.0

0.8.0 — Trailers

Theme: Trailers.

Added

  • A sound FILE at 5.4 line under a scene plays a sound file at that moment, mixed with the clips' sound and the music, with its own volume. (DEMO-0186) A trailer can have a click where the pointer clicks, or a whoosh as a window arrives. The time is in the clip's own file, so it stays on its moment when earlier scenes change.

  • Several texts can be on screen at once: lines at one place are stacked in script order and keep their place, and slide-in makes a line rise into place as it fades in. (DEMO-0153) A title card can have a heading and a line under it, each in its own style, arriving one after another. Overlapping texts are no longer refused.

  • A windowed clip can push in with push 4, its window growing slowly, and a zoom 2 x 60 y 40 from 3 to 5 line under it zooms smoothly in on a point. (DEMO-0184) The camera can drift closer, or glide in on the part of the app that matters, as in the Slipcase trailer.

  • A card's or a window's background can be two to eight colours joined by commas: a gradient through them that turns slowly, darkened, with a vignette. (DEMO-0178) A trailer's backdrop can move gently in the site's own colours instead of being plain. The same script makes the same film, at any frame rate.

  • A clip can play in a window with window 80: smaller, with rounded corners and a soft shadow, centred on a background colour; a clip of another shape is fitted in rather than refused. (DEMO-0183) The app appears as a neat floating window in the trailer instead of filling the whole frame.

  • A card's picture can arrive with reveal: it fades in while growing from 82% of its size to the whole, slowing as it lands. (DEMO-0185) A trailer can open or close on the app's logo arriving smoothly.

  • A clip can play faster or slower with speed, and keep its last frame on screen with hold; one held frame is a freeze frame. (DEMO-0152) Make part of a video play slower or faster, or hold one moment still.

  • A crossfade can name one of ffmpeg's ready-made transitions — crossfade 0.5 wipeleft, slideup, dissolve and the rest — instead of a fade. (DEMO-0150) Choose how one scene changes into the next.

  • A drag X1 Y1 X2 Y2 step presses, slides and lets go (DEMO-0188) For dragging a song into order or widening a pane. The pointer slides over half a second, or as many seconds as a fifth number says, and the button is let go however the step ends, a stop included.

Changed

  • The scope ceiling now allows the effects a short trailer needs (DEMO-0182) README, What it will never do: transitions beyond a fade, changes of speed, a push-in or zoom to a point, a clip in a rounded window, a moving background behind a window or a card, a logo that grows as it fades in, text in several lines that slides in, and sound files at chosen moments. Still out: general layers, two clips on screen outside a transition, pan, crop, rotate, and anything removed from a video automatically.

Fixed

  • A clip in a window lost its last frame on ffmpeg 6.1.1, so the scene ran a frame short of its plan. The window's background now runs a frame past the scene and is trimmed back, so every frame of the clip is kept on older ffmpeg too.

  • Music taken from a video now repeats by its sound's own length, so a video whose picture outlasts its sound no longer leaves the film's sound to stop early. (DEMO-0191) Music taken from a video file keeps repeating to the end of the film instead of stopping early.

v0.7.0

0.7.0 — Sound, when you ask for it

Theme: Sound, when you ask for it.

Added

  • Films keep their clips' sound, and can have music (DEMO-0177) edit, trim, caption, join and card keep each clip's own sound, in step with its picture through cuts, fades and crossfades. A music FILE line, or --music on a shortcut, lays one music track under the film: repeated to fill it, faded in and out, and set to average -30 dB unless the script says otherwise. level lines make it softer or louder for a stretch; sound off and volume change one clip's sound; --no-sound leaves the clips' sound out. A film with no sound in its clips and no music is still silent.

  • record --audio puts the app's own sound in the video (DEMO-0106) The sound is in step with the picture to within 40 ms. Without --audio the video stays silent, exactly as before. Needs pactl; demoreel check says whether this machine can record sound.

  • A recorded app is never heard on your speakers (DEMO-0105) Every record and shot gives the app a private sound output that nothing plays, so callers no longer need PULSE_SERVER=unix:/nonexistent. Two recordings at once never hear each other. Where no private output can be made, the run goes on and says the app may be heard.

Changed

  • Sound is no longer ruled out (DEMO-0104) Recording an app's own sound, and adding music to a film, are planned, always by the caller's choice. Videos stay silent until they ship.

  • German messages corrected after a second AI check (part of DEMO-0172) Two messages that copied English wording word for word now read as normal German. The catalog stays a draft until a native speaker confirms it.

  • Afrikaans messages corrected after a second AI check (part of DEMO-0172) Three messages now use natural Afrikaans word order and spelling. The catalog stays a draft until a native speaker confirms it.

  • Five French messages read more naturally (part of DEMO-0172) Checked with a second AI. The French catalog is still a draft until a native speaker confirms it.

Fixed

  • demoreel check reports --gpu not ready when wf-recorder cannot start (DEMO-0176) It used to say ready when wf-recorder could not load its video library, so the failure showed up only on the first record --gpu. It now runs wf-recorder once and prints the program's own error.

v0.4.0

0.4.0 — Speaks your language

Theme: Speaks your language.

Added

  • Translators are told what each unclear blank in a message holds (DEMO-0167) The translation template carries a short note above those messages, so the grammar around a blank can be right the first time.

  • A short install-and-first-recording page in each of the sixteen languages (DEMO-0066) Linked by language name at the top of README. Each page is README's install steps and quick start, translated in the words its catalog uses; the full README stays English. The checks fail if a page's commands differ from README's, or a language lacks its page.

  • README lists every language and whether it is still a draft; CONTRIBUTING.md says how to improve one (DEMO-0067) Native speakers are invited to suggest better wording, by issue or pull request, and CONTRIBUTING.md explains how a language becomes confirmed. The checks fail if README's list and the translation files disagree (also DEMO-0097).

  • Draft translations in Russian, Ukrainian, Polish, Dutch, Korean and Arabic (DEMO-0065) Each is a draft until a native speaker checks it, like the first batch. Arabic is the second right-to-left language beside Hebrew.

  • Draft translations in ten languages (DEMO-0064) Messages and --help now come in German, French, Spanish, Italian, Brazilian Portuguese, Afrikaans, Hebrew, Japanese, and Simplified and Traditional Chinese. Each is a draft until a native speaker checks it, and --help says so on its last line. A command-line flag written straight against Chinese or Japanese text is now recognised as a flag, so the checks hold a translation to keep it. The manual page stays in English for now.

  • The checks refuse a translation that is incomplete or would print wrongly (DEMO-0062) Before any change is accepted, every translation file must read cleanly, hold every message, keep each {placeholder} and command-line flag of the English, and, if marked confirmed, be unchanged since. Each language must also print the same file path on standard output as English. ./ci.sh --catalog-digest po/<code>.po prints the fingerprint a confirmation records.

  • Messages can be translated, and English output is unchanged (DEMO-0061) Every message on standard error and the text of --help now goes through a translation step that follows LANGUAGE, LC_ALL, LC_MESSAGES and LANG. Standard output, motion's report and --version never change with the language, and LC_ALL=C always gives English. A translation file is treated as untrusted text (DEMO-0083).

Changed

  • The word "error" before a mistyped command's message is now in your language (DEMO-0166) It was the last English word in a translated run's error line.

  • An app that changes its own window size mid-recording is put back to fill the frame (DEMO-0121) The halfway check sizes the window to the frame again, once, and says how far into the video that was. An app that takes its own size again still gets the warning naming the size to record at. Still pictures only warn, as before.

  • The 1.0 rule says which condition holds the version back (DEMO-0139) 1.0 waits only on a demoreel video being used on another project's README, store listing or release page. The display-path checks bind the gate, which a 1.0 release passes like any other.

Fixed

  • A recording is as long as -d asks, even on a busy machine (DEMO-0169) The countdown now starts at the video's first frame, not when ffmpeg first reports back. On a loaded machine that report came late, and the wait went into the video: a -d 5 recording measured up to 5.55s. It now measures 5.03 to 5.16s, loaded or idle.

  • demoreel check no longer says --gpu is ready when its recorder cannot write the video (DEMO-0171) wf-recorder loads its own ffmpeg library rather than running ffmpeg, so ffmpeg having libx264 said nothing about it. check now asks that library, and names it when it has no libx264.

  • The --gpu stutter note no longer stays silent on a video that stutters (DEMO-0134) It counted the encoder's sharpening as new frames, so a video with 39% new frames read as 73% and was not noted. It now uses the same test as motion, which counts them right.

Security

  • record and shot take --steps FILE, or --steps - for standard input, so typed text stays out of the process list (DEMO-0025) Text given with -a type sat in demoreel's own command line, which other local users can read, for the whole run. --steps reads the same steps one per line, and cannot be mixed with -a.

v0.3.1

0.3.1 — Finishes what it recorded

Theme: Finishes what it recorded.

Added

  • A script can style each line of text: font, colour, outline, shadow, fade-in, fade-out, band and at (DEMO-0135) On a text line of an edit script, beside size. A font the machine does not have is refused, never swapped for another. The band fades with its text. at top, at middle or at bottom places it.

  • demoreel edit: make a finished film from a plain-text script of scenes, encoded once (DEMO-0132) A script lists scenes in order: clip FILE with from, to and fades, card SECONDS [PICTURE], and text "WORDS" on the scene above. Read from a file or from standard input. README, Finishing a recording.

  • trim, caption, join and card: one-step shortcuts over the same machinery as edit (DEMO-0124) Cut the ends off a video, put text over part of it, put videos end to end, and make a clip from a picture or a line of text. DEMO-0127, DEMO-0128 and DEMO-0129 are the other three.

  • Fades, on request: --fade-in, --fade-out, --fade-at inside one recording, and --crossfade between clips (DEMO-0131)

  • demoreel motion: report how often a video's picture changes and where it stands still (DEMO-0125) Read-only. Prints plain name: value lines, or one JSON object with --json. Its last change is where to cut.

  • demoreel poster: save one frame of a video as a .png or .jpg (DEMO-0126)

  • demoreel check reports whether the finishing commands and their text can run (DEMO-0132) On lines of their own. They never change its exit status.

Changed

  • The scope ceiling now allows finishing a recording, and says what editing stays out (DEMO-0123) README, What it will never do: no layers, no transition other than a fade, no zoom, no moving text, no change of speed, and nothing removed from a video automatically.

v0.3.0

0.3.0 — Friendly at a terminal

Theme: Friendly at a terminal.

Added

  • The top of README shows demoreel at work: KCalc driven by scripted steps. (DEMO-0059) A looping animated WebP of under 60 KB, in docs/media/, recorded by demoreel itself. The exact commands that made it sit beside it, so it is also a working example of scripted steps.

  • README has an Install section, and its quick start is written for a person. (DEMO-0058) One install line per distro for openSUSE, Debian and Ubuntu, Fedora and Arch, the Packman and RPM Fusion step for an ffmpeg that can write the video, then clone, link and demoreel check. Every step was run in a clean container of each distro. The gate holds each install line to the package table demoreel check prints from. The quick start adds watching the video, and no longer names a path on one machine.

  • A man page, demoreel.1. (DEMO-0057) Every command, option and step, the exit statuses, the files a run keeps, and the Flatpak and --gpu notes. man ./demoreel.1 reads it in place until the 0.5.0 packages install it. The gate checks it names everything demoreel accepts and renders without a groff warning.

  • Tab completion for bash, zsh and fish, in completions/. (DEMO-0056) Completes the subcommands, every option, the step names after -a, the names of recordings still running after demoreel stop, and the app's own command line after --. README § Tab completion says how to turn it on. The gate asks each shell what it offers and holds the answer against demoreel's own parser.

  • demoreel --help and demoreel record --help end with worked examples. (DEMO-0050) A timed recording, -d 0 with stop, scripted steps, --gpu, and a Flatpak with its three flags, ready to copy. The gate parses every example with demoreel's own parser, so none can go stale.

  • demoreel check says whether this machine can record, without recording. (DEMO-0052) It checks every program each backend needs, that ffmpeg can encode the video, and that a private display starts; --gpu also needs a graphics render node. Anything missing comes with its install command.

  • A missing program is named with the command that installs it on your distro. (DEMO-0051) openSUSE, Debian, Ubuntu, Fedora and Arch; the package names were looked up in each distro's own package index.

  • A hold KEY SECONDS step holds a key down, for apps that move while a key is held. (DEMO-0098) -a 'hold w 3' walks forward for three seconds in a 3D scene. The key is let go however the step ends, a stop included.

  • At a terminal, a recording shows how long is left, then the video's length and size. (DEMO-0053) One short line updates in place; a -d 0 run shows how long it has been going. Output to a script or a file is unchanged.

  • A --gpu recording that barely changes now gets a note saying it may stutter. (DEMO-0109) A busy 3D app recorded with --gpu came out as a slideshow with no message: the picture demoreel reads was refreshed only a few times a second. demoreel now measures how often the middle of a --gpu video changes, and says so when it is rarely. The stutter itself is fixed by DEMO-0111, below.

Changed

  • A recording uses about half the memory it did. (DEMO-0073) The video encoder now runs four threads, not a number scaled to the processor's cores. On a twelve-core machine its peak dropped from about 537 MB to about 270 MB, with no dropped frames on a busy app.

  • stop and the end of a recording return about 0.1 s sooner. (DEMO-0076) The blank check asks only whether one grey level covers more than 99.9% of a frame, and now counts one likely candidate instead of every value: under 1 ms on a busy 1600x1000 frame instead of about 100 ms, with the same answer. The halfway sample and --settle get the same saving.

  • A run whose private display stops answering now fails in about 13 seconds, not 38. (DEMO-0078) Once a call to the display times out, the run has failed and returns no video. The recorder and the display are now ended at once, rather than each being given a graceful stop that could only run out its timeouts on the frozen display.

  • Error messages now say what happened, why, and what to do next. (DEMO-0055) A mistyped -a step is caught before anything starts and shows how to write it, where it used to end the run with a Python traceback. Other failures point at demoreel check, the setting to raise, or the log that says why.

  • A stop ends the recording at once, instead of up to a fifth of a second late. (DEMO-0075) That extra tail used to end up in the video: a median 107 ms, now under a millisecond. A stop during a scripted wait step also ends it at once, where it used to sit out the whole wait.

  • Breaking: --gpu now needs cage, Xwayland, wlr-randr and xauth, and record --gpu also wf-recorder; xwfb-run is no longer used. (DEMO-0111) demoreel starts the compositor and the X screen itself, so it can size the screen before the X server starts. On openSUSE all of them are in the OSS repository.

  • Breaking: record --gpu --cursor is refused. (DEMO-0111) The compositor's picture never has the pointer in it, so the option could not be honoured. shot --gpu --cursor still draws the pointer.

  • Breaking: the pointer now starts in the bottom-right corner, not the centre. (DEMO-0103) A fresh private screen put the pointer in the middle, where it lit up whatever the app drew under it before any step ran, even with no pointer drawn. demoreel now parks it in the corner first. A bare click before any move now clicks the corner; give it a position, or move first, to click the middle.

  • Breaking: a type step now types its text exactly as written. (DEMO-0101) -a "type printf 'hi'" used to type printf hi: the step was split like a shell command, which dropped quotes and squeezed repeated spaces, and an apostrophe stopped the whole recording with an error. Now everything after type and one space is typed as it stands. If you wrapped the text in an extra pair of double quotes to keep single quotes, remove them, or they will be typed too.

Fixed

  • On a distro whose ffmpeg cannot encode H.264, recording stops at once and says which ffmpeg to install. (DEMO-0117) The ffmpeg that openSUSE and Fedora ship themselves leaves out libx264, which every recording uses. demoreel now names Packman (openSUSE) or RPM Fusion (Fedora).

  • A recording whose encoder died partway now fails, instead of handing back a file that will not play. (DEMO-0116) demoreel reads the finished video back before it prints the path.

  • Closing the terminal mid-recording now finishes the video and leaves nothing running. (DEMO-0115) It used to end demoreel on the spot and leave the private display running in the background. shot tidies up the same way when it is sent SIGTERM or SIGHUP. The recorder is also out of reach of the terminal's signals now, so it cannot be cut off before its file is finished.

  • Ctrl+C finishes a foreground recording properly, and README now says so. (DEMO-0054) Ctrl+C at a terminal also reached the private display, which shut down with the app on it, so the final check for a blank picture was skipped. The display is now out of Ctrl+C's reach, and the check runs.

  • Busy 3D apps recorded with --gpu now come out smooth and at full size. (DEMO-0111) demoreel used to read the picture from the X side, which a busy app refreshed only a few times a second, so a smooth game recorded as a slideshow. record --gpu now records the compositor's own picture with wf-recorder: on Vestige's fly-through at 1920x1080, 750 of 751 frames were new, against 156 of 588 before. The stutter note stays, and now means the app itself drew few frames.

  • A blank --gpu recording no longer tells you to record with --gpu. (DEMO-0110) Its advice now fits the backend that ran: on --gpu it names the app not having drawn yet, and --settle, which waits for it.

Security

  • A symlink another user planted at -o or --app-log is refused instead of written through. (DEMO-0082) demoreel resolved these paths itself, so the kernel's symlink protection never saw the link, and a planted /tmp/demo.mp4 could overwrite any file of yours it pointed at. A link you made yourself is still followed.

  • The private screen's lock is proven on before the app starts, on both backends. (DEMO-0113) A client without the run's auth cookie must be refused and one holding it must connect. The old Xvfb check tried only the holder, which gets in before the lock as well as after. Measured: Xvfb's lock was already on in practice, because nothing connects before the cookie is written; the check now proves it instead of relying on that.

v0.2.2

0.2.2 — demoreel shot saves one picture of an app

Added

  • demoreel shot saves one picture of an app, on the same private screen as a recording. (DEMO-0100) demoreel shot -o pic.png -- myapp starts the app privately, waits for it to draw, runs any -a steps, saves one PNG and prints its path. Nothing from your real desktop can be in it. A flat picture fails the run, as a blank recording does. It takes record's options apart from -d, -r and -n, and the size need not be even.

Fixed

  • A shot that fails now always says where it kept its logs. (DEMO-0107) A shot that failed before taking its picture, for example because the app could not start, kept its small log folder in memory without saying where. Every failure now names the folder, so it can be read and then deleted.

  • A private display that stops answering now fails the run instead of hanging it. (DEMO-0079) Each call to the display used to wait for as long as the display did, so a frozen display hung demoreel for good. Every window call and frame check now gives up after 10 seconds. The run then fails, saying the display stopped answering.

  • An app that resizes itself after demoreel sizes it is now warned about. (DEMO-0099) The window used to record cropped or off to one side with no message, because the picture was not flat and every check passed. demoreel now checks the window when it checks for a blank display, and says what size the app chose, so you can record again with -s set to it.

v0.2.1

0.2.1 — stop reports the real outcome; the display cannot freeze

Fixed

  • An app that makes the virtual display print a lot no longer freezes the recording. (DEMO-0049) The display's messages went into a pipe nobody read after startup. An app loading many keyboard maps, GIMP among them, filled it, and the display and demoreel both hung with no timeout. They now go to a log file, kept when a run fails.

  • demoreel stop now waits for the video to be finished and checked before printing its path. (DEMO-0047) It used to print the path the moment it signalled the run. A script reading the file straight away could get a half-written video, and a run that then failed its blank check had already handed back a path. Now stop prints the path only if the run succeeded, and otherwise exits with an error.

v0.2.0

0.2.0 — stricter guards and honest durations

Changed

  • A recording still blank halfway through -d now fails there. (DEMO-0008) The blank check used to look only at the end, so an app that drew something in the last moments passed with a mostly empty video. It now also looks halfway through the countdown. -d 0 runs have no halfway point and keep the end check only. A run that used to succeed can now fail.

  • -d now gives a clip of about the length asked for, and runs start faster. (DEMO-0012) -d 3 used to produce about 4.2 seconds of video. It now produces about 3.2. Each run also finishes about 1.4 seconds sooner, because demoreel waits for things to actually happen instead of sleeping for a fixed time.

  • demoreel stop works straight after the run is launched. (DEMO-0034) A run used to be unreachable until it was already recording, so a stop issued too early said no such recording existed. stop now finds a starting run, waits for it to record, and stops it. The retry loop the README showed is gone. A stop for a name that is not running now takes a second to say so.

Fixed

  • Apps that title their window only the modern way, such as vkcube, are now found. (DEMO-0043) demoreel looked only at a window's older title property, so these windows were never found. Every such run waited the full 20 second startup timeout and recorded the window at its own size, not filling the frame. A --gpu -- vkcube run now takes about 4 seconds instead of 24.

  • Two runs started together under one name no longer both record. (DEMO-0011) The later one's state file used to hide the earlier one from demoreel stop. The duplicate-name check is now a lock, so exactly one records and the other exits with an error.

  • The blank check no longer passes a video it could not look at. (DEMO-0033) When its sample of the screen failed, the check used to report "not blank", so the run succeeded. That now fails the run with the reason, and --settle stops instead of waiting blind. A run that used to succeed can now fail, which is why this is in a MINOR.

v0.1.1

0.1.1 — demoreel records a GUI app on a private virtual display

[0.1.1] - 2026-09-08

Added

  • demoreel records a GUI app on a private virtual display. One command takes the app to run and gives back a video file: it starts the display, launches the app on it, sizes the window to the frame, records with ffmpeg, optionally replays scripted actions, and tears everything down. Nothing of the user's real desktop is in frame, because the app never runs there. Two display backends: Xvfb by default, and --gpu for an app that needs the graphics card. Everything in this block is the first release; nothing has been tagged yet.

  • The pre-push gate ships with the repository. (DEMO-0027) git config core.hooksPath .githooks turns it on after cloning. The gate previously reached this project through settings on one machine, so a fresh clone had ci.sh and nothing that ran it.

Fixed

  • An app that exits without a window is no longer told it is a single-instance app. (DEMO-0026) That was one possible cause stated as the established one. A command that simply finished without needing a window got the same message. It now says what happened, offers the hand-over as the likely cause, and names the other case.

Security

  • The private display is behind an auth cookie on both backends. (DEMO-0017) Every client is handed an MIT-MAGIC-COOKIE-1 credential through an Xauthority file at mode 0600. Measured before the guard existed: a local process with no credential read the display's geometry and grabbed a frame of whatever was on screen. Socket permissions were no substitute, because Xvfb also listens on an abstract socket, which has none.

  • Text passed to -a type no longer appears in the system process list. (DEMO-0018) It reaches xdotool on stdin instead of as an argument. It is still on demoreel's own command line, because the caller wrote it there, and SECURITY.md keeps that as a stated boundary rather than implying it is closed.

  • The run-state directory is checked before it is used. (DEMO-0019) Without XDG_RUNTIME_DIR the fallback path is predictable, so on a shared machine another user can create it first. demoreel now refuses anything that is not a directory it owns, and looks with lstat so a planted symlink is seen rather than followed.

  • demoreel stop no longer signals a process it did not start. (DEMO-0036) A run killed abruptly leaves its state file behind, and the system reuses process numbers -- so stop could send a terminating signal to whatever inherited the number. Reproduced against an unrelated sleep, which died. The run's start time is now recorded beside its process number and checked first.

  • The CI workflow keeps its token off disk and its values out of shell. (DEMO-0037) Checkout no longer persists the job's credentials, where every later step could read them, and step values are passed through the environment rather than pasted into the script before the shell sees them. With DEMO-0038.