SShortSingh.
Back to feed

Sawfish API prepares videos for multimodal LLMs with timestamped frame grids

0
·5 views

A developer has released Sawfish, a pay-per-task FFmpeg API hosted on Apify, to simplify preparing video for multimodal language models. Instead of writing custom glue code, users can send one request to get a contact sheet of frames with accurate source timestamps plus a JSON manifest. The service also offers recipes for speech-to-text audio prep, short-form vertical video reframing, and basic operations like trimming, probing, and subtitle burning. Pricing is per event with no subscription, with a typical vision-prep run costing about one cent, and the API checks spending caps before processing. The tool is brand new and its creator is asking users which additional recipes they would want and what issues they encounter.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Free Apify Actor Automates Multi-Site Webflow SEO and AEO Audits Without a Bridge App

A developer has released a free Webflow Automation and SEO/AEO MCP Server on Apify, built on the official Webflow Data API v2. The tool runs both as a Cloud Standby MCP server for AI clients like Claude, Cursor and Windsurf, and as a batch or scheduled Actor for platforms such as n8n, Make, Zapier and Python pipelines. It supports auditing multiple client workspaces at once, covering SEO metadata, AI crawler readiness via robots.txt, llms.txt and sitemap.xml, plus bulk CMS upserts, cross-site CMS sync and rate-limited bulk publishing. The author provides a Python example using apify-client and GitHub templates for setup. The Actor is currently free to use on the Apify Store.

0
ProgrammingDEV Community ·

Syncing Remotion video scenes to voiceover words using word timestamps

The author makes vertical explainer reels with no on-camera presenter, where a voiceover explains a topic and on-screen visuals change as particular words are spoken. Scene timing set by typed frame numbers breaks whenever the script changes, and AI agents make it worse because they cannot hear the audio and estimate timing from text alone. The proposed fix is to transcribe the voiceover into a list of words with millisecond start and end times, then have scenes begin on a named word, with frames computed from that list. The tutorial covers a local route using Remotion's whisper.cpp package with a 16 kHz WAV conversion and token-level timestamps, and a cloud route using AssemblyAI's upload, submit, and poll API. It is part one of a five-part series on making video with Claude Code and Remotion.

0
ProgrammingDEV Community ·

Example .env placeholder secrets can become a security hole in shipped apps

A team found that a JWT secret placeholder in their .env.example passed their config validation because it met the minimum length requirement. Since the repository is public, anyone who copied the template would know the signing key, enabling them to forge access tokens and possibly admin roles. The article argues that length checks cannot detect whether a value is publicly known, so any value committed to git should be treated as compromised. The recommended fixes include denylisting known placeholder values as a partial safeguard, leaving secrets empty in the example file, and having a setup script generate random secrets with restrictive file permissions. An additional production-only check is also suggested for settings that are acceptable in development but unsafe on servers.

0
ProgrammingDEV Community ·

Larger USB transfer window caused more retransmissions without any speed gain

A developer's ESP32 display pulls half-gigabyte image files from a Mac over USB in packets, and a bigger in-flight window triggered repeated checksum-failed retransmissions. Tests on the board showed a window of 8 produced 23 rewinds, 22 of them CRC failures, while a window of 4 ran clean, yet both achieved about the same throughput of 0.365 MB/s. The default was reverted to 4 as the quick fix. Investigation traced the cause to the firmware's 4 KB USB receive ring buffer, which overflows when the task that receives data stalls during periodic 16 KB SD card writes. The vendor driver silently discards packets whose insertion fails, so the buffer overflow goes unnoticed.