tags:

views:

29

answers:

1

hi I am looking for a python code that takes series of BMP file and merges them into Avi file (and get the parameter frames per second from the user)

does anyone has an idea where to begin?

Ariel

A: 

I'd begin by using the GStreamer Python bindings; at a minimum, that'll take the AVI encoding (or a great many other codecs, if you prefer) off your plate.

It won't help with BMP input, though; either you can convert them to PNG or another natively-supported input format or use a different library such as PIL to decode them into a buffer for GStreamer's use (feeding the decoded buffers in with the appsrc plugin).

Charles Duffy