how to generate video thumbnail in node.js?

前端 未结 6 978
不知归路
不知归路 2020-12-15 10:31

I am building an app with node.js, I successfully uploaded the video, but I need to generate a video thumbnail for it. Currently I use node exec to execute a system command

6条回答
  •  半阙折子戏
    2020-12-15 10:50

    There is a node module for this: video-thumb

    It basically just wraps a call to exec ffmpeg

提交回复
热议问题