Building a YouTube-to-Shorts Pipeline With Node.js and FFmpeg

javascript dev.to

If you've ever watched a long-form YouTube video and thought "this 45-second segment would kill on Shorts," you already understand the core problem this pipeline solves. Manually trimming, reformatting, and uploading clips is brutal at scale. Let's build a Node.js pipeline that automates the entire process — download, detect, crop, encode, and output a vertical-ready clip. This is the kind of automation that powers tools like ClipSpeedAI, which does all of this with AI-driven clip selection on

Read Full Tutorial open_in_new
arrow_back Back to Tutorials