473,508 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

programming video manipulation

Hi,
I am an artist who creates interactive video installations that are
controlled using a set of sensors, a microcontroller, computer and
video projector. Currently I am using MAX/MSP and Jitter to program
how information collected from the sensors then is used to manipulate
pre-recorded video footage.

I have been investigating Python as an alternative to using
MAX/MSP/Jitter to program the collection of information from the
sensors and the resulting video manipulation. I have not been able to
find information about manipulating video with Python, or collecting
information from a microcontroller. I have heard that I may need a
library of commands already written in C or C++. Does anyone have any
information about using Python with microcontrollers or manipulating
video? Ideas?

My current programming experience is limited to using MAX/MSP/Jitter
and Macromedia Director.

Thank you much for your time,
Olivia
Jul 18 '05 #1
2 4746
Olivia Robinson wrote:
Hi,
I am an artist who creates interactive video installations that are
controlled using a set of sensors, a microcontroller, computer and video
projector. Currently I am using MAX/MSP and Jitter to program how
information collected from the sensors then is used to manipulate
pre-recorded video footage.

I have been investigating Python as an alternative to using
MAX/MSP/Jitter to program the collection of information from the sensors
and the resulting video manipulation. I have not been able to find
information about manipulating video with Python, or collecting
information from a microcontroller.


Hi, here's my best guess at some tips for doing this, but it would be
nowhere as easy as using Jitter I bet (but free instead of $850).

First, see this related project that used sensors to create music, and
is programmed with Python. Simon Burton could give you some advice.
http://www.pcworld.idg.com.au/index.php?id=716362867
http://arrowtheory.com/hypersense/

The most difficult thing to program on your own may be reading the
sensor data from the computer. It used to be simple using serial ports,
but now we use USB. There are no solutions here, just some pointers to
related resources:
http://developers.coedit.net/UsbProgramming
http://developers.coedit.net/AudioProgramming

For the video and real-time video transformations, you would likely want
to use OpenGL from Python (pyopengl). It is possible to load a frame
from a video file as a texture in OpenGL. And you can manipulate it
just like any other texture or surface. Here are demos of this below.
The code can be adapted to pyopengl, but there is also some
Windows-specific and Mac-specific code to read the video format.
http://nehe.gamedev.net/data/lessons....asp?lesson=35
http://developer.apple.com/samplecod...nGL_Movie.html
Jul 18 '05 #2
Ian
On Tue, 25 May 2004 15:15:39 -0400, Olivia Robinson <ro****@rpi.edu>
wrote:

I have been investigating Python as an alternative to using
MAX/MSP/Jitter to program the collection of information from the
sensors and the resulting video manipulation. I have not been able to
find information about manipulating video with Python, or collecting


Hi Olivia,

I don't have answers for all your questions, but you may be interested
in this project:

http://aid.interaccess.org/drupal/

We are developing a standard microcontroller module for use by
artists, and have developed Python interfaces for it. We've also used
Director and Pure Data (similar to Max I understand). Currently the
module uses a serial interface, we use usb-to-serial adapters. We
have an experimental usb board interface and will be implementing usb
support for our Python module. All source will be available on our
site, as well as recipes for software and hardware configuration.
There are a variety of hardware interface modules available for the
board.

By the way you can build your own board from the info on our site,
or soon buy finished boards as well. We don't have any direct support
for video at the moment, but that should change soon.

Ian

Jul 18 '05 #3

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

Similar topics

0
1086
by: Dmitry Borisov | last post by:
Oops, typo. http://pymedia.sourceforge.net > For video manupulation you may try pymedia( http://pymedia.sourceforge.org ).
0
1541
by: dicky2283 | last post by:
windows development community please help me im deepak roy , doing my final year undergrad in computer science.... im doing a project - Motion detection and Tracking in vc++( video for...
5
2531
by: Ch3ru5 | last post by:
Hi, I want to write an avi to flv converter in php but i am a complete newbie to it. I would like to know the basic flow of entire process of how a converter code is written (ie. the basic...
7
5438
by: Paolo Pantaleo | last post by:
Hi, I need to write a software that allow to see the desktop and hear the microphone capture of a remote PC across a network. I need to do that for a unviresity assignement. The software must ...
0
1772
by: AK444 | last post by:
Hi Friends, Check here http://freevideolectures.com/computerscience.html for video lectures on Programming languages like C, C++, Java, COBOL etc.., OS, Algorithms, Data Structures, RDBMS, Web...
0
1193
by: AK444 | last post by:
Hi Friends, Check here http://freevideolectures.com/computerscience.html for video lectures on Programming languages like C, C++, Java, COBOL etc.., OS, Algorithms, Data Structures, RDBMS, Web...
4
4422
by: COHENMARVIN | last post by:
Are there any good sources on video game programming in vb.net? Is "DirectX" a set of libraries for video game programmers? The reason I ask is that I'd like to convert a board game into a...
6
3355
by: John Salerno | last post by:
Before I try this and destroy my computer :) I just wanted to see if this would even work at all. Is it possible to read a binary file such as an mp3 or an avi, put its contents into a new file,...
1
5686
by: manontheedge | last post by:
I'm looking for a way to read in a video file ( such as an mpeg file ) using C++ ... basically the idea is to "read in the video" frame by frame, so I can do some manipulation on each frame, search...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.