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:

Build A Custom React Native Turbo Module For Android

Build a custom React Native Turbo Module for Android

Build a React Native Turbo Module for Android to access device info like model, IP, uptime, and battery status using native mobile APIs.

Emmanuel John
Feb 27, 2025 ⋅ 8 min read
how to measure round-trip time using cURL

How to measure round-trip time (RTT) using cURL

Learn how to measure round-trip time (RTT) using cURL, a helpful tool used to transfer data from or to a server.

David Omotayo
Feb 26, 2025 ⋅ 10 min read

React.memo explained: When to use it (and when not to)

React.memo prevents unnecessary re-renders and improves performance in React applications. Discover when to use it, when to avoid it, and how it compares to useMemo and useCallback.

Emmanuel John
Feb 26, 2025 ⋅ 9 min read
React useCallback: When And How To Use It For Better Performance

React useCallback: When and how to use it for better performance

Learn how React’s useCallback hook boosts performance by memoizing functions and preventing unnecessary re-renders with practical examples and best practices.

Emmanuel John
Feb 26, 2025 ⋅ 6 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