Steven Roose
Steven Roose

Reputation: 2769

Combine images as frames to make a video with Python

I'm looking for a Python library that can combine images into a video.

A library that just allows you to create an empty video and feed images into it as frames is ideal.

Preferably with support for MPEG compression of the video file as well.

Upvotes: 0

Views: 1411

Answers (2)

Riccardo Cagnasso
Riccardo Cagnasso

Reputation: 470

gstreamer is the tool you are looking for. you'll probably need an appsrc or something like that.

Upvotes: 1

Steve Barnes
Steve Barnes

Reputation: 28405

If you run linux then you can use ffmpeg to do this from the command line there is a python wrapper called pyFFmpeg that you can use - there is also pymedia but it doesn't look to be maintained.

BTW there are a number of projects that provide builds of ffmpeg for windows.

Upvotes: 2

Related Questions