How to programmatically create videos?

后端 未结 7 833
逝去的感伤
逝去的感伤 2020-12-10 06:39

Is there a freely available library to create a MPEG (or any other simple video format) out of an image sequence ?

It must run on Linux too, and ideally have Python

7条回答
  •  我在风中等你
    2020-12-10 07:35

    ffmpeg is a great (open source) program for building all kinds of video, and converting one type of video (a sequence of images in this case) into other types of video.

    Usually it is utilized from the command line, but that is really just a wrapper around its internal libraries. It is expressly available to be used from within another program.

    There are also python bindings that wrap the c api, though this particular project doesn't seem to be getting the best support (there are probably other projects out there doing the same thing).

    There's also this link where someone has used ffmpeg to do something similar to what you're looking for.

提交回复
热议问题