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_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   BVideo rewind/fast-forwarding?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: BVideo rewind/fast-forwarding?  (Read 416 times)
saito

tatsuyas1979 WWW Email
BVideo rewind/fast-forwarding?
« on: Oct 29th, 2003, 9:10pm »

Hello.
 
Could somebody tell me how to play BVideo object from a certain frame?  
BSound seems to have a similar function.  
Is it simply not supported yet? Or, is there any unofficial way to do that?
 
 

-SAITO / tatsuyas@ucla.edu
REAS


WWW
Re: BVideo rewind/fast-forwarding?
« Reply #1 on: Oct 30th, 2003, 8:27pm »

to my knowlege, it hasn't been written yet. i'll ask hernando...
 
hbarragan

WWW
Re: BVideo rewind/fast-forwarding?
« Reply #2 on: Oct 30th, 2003, 9:23pm »

Actually is not available in the video API, and as BVideo is based on Quicktime Movie object it doesn't provide a method to position at a determinated frame. The concept of frame is kind of abstract in this context, the movie is not stored a series of frames, for instance you may loss frames while playing a movie, even more when the movie is being loaded from a file or from the net the system doesn't know the size of it until it is fully loaded. It gets enough of it to know basic things like the frame size (frame width and height) while downloading.  
The display of a movie is happening as a capturing (snapshot) of a playing movie. so a frame is captured from the movie at certain rate, but how many frames available? you can't know.
 
Going deeper into it, the positioning could be made through the Quicktime movie controller, but then the movie will be a kind of encapsulated object (with the traditional QT controls: play, stop etc.), and will not be presented as it is now, (series of images one after another) with control on every single captured frame. With the movie controller it is possible to access the  time scale and then it is possible to position the playhead at a certain time, but not at an specific frame.
 
Pages: 1 

« Previous topic | Next topic »