Hi Scott,

This is weird, it doesn't work here. What happens if you set "alwaysBuffer" to true?

I don't understand a couple of things about your snippet:

   set the currentTime of player 1 to (F * the timeScale of player 1)

In my case the timeScale is 600, so frame number * timeScale would give values that are way off. I multiple by 24 which is (timeScale / FramesPerSecond = 24). In this case FPS is 25 (I'm hardwiring this at the moment since I can't find out how to get this info from the player).

   set text of img _display to myVar

is there a difference between this and:

 put myImageData into image "ImageThumbnail"

It would be nice to know what "alwaysBuffer" actually does. It could be that there is an old copy of the buffer being used, or RunRev doesn't think the image has changed.

Thanks a lot,
All the Best
Dave

On 20 Jun 2007, at 12:41, Scott Rossi wrote:

Recently, Dave wrote:

I've had this before and found that the "always buffer" property has
to be set correctly for it to work. However, as far as I know, the
"always buffer" on the Player object should be set to true, but when
I do this RunRev Crashes. Why is this?

Can't tell you why Rev crashes but, for the most part, setting the
alwaysBuffer of a player will often degrade playback performance since Rev
tries to layer the player's content like an object.

I tried a simple test with a MOV file and got what I think are the results
you're aiming for.  I used the following script in a button with the
alwaysBuffer of the player set to false and the controller hidden.

on mouseUp
  repeat with F = 1 to 20
   set the currentTime of player 1 to (F * the timeScale of player 1)
export snapshot from rect (rect of player 1) of player 1 to myVar as JPEG
   set text of img _display to myVar
   wait 30 with messages
  end repeat
end mouseUp

On my end (OS X 10.4.9, Rev 2.8.1), the display image updates every half second with each frame captured from the movie. Appeared to work with both
JPEG and PNG export.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to