|
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
|
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
|
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
|
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
|
|
|
|
|