473,241 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Python module for making Quicktime or mpeg movies from images

My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.

Is there a module, or example of how to do this?
Thanks,
Jeremy

Oct 11 '07 #1
9 10443
jeremito wrote:
My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.

Is there a module, or example of how to do this?
http://pymedia.org/

Diez
Oct 11 '07 #2
On Oct 11, 10:43 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
jeremito wrote:
My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.
Is there a module, or example of how to do this?

http://pymedia.org/

Diez
That initially looked promising, but it looks like nobody is working
on it anymore and it doesn't compile on Mac. (I should have mentioned
I am using a Mac.) Any other suggestions?

Thanks,
Jeremy

Oct 11 '07 #3
jeremito wrote:
On Oct 11, 10:43 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
>jeremito wrote:
>>My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.
Is there a module, or example of how to do this?
http://pymedia.org/

Diez

That initially looked promising, but it looks like nobody is working
on it anymore and it doesn't compile on Mac. (I should have mentioned
I am using a Mac.) Any other suggestions?
Not really a Python module but... run them
through mencoder? (Haven't tried it but it
seems to be saying it's possible).

http://www.mplayerhq.hu/DOCS/man/en/...NCODER%20USAGE

TJG
Oct 11 '07 #4
TYR
On Oct 11, 4:17 pm, Tim Golden <m...@timgolden.me.ukwrote:
jeremito wrote:
On Oct 11, 10:43 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
jeremito wrote:
My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.
Is there a module, or example of how to do this?
http://pymedia.org/
Diez
That initially looked promising, but it looks like nobody is working
on it anymore and it doesn't compile on Mac. (I should have mentioned
I am using a Mac.) Any other suggestions?

Not really a Python module but... run them
through mencoder? (Haven't tried it but it
seems to be saying it's possible).

http://www.mplayerhq.hu/DOCS/man/en/...PLES%20OF%20ME...

TJG
NodeBox; nodebox.org

GUI application that creates either PDFs or Quicktime vids from python
code. Unix/Linux/MacOS.

Oct 12 '07 #5
My Python script makes a bunch of images that I want to use as frames
in a movie. I've tried searching for a module that will take these
images and put them together in a Quicktime or mpeg movie, but haven't
found anything. My images are currently pdfs, but I could make them
into just about anything if needed.

Is there a module, or example of how to do this?
Thanks,
Jeremy
If you'll be happy with a flash movie you can try ming: ming.sf.net
which is a C library for creating flash files and there is a python
binding for it (among other languages).
Oct 12 '07 #6
On Oct 12, 10:37 am, TYR <a.harrow...@gmail.comwrote:
On Oct 11, 4:17 pm, Tim Golden <m...@timgolden.me.ukwrote:
jeremito wrote:
On Oct 11, 10:43 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
>jeremito wrote:
>>My Python script makes a bunch of images that I want to use as frames
>>in a movie. I've tried searching for a module that will take these
>>images and put them together in a Quicktime or mpeg movie, but haven't
>>found anything. My images are currently pdfs, but I could make them
>>into just about anything if needed.
>>Is there a module, or example of how to do this?
>>http://pymedia.org/
>Diez
That initially looked promising, but it looks like nobody is working
on it anymore and it doesn't compile on Mac. (I should have mentioned
I am using a Mac.) Any other suggestions?
Not really a Python module but... run them
through mencoder? (Haven't tried it but it
seems to be saying it's possible).
http://www.mplayerhq.hu/DOCS/man/en/...PLES%20OF%20ME...
TJG

NodeBox; nodebox.org

GUI application that creates either PDFs or Quicktime vids from python
code. Unix/Linux/MacOS.
I actually found NodeBox in my googling. This seems to be a stand
alone application. I need to be able to convert my images to a movie
from my code I wrote myself.

Thanks,
Jeremy

Oct 12 '07 #7
has
On 12 Oct, 20:53, jeremito <jerem...@gmail.comwrote:
I actually found NodeBox in my googling. This seems to be a stand
alone application. I need to be able to convert my images to a movie
from my code I wrote myself.
Some Mac-specific options:

- QuickTime Player is standard on OS X and its scripting interface
(which you can access from Python via appscript, and is fully usable
even in unpaid mode) includes an 'open image sequence' command. This
would be the simplest solution as long as you don't mind launching
another application to do the work.

- The Cocoa API's QTKit class (accessible via PyObjC) includes a -
addImage:forDuration:withAttributes: method that you could use to
build up a movie yourself.

- The Mac version of Python includes wrappers for a number of Carbon
APIs, including QuickTime. One for brave souls only; QT's C APIs are
notoriously complex, and I've no idea of the quality/reliability of
the Carbon.Qt wrapper (most of Python's Carbon wrappers haven't been
fully maintained since OS9 days).

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

Oct 13 '07 #8
>- The Mac version of Python includes wrappers for a number of Carbon
APIs, including QuickTime. One for brave souls only; QT's C APIs are
notoriously complex,
AMEN. I tried to work with that stuff, and it was close to a totally
failure & desaster...

Diez
Oct 13 '07 #9
On Oct 12, 3:53 pm, jeremito <jerem...@gmail.comwrote:
NodeBox; nodebox.org
GUI application that creates either PDFs or Quicktime vids from python
code. Unix/Linux/MacOS.

I actually found NodeBox in my googling. This seems to be a stand
alone application. I need to be able to convert my images to a movie
from my code I wrote myself.
Why? Whether you're using a library or an external application, it's
not code that you wrote yourself. There's shouldn't be any reason you
couldn't call an application like mencoder from your program. Either
way you're certainly not going to find anything written in pure Python
for encoding video.

Oct 15 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Paul Gardella | last post by:
Folks, Does anyone know of a Python module for building organization charts? I've looked at gdchart and JPGraph, but neither of them do org charts, as far as I can tell. Seems it can be done...
5
by: Bart Simpson | last post by:
Hi, I want to control 'Scheduled Tasks' in Windows 2003 by python program. But I couldn't find any Python module about win32 'Scheduled Tasks'. I could find only Perl module about it. (see...
1
by: sam | last post by:
Hi, Had anyone written any python module for webmin? Since webmin is written in perl, but I want to write a python app/module used by webmin. If you know the detail of writing a python module...
1
by: David | last post by:
I have this error message poping up when I try to import a module I made in C using the Python/C API. Everything compiles like a charm. Gives me this error message : Traceback (most recent...
17
by: Jacob Page | last post by:
I have created what I think may be a useful Python module, but I'd like to share it with the Python community to get feedback, i.e. if it's Pythonic. If it's considered useful by Pythonistas, I'll...
1
by: wen | last post by:
i have written python extend module by c/c++, but i saw a module of a software(pyMOL, you can get it from http://pymol.sourceforge.net/) called _cmd.pyd instead of _cmd.dll. and it is written by...
1
by: RayS | last post by:
I've begun a Python module to provide a complete interface to the Meade LX200 command set: http://rjs.org/Python/LX200.py and would like input from potential users or people interested in...
1
by: munisams | last post by:
Can anyone tell me Is there any python module available which functionally equivalent to Perl's MIME::Lite?? I am searching for a python MIME module which has following features: 1. Able to send...
0
by: Gabriel Genellina | last post by:
En Thu, 10 Jul 2008 14:02:29 -0300, Bhagwat Kolde <bbkolde@gmail.com> escribi�: If it is a single Python module, you can put it anywhere in the Python path. A good place may be the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.