DEV Community

Cover image for I convert videos to printed flipbooks for a living: here's how the pipeline works (FFmpeg print bind)
Momcilo
Momcilo

Posted on

I convert videos to printed flipbooks for a living: here's how the pipeline works (FFmpeg print bind)

I spent years shipping software. Now part of my week is printing, binding, and shipping small books.

In 2018 we built a side project that turned short videos into flipbooks. It sat idle for years. In late 2024 we relaunched it as VideoToFlip - a family workshop in Serbia. Upload a clip, preview the frames, we print and bind a pocket-sized book, ship it worldwide.

Stack: Next.js, FFmpeg, ImageMagick, a printer, and our hands. No AI pipeline. It pays bills.

The pipeline

1. Upload + validation

Customers upload MP4 / MOV / AVI, usually under 30 seconds and 100 MB. Before FFmpeg we check:

  • duration
  • file size
  • orientation
  • that the file is actually a video

Most support tickets come from skipping this step.

2. Frame extraction with FFmpeg

The product is 72 pages, so we extract 72 frames.

Even sampling across the clip is the obvious approach:

# conceptual - evenly spaced frames
ffmpeg -i input.mp4 -vf "fps=..." frame_%03d.jpg
Enter fullscreen mode Exit fullscreen mode

It looks correct and often feels wrong. People care about the peak moment (kiss, jump, laugh), not the lead-in. We bias sampling toward motion so the flip matches what they remember.

ImageMagick handles sizing and crop for print.

3. Preview before checkout

We show the exact frames that will print - not a mockup.

That converted better than any copy change. Gift buyers want to know they aren't ordering the wrong second of the video.

If you sell custom physical goods: preview the artifact, not the promise.

4. Print, bind, finish in-house

We started with local print shops. Quality was inconsistent and turnaround was slow - a problem when wedding favors need to look identical across dozens of books.

So we bought machines and learned printing, binding, and finishing ourselves. The physical object is the product. Outsourcing it was a mistake.

5. Shipping + customs

We ship DHL from Serbia. Tracking matters. Clear customs/VAT messaging matters more. International buyers hate surprise fees on a gift.

Mistakes

  • Even frame sampling - correct in code, wrong in hand. Optimize for how the flip feels.
  • Vertical video in a landscape book - validate orientation early.
  • Outsourcing quality - fine for stickers, bad when the object is the brand.

Not another SaaS story

The web app is real: uploads, preview, checkout. The output leaves the screen. A short clip becomes paper.

People order for gifts, weddings, and family moments. That demand is why this still exists.

DIY version (extract frames, print at home, bind yourself):

DIY flipbook guide

Workshop / origin:

About VideoToFlip

Questions about FFmpeg sampling, binding, or shipping paper internationally - ask in the comments.

Top comments (0)