FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Video, Camera
(Moderator: REAS)
   Audio track with Quicktime
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Audio track with Quicktime  (Read 831 times)
ethank


Audio track with Quicktime
« on: Sep 25th, 2004, 11:59pm »

Is there a way in processing to deal with the audio track of a quicktime movie in sync with the video? Like for instance getting the levels?
 
ethank


Re: Audio track with Quicktime
« Reply #1 on: Oct 10th, 2004, 2:30am »

So is it not possible to get audio levels from a Quicktime frame?
 
bsr

WWW Email
Re: Audio track with Quicktime
« Reply #2 on: Oct 10th, 2004, 12:05pm »

sorry you've not got a reply sooner, i did see the original post but thought i'd leave it to someone more knowledgable.
 
you're talking about playing a quicktime movie and at the same time doing some kind of overlay using the audio data from it?
 
use SONIA/jsyns liveinput: http://processing.org/reference/libraries/sonia/ - the getspectrum() function will help you sync stuff. not tried this myself but it should work.
 

http://hippocamp.net
ethank


Re: Audio track with Quicktime
« Reply #3 on: Oct 30th, 2004, 1:12am »

Well, what I basically want to do is parse through a Quicktime file and assemble a new clip from only the frames with audio below a specific DB.
 
So far I haven't found a way to do this.
 
bsr

WWW Email
Re: Audio track with Quicktime
« Reply #4 on: Oct 30th, 2004, 8:50pm »

that'd be a nice project, you could do it using SONIA's getLevel() function and then use saveFrame() to output numbered images that could be assembled into a movie. gettng the audio as well is more difficult.
 

http://hippocamp.net
ethank


Re: Audio track with Quicktime
« Reply #5 on: Oct 31st, 2004, 1:36am »

So sonia can handle audio from Quicktime? it appears Sonia only handles wave and aiff, not quicktime.
 
fjen

WWW
Re: Audio track with Quicktime
« Reply #6 on: Oct 31st, 2004, 2:19am »

but quicktime does handle quicktime ... nice one, i know. you can use quicktime-for-java to get levels from a running qt.
 
it's a little tricky - will post an example for you tomorrow.
 
/F
 
ethank


Re: Audio track with Quicktime
« Reply #7 on: Oct 31st, 2004, 8:19am »

You rock
 
fjen

WWW
Re: Audio track with Quicktime
« Reply #8 on: Oct 31st, 2004, 2:20pm »

and here you go ... not the nicest code, it's just a quick test to play with qtjava a little:
 
http://www.florianjenett.de/p55/qtSimplePlayer.zip
 
no saving to movie-file and no skipping back and forth in the movie .. so not fully what you've asked for, but might get you started.
 
/F
 
btw: full video is here:
http://www.arosa2000.com/home/videosection/fastfunk.html
« Last Edit: Oct 31st, 2004, 2:22pm by fjen »  
Pages: 1 

« Previous topic | Next topic »