So it's been a while since my first post.

Finally I managed to learn and build the patch I needed for my project, all at the same time. The idea was to feed MAX with 5 video cameras and create 5 separate videos from it. The videos created where some kind of edition of the video income, as not everything that came from each camera had to be in each final video.
So what I did was getting Ableton Live (from where I also sent two separate channels of audio) to send MIDI notes telling MAX which camera had to capture and when. I finally had to use two computers because I wanted maximum quality, therefore fireware and not USB. I could only get one fireware camera into each computer at a time (I finally got two cameras in one of the computers where I installed Windows 7 in BootCamp) because of a Quicktime limitation. So Live was telling both MAX in both computers (through a MIDI cable) exactly when to capture what.


The patch is made of one jit.qt.grab object for each camera. According to the MIDI in note, the grab objects (in a subpatcher) create little videos.


The name of the videos is set by a little subpatcher which adds up a number each time it receives
the MIDI note.


So after all the little videos have been captured by each grab object (three on one computer, two on the other one), I use jit.qt.movie to put all these videos together and export a mp4 video file that can be read by five multimedia players that I bought (the simplest way I found to play five independent videos). Again, it's a MIDI note telling the program "ok, now make a big video out of all these little ones". I created a small video in black which I could load already at when opening the patch. This way I could set the export settings before hand.




The big problem I got was when I tried to append all the videos automatically into the qt.movie object. I know there must be a way, but I didn't have the time to find it! So what I did finally was writing the name of all the videos (which is always the same). The resulting patch is rather beautiful.



I had to use sprintf because I couldn't get a message to output file locations with the $1 system. So I spent quite a lot of time finding this out, until my savior Yoann Trellu told me about sprintf.


Conclusion: I love MAX and the way it works. It takes a lot of time to learn its mechanics, but I will continue exploring its possibilities. Next I want to dive into the world of MSP which I didn't have the time to even touch! The sound was captured directly with he write_audio message of the grab object.


If anyone is interested in knowing more about the patch I just tried to explain or about the project it was used for, please don't hesitate asking me. I will answer with pleasure to all questions and suggestions.


See you all!


Pablo


Views: 113

Comment

You need to be a member of dance-tech to add comments!

Join dance-tech

Humans exploring collaboration, coops, hybrid art, dance, embodiment, cognition, tech-science, networks, post-humanism and culture.

welcome to UNSTABLELANDSCAPE

WE LIVE WITHIN AN UNSTABLE LANDSCAPE

This is a social networking website connecting people concerned about innovation and experimentation on art, dance, embodiment, cognition, science, networks, post-humanism, media and the unstable landscape of contemporary culture and life.

We are in a transitional phase and refocusing the network with a broader interdisciplinary framework. It will reflect a contemporary  community interacting and embedded  unstablelandscape.

This network is maintained and administrated by Marlon Barrios Solano as an independent art/curatorial/social innovation project.

You can donate to support my work here:

WOULD YOU LIKE MAKE A ONE TIME DONATION?


Support  making a single donation of any amount.
Thank you!

Contact:

marlon@dance-tech.net

for more information

We are creating an alternative cryptoeconomy:

MotionDAO is supported in part by the Near CreativeDAO Guilds

Get your Near Wallet and be part of the MotionDAO

YOU MAY DONATE NEAR HERE using your NEARWALLET

MotionDAO wallet address:

motiondao.sputnik-dao.near

Dance-tech.net was generously supported  from January 2017 to January 2020 by:

 Motion Bank/Choreographic Coding Labs (Frankfurt)

 

You must SIGN-UP to interact with dance-tech.net members enjoy the social networking features.

The use of dance-tech.net and dance-tech.tv is FREE

Creative Commons License
All content uploaded @
http://www.dance-tech.net
is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

MEMBERS ARE RESPONSIBLE ABOUT RESPECTING THE LICENSES OF THEIR UPLOADED CONTENT.

LICENSE YOU CONTENT
LEARN MORE ABOUT CREATIVE COMMONS

 

watch dance-tech.tv

Promote events here!!


© 2024   Created by Marlon Barrios Solano.   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service