Purging Junk Videos with Go

Programming Snapshot – Video Housekeeping with Go

© Lead Image © Argus, Fotoliacom

© Lead Image © Argus, Fotoliacom

Article from Issue 311/2026
Author(s):

A GUI application written in Go helps Mike Schilli select videos from his phone using animated thumbnails and get rid of the clutter.

I've been writing this column for almost 30 years now, and when you cobble together a new application every month, you end up with quite a few over such a long period of time. But you can't expect programs you wrote back in the day to run without maintenance until the end of time, especially when the libraries and APIs used are evolving at the speed of the Internet.

Having said this, a few tools I've written for some issues have turned out to be real winners for my daily needs. For example, I still use the iNuke photo sorter from my January 2022 column [1] to quickly separate the wheat from the chaff among my photos on my mobile phone. Unfortunately, this app only works with JPEG photos, although I often record videos on my smartphone. And there you have it: Here comes a new tool to get rid of the junk right away, before it clogs up my hard disks or cloud storage for all eternity.

Black Magic in the Codec

Of course, a video file isn't just a simple sequence of individual photo frames, which raises the question of how a video viewer could display the clips as thumbnails in a way that lets users make an informed choice on which files to keep.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Download Article PDF now with Express Checkout
Price $2.95
(incl. VAT)

Buy Linux Magazine

Related content

  • GUI Apps with Fyne

    The Fyne toolkit offers a simple way to build native apps that work across multiple platforms. We show you how to build a to-do list app to demonstrate Fyne's power.

  • Marathon Runners

    Rather than using ho-hum bar graphs to display Internet bandwidth usage, Mike Schilli enlists cartoon characters to do the job. Along the way, you get a free introduction to 2D gaming sprite technology.

  • Treasure Map

    To help track down a particular photo, Mike Schilli often turns to his cellphone's geosearch function. Replicating this functionality with Go and Fyne turned out to be a trouble-free experience.

  • Spotlight

    Before sharing screenshots, you may want to highlight points of interest. Mike Schilli whips up a Go app with the Fyne framework that acts like a highlighter pen.

  • Practically Elastic

    To improve his skill at the pool table, Mike Schilli sets out to program a simulation in Go using the Fyne framework.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News