Urgent.News

What's breaking now, across thousands of outlets.

Tech

How Do You Pick the Cover Frame for a Hit the Road Dude Clip? A Sharpness-and-Exposure Picker With ffmpeg and NumPy

When you post a Hit the Road Dude clip, the State Property meme where a driver at a pickup window repeats "State?" and sends someone off, the cover frame decides whether anyone taps it. Most platforms pick a frame for you, and they often pick a mid-blink or a motion-blurred one. This is a small tool that picks a better one automatically. I build hittheroaddude.app , an independent studio that…

To select the optimal cover frame for a Hit the Road Dude clip, a sharpness-and-exposure picker using ffmpeg and NumPy exists. This tool is part of the hittheroaddude.app, an independent studio that transforms an adult or pet photo into a 15-second vertical 9:16 pickup-window clip with a generated voice. The script measures three factors to determine a suitable cover frame: sharpness, exposure, and distance from the edges.

Sharpness is determined by measuring the variance of a Laplacian of a blurred frame, with higher variance indicating more fine detail. Exposure is assessed by checking the mean brightness and the share of crushed or clipped pixels. Frames from the beginning and end of the clip are often faded, cut off, or frozen, so they should be avoided.

The script does not evaluate the facial expression or the humor of the driver's expression. Instead, it prints the top frame timestamps, and the user makes the final decision. The script requires ffmpeg/ffprobe on the PATH and NumPy for execution.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

What makes a batch file rename safe to undo?

An Undo button is useful only if the application still knows what happened to each file—and can explain when going back is no longer possible. I build RenamerX, a desktop file renamer.

  • RenamerX shows original, proposed names and destination together
  • Preview catches mistakes early, like wrong dates or names
  • Undo requires mapping original to applied paths and operation outcomes

Turn Your Cursor Rules Into One Root AGENTS.md

Most of my repos still have Cursor rules in some form. Sometimes a dusty .cursorrules at the root. Sometimes a pile of .mdc files under .cursor/rules/ .

  • Gather existing Cursor rules from repositories
  • Organize information into standardized headings
  • Commit single source of truth root file

Rounding is a business rule: what your fee calculation actually charges

A fee calculator is mostly arithmetic, and the arithmetic is mostly correct. The part that produces support tickets is the last step: rounding. It looks like formatting.

  • Rounding is a business rule, not a technical choice
  • Store rounding mode as data, use Decimal end-to-end
  • Test tie cases, negative scenarios, and reconciliation

Custom payloads for the DJI Matrice 400: what can be integrated and how

Short answer: The DJI Matrice 400 is listed at about 9.74 kg with roughly 6 kg of payload and up to 59 minutes of flight time, which is enough to carry a Zenmuse gimbal and a second, custom payload at…

  • DJI Matrice 400 can carry 6 kg payload with 59-minute flight time
  • Custom payloads include 3D LiDAR, gas sensing, thermal imaging, broadcasting equipment
  • Successful integration requires balancing, power/data path, synchronized time data

Your agents are at home. You're at the office.

You kick off three agents on the Mac at home, then head to the office. Somewhere on the way one of them asks for permission to run a command, and it waits. The other two finish and wait too.

  • PonyMux 0.16 allows remote control of agents on Mac and Windows
  • Sign in with GitHub or Google to manage agents via web browser
  • Safely control agents with keystrokes, paste, drag, and send files

More from Tuesday 10 November →