I’ve been having trouble creating a seamless sequence of video from a set of smaller clips. I have tried making a vector of clips and iterating but I get a pause between each clip. I wanted to try using a vector/pointer format as described here:
http://forum.openframeworks.cc/t/video-stuck-problem/3851/0](http://forum.openframeworks.cc/index.php/topic,3851.0.html)
Is it possible to play through the vector from beginning to end without iterating and checking states of each clip? As in:
setup(){
vector<ofVideoPlayer*>clips;
ofVideoPlayer* p = new ofVideoPlayer();
clips.push_back(p);
clips.at(0)->loadMovie("clip1.mov");
clips.at(0)->setLoopState(OF_LOOP_NONE);
//etc .... for each clip
}
update(){
clips.update(); //obviously not the right syntax but this is the idea
}
draw(){
clips.draw(0,0);
}
Is there a better option for playing a sequence of clips seamlessly?
Thanks
OSX 10.7.2
XCode 4.2.1
OF 007