Video freezing on final frame


Author
Message
ewa2702
ewa2702
Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)
Group: Forum Members
Posts: 8, Visits: 37
Hey all,

When I run my script, the video freezes on the final frame, and I am not entirely sure why... It's a pretty simple script which shows participants one of two randomly-selected videos. Has anyone had any similar problems or experience in fixing this?

My script is:

<values>
/condition = round(rand(1,2))
</values>

<expt conditionmanipulation>
/ blocks = [1=video]
</expt>


<defaults>
/fontstyle = ("Tahoma", 15px, false, false)
</defaults>

<page videoinstruct>
~nYou are about to watch a short video. It may take a few moments to load, so please be patient.
</page>

<block video>
/trials = [1=videocontainer]
/screencolor = black
/preinstructions = (videoinstruct)
</block>

<trial videocontainer>
/stimulustimes = [3000=manipulation]
/timeout = 415000
</trial>

<video manipulation>
/ items = ("Scream.wmv","Plants.wmv")
/ select = values.condition
/ playthrough = true
/ size = (30%, 30%)
</video>


Any help is much appreciated, thanks!!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Your <trial> accepts no input and automatically times out after about 7 minutes. If the videos are shorter than 7 minutes, their final frame will be displayed until the trial terminates.

ewa2702
ewa2702
Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)
Group: Forum Members
Posts: 8, Visits: 37
The video is 6:42, hence it should automatically time out 10 seconds or so after it finishes. But it doesn't. Would you recommend just removing the time-out parameter completely?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Hmm, that's weird. Try changing the <trial> definition to

<trial videocontainer>
/stimulustimes = [3000=manipulation]
/ validresponse = (0)
/timeout = 10000
</trial>

That should have the <trial> terminate immediately after the video playback is complete. When the <video>'s /playthrough attribute is set to true, you can specify a timeout or trialduration < the video duration. The video will play back fully nonetheless.

ewa2702
ewa2702
Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)Partner Member (784 reputation)
Group: Forum Members
Posts: 8, Visits: 37
That was perfect, thank you so much!!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search