2019-12-09
2038
#node
Maciej Cieślar
10806
Dec 9, 2019 ⋅ 7 min read

Generating video previews with Node.js and FFmpeg

Maciej Cieślar A JavaScript developer and a blogger at mcieslar.com.

Recent posts:

leveraging Lighthouse audits to optimize web performance

Leveraging Lighthouse audits to optimize web performance

Slow-loading pages can stem from multiple causes, which makes them one of the most challenging issues to fix in web development. Lighthouse can help you detect and solve your web performance issues.

Anna Monus
May 14, 2025 ⋅ 6 min read

Building multi-region infrastructure with AWS

This isn’t theory. It’s the exact setup you need to deliver fast, resilient apps across AWS regions with zero fluff.

Marie Starck
May 13, 2025 ⋅ 5 min read
the nine best FaunaDB alternatives for 2025

The 9 best FaunaDB alternatives for 2025

Looking for a FaunaDB alternative to migrate to? Examine nine other platforms you can use and factors to consider when choosing an alternative.

Nefe Emadamerho-Atori
May 13, 2025 ⋅ 7 min read
Techniques To Circulate And Record Knowledge In Engineering Teams

Techniques to circulate and record knowledge in engineering teams

From onboarding to bug tracking, these knowledge-sharing techniques keep your team aligned, reduce overhead, and build long-term technical clarity.

Marie Starck
May 12, 2025 ⋅ 4 min read
View all posts

2 Replies to "Generating video previews with Node.js and FFmpeg"

  1. Hello, let me thank you for this great article. I finally managed to use these two commands

    ffmpeg -i video.mp4 -y -vf fps=1/24 thumb%04d.jpg
    ffmpeg -framerate 1/0.6 -i thumb%04d.jpg slideshow.mp4

    Is it please possible to batch more than 1 video using those ?

    Thank you
    Vlad

Leave a Reply