Node.js: realtime conversion from jpeg images to video file

后端 未结 3 511
轮回少年
轮回少年 2021-02-05 16:40

I\'m using node.js and through the socket.io library I receive chunks of data that are actually jpeg images. These images are frames of a realtime video captured from a remote w

3条回答
  •  情话喂你
    2021-02-05 16:48

    Using require("child_process") you can use ffmpeg, or there are probably npm modules to help with this. ffmpeg will allow you to first take a list of jpegs and convert that to a video, second you can add a list (or just one) jpegs to the beginning or end of videos.

提交回复
热议问题