8.8 C
New York
Sunday, November 24, 2024

Ben Henshaw’s Ouch! Gives Delay-Free Interactive Video Artwork on a Raspberry Pi



Laptop scientist and maker Ben Henshaw has launched a software for turning a Raspberry Pi single-board laptop into an interactive video participant for artwork installations and extra — avoiding the delays current in rival options.

“Final 12 months, I began on my first RPi challenge, which was an artwork set up for an interactive brief movie. The medium was pixel artwork on a CRT show, during which customers would have the ability to press buttons and switch keys to immediate the subsequent sequence within the movie,” Henshaw explains. “The set up was a post-apocalyptic retrospective on nuclear conflict as displayed on a simulacrum of an air-gapped nuclear missile command terminal utilizing pixel artwork and rendering methods idiosyncratic to early graphical interfaces.”

An interactive piece of video artwork has given rise to a Python software for delay-free video looping and skipping. (📹: Ben Henshaw)

Fairly quickly into growth of the video artwork set up, although, Henshaw bumped into an issue. “One of many issues that blew my thoughts about this challenge,” he explains, “is that there did not appear to be any present interactive video participant that met my specs (i.e., one which responds to and tolerates concurrent IO) that wasn’t gradual, susceptible to failure, or completely outdated.”

The answer: a Python-based wrapper for the mpv video participant which helps the flexibility to load a single grasp clip, loop sections, and bounce round at-will based mostly on bodily button presses — and which avoids delays when switching sections, apparent buffering, juddering, or the sudden look of an incongruous graphical person interface overlay, all of which had been points plaguing Henshaw’s makes an attempt to make use of current options.

Extra info is obtainable on Henshaw’s Reddit publish, whereas the supply code for the challenge has been launched on GitHub below the reciprocal GNU Normal Public License 3. “I hope,” Henshaw says, “that the interactive video engine might be of use to different individuals in [the Raspberry Pi] neighborhood.”

Related Articles

Latest Articles