stopping video playback beyond Duration (response contingent)?

David McFarlane mcfarla9 at msu.edu
Mon May 23 19:17:52 UTC 2011


David,

Hmm, glad I helped with some solutions.  I don't have time to explore 
the movie stopping issue myself just now, so let me just toss out 
some ideas for you to try.  I would look for a MovieDisplay 
equivalent to the the Stop method of the SoundOut class 
(SoundOut.Stop) (or more precisely, the SoundBuffer class, 
SoundBuffer.Stop).  This will take some sleuthing, as PST has yet to 
grace us with any documentation for Movies in the E-Basic Help 
facility.  To that end, I would also submit a request posthaste to 
PST Web Support at 
http://support.pstnet.com/e%2Dprime/support/login.asp -- this is 
after all pretty much their substitute for the documentation that 
they should provide in the first place, so don't be shy, PST seems to 
prefer to be liberal with their tech support and to document their 
stuff only on a "need to know" basis.  And then please post back here 
with whatever you find.

Thanks,
-- David McFarlane, Professional Faultfinder


At 5/23/2011 10:14 AM Monday, you wrote:
>just a quick follow-up to note that some of my timing issues have 
>been solved - I finally found some posts by David McFarlane that 
>were very helpful with a design like mine.
>
>Using extended input to collect response data rather than piecing it 
>together from multiple display objects:
>http://groups.google.com/group/e-prime/msg/e30fc88284d85e3c
>
>Using SetNextTargetOnsetTime to schedule upcoming events:
>http://groups.google.com/group/e-prime/msg/3f1b16b48a068f14
>
>However i'm still looking for ideas about stopping a video in 
>mid-play once its Duration has expired.
>
>cheers,
>David V
>
>
>>I have been wrestling with a MovieDisplay problem and wonder if anyone
>>on the list has any ideas.
>>
>>A simplified version of my trial sequence can be described like this:
>>
>>time 0: MovieDisplay begins
>>time 600: ImageDisplay begins while movie continues
>>time 2500: end of typical video (range 2000-3100).
>>Keypress can occur at any time during or after this sequence.
>>
>>Feedback on accuracy occurs after the response has been made.
>>
>>My current design starts with a MovieDisplay: keypress response,
>>duration/time limit = 600, stop after = no and end action = terminate.
>>
>>If MovieDisplay.RT > 0 the ImageDisplay is skipped, otherwise it's
>>displayed with duration = infinite (waits forever for a keyboard
>>response). I log variables for the ImageDisplay and use inline code to
>>update the logged variables for MovieDisplay as well.
>>
>>Then feedback occurs based on MovieDisplay.ACC. The problem is that
>>often feedback doesn't appear (it's actually being displayed behind the
>>video which continues until it is finished - video always takes display
>>priority).
>>
>>Is there any way to stop the video once a keypress to MovieDisplay or
>>ImageDisplay is recorded? I've tried various ways to deal with this (eg
>>setting Durations to 0 and using inline code to keep time) but have not
>>figured out a way to pull the plug on a video.
>>
>>I have been able to make the feedback display visible, for example
>>adding a long Wait object before the feedback, or increasing the
>>duration of the feedback object, or displaying the feedback off center -
>>but I'd prefer if participants didn't have to wait until the end of
>>video clips if they have already made early responses.
>>
>>any ideas or suggestions would be very helpful!
>
>
>--
>David Vinson, Ph.D.
>Senior Postdoctoral Researcher
>Cognitive, Perceptual and Brain Sciences Research Department
>University College London
>26 Bedford Way, London WC1H 0AP
>Tel +44 (0)20 7679 5311  (UCL internal ext. 25311)

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list