SShortSingh.
Back to feed

Pre-flight checks for lip-sync inputs using ffmpeg and a local file validator

0
·1 views

A tutorial describes building a small local script that verifies video and audio files before uploading them to Wan-family lip-sync tools. Public tool pages reportedly cap video at about 500 MB in MP4 or MOV format and audio at about 10 MB, and the author treats these limits as editable constants to update when the page changes. The script exits with a non-zero code on failure, so it can run in a folder action or CI step, and includes a self-test that writes synthetic files. The author notes that size checks cannot confirm mouth visibility or speech quality, so ffprobe should be used to inspect duration, resolution and track layout. Suggested fixes include re-encoding oversized video, exporting speech-only audio, remuxing wrong extensions, and trimming silence or stereo beds.

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
ProgrammingHacker News ·

Photo Archive Offers Behind-the-Scenes Look at NeXT Computer's Office

A Stanford University exhibit collection hosts a photo archive documenting the workplace of NeXT Computer, Inc. The images give viewers a glimpse into the company's internal environment and day-to-day operations. The collection is browsable online and organized by publication year and title. The item was shared on Hacker News, where it drew a small amount of attention with four points and no comments. The source material provides only the archive link, so details about specific photos or dates are not described here.

0
ProgrammingHacker News ·

PaperPilot Launches as Zero-Cloud Pure-Rust PDF Engine with WASM and MCP Support

A developer has released PaperPilot, a PDF processing engine written entirely in Rust that runs without relying on cloud services. The project is publicly hosted on GitHub and was shared on Hacker News, where it gathered a few early points and no comments at the time of posting. According to the project's description, it supports WebAssembly (WASM) and the Model Context Protocol (MCP), which broaden the ways it can be integrated into browser-based and AI-tool workflows. The source material provides limited detail beyond these features, so its performance and full capabilities remain unverified.

0
ProgrammingHacker News ·

TitleArt Lets Users Generate Retro 1997-Style Text Graphics

A developer has launched TitleArt, a web tool that turns plain text into graphics styled after late-1990s web aesthetics. The project was shared on Hacker News as a 'Show HN' post, where it gathered 15 points and one comment. The source material provides only the project's link and discussion metrics, so details about its features, technology, or pricing are not available. The tool is accessible through its website at titleart.dvy.io.