<div dir="ltr">Hi,<div><br></div><div>I am experiencing the same problem, and would appreciate any advice.</div><div><br></div><div>I have 8 videos in my study, which is running in E-Prime 2. Each video is approximately 3 minutes long and in avi (MPEG4 [Xvid] and MPEG4 [FMP4]) format, with MPEG-1 Layer 3 (MP3) stereo sound. There is a gap ranging between 30 seconds to 2 minutes in between the different videos. The e-prime file executes just fine, and runs to the end. The videos play, but then randomly cut off somewhere through the video. The experiment then just goes on the next stimulus. They videos do not always stop at the same point, and it does not matter whether they are displayed early on or later into the experiment. The videos do lag, however, and the sound and image may go out of sync before the movie ends. All the videos play correctly on the computer outside of e-prime (on VLC and Windows Media Player).</div><div><br></div><div>It is not just the case that the larger video file is the more likely it is to stop, but what I have noticed is that the videos that I resized beforehand using Avidemux never play to the end. The videos that were in the correct resolution (1024 x 1028) to start with do not give the same problems. However, I would like all of the videos in the experiment to be the same resolution (or at least same length, without needing to stretch them), so I have no option but to resize the videos.</div><div><br></div><div>I have tried converting the videos to a different format (mpeg1) as suggested elsewhere (<a href="https://groups.google.com/forum/#!msg/e-prime/ENSVeWNy6p0/RyME4_tKof4J">https://groups.google.com/forum/#!msg/e-prime/ENSVeWNy6p0/RyME4_tKof4J</a>), but that only made it worse. I have also tried to increase the pre-release time, set the MovieDisplay to show the movie for a fixed amount of time, and simplifying the script to the very basics; all to no effect. Even the simplest possible experiment with only one movie in it fails to display the movie to the end. I have installed the latest Combined Community Codec Pack (2013-08-01; <a href="http://www.cccp-project.net/wiki/index.php?title=Main_Page">http://www.cccp-project.net/wiki/index.php?title=Main_Page</a>), but it has not made a difference.</div><div><br></div><div>The experimental computer is an Intel i3 530@2.93 GHz machine with 1.86 GB Ram and an Intel H55 Express chipset, running a 1280 x 1024 16bit desktop display. I suspect that the computer is underpowered. I have run the experiment on my laptop and the videos ran smoothly (I can't use my laptop for the final presentation as I need to use the lab computer that is connected to the eye tracking equipment).</div><div><br></div><div>Another possibility would be the interaction of the codecs with e-prime. I ran the e-prime codec config tool, and it renders all the files correctly. However, they still perform as described above when running the actual experiment. Everything in the e-prime codec config is currently set to the default values. Is there perhaps something within this tool that I could change to give a better result?</div><div><br></div><div>I don't know whether the recoding with Avidemux caused the problem (has anyone else used it successfully/unsuccessfully with e-prime?), or whether just resizing the videos was problematic in general.</div><div><br></div><div>Any suggestions on how to get the movies to display correctly? Your help would be greatly appreciated.</div><div><br></div><div>Thank you,</div><div>Michelle</div><div><br><br>On Monday, 27 February 2012 12:33:14 UTC+2, Vinson, David: UCL wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Lindsay,<p>Unfortunately it can be a lot of work to get videos to display <br>correctly, and it looks like you've gone through a sensible process so <br>far. We experienced something similar, and suspected it could be <br>related to the time it takes to load the video files from the hard drive <br>and get them displayed in time. We might not be correct but we managed <br>to eliminate these problems (or at least sufficiently reduce them) by a <br>combination of a few factors:</p><p>1. pre-load the video (e.g. MovieDisplay1.Load in an inline object) well <br>before the movie is due to start playing<br>2. include a fairly high % of breaks between trials if possible, which <br>may help resolve the buildup of lag<br>3. if you are using an older/slower machine it may be useful to have <br>video files on a different hard drive than the one being used for <br>virtual memory</p><p>And 4. a bit more "trial and error" with video formats. Keep in mind <br>that just converting from one video format to another may not be <br>sufficient - it may be necessary to re-compress with a different codec.</p><p>In troubleshooting these matters it may also be helpful to set up the <br>simplest possible miniature version of your experiment (e.g. just one or <br>two videos) repeated many times in the simplest possible trial sequence, <br>and see if your problem reproduces under those conditions.</p><p>OR.... am I missing something here - if one of your videos is 13 sec and <br>you only display it for 7 seconds, this would cut it off about halfway <br>through. But surely it's not as simple as this.</p><p>good luck, and please report back to the list if you figure it out.<br>-dv</p><p></p><p>On 25/02/2012 20:06, Lindsay wrote:<br>> I am setting up an experiment with videos and am playing around with<br>> displaying the videos to make sure it will work for our study. The<br>> videos will play, but they will not play for the whole length every<br>> time. I am using two practice videos, one 13 seconds and one 6 seconds<br>> long, and have the program set up to randomly pull them from a list<br>> and play them after a blank screen. I have tried pre-release, changing<br>> the run time of the videos, and various video formats, but have not<br>> had much success. When I increase the number of cycles, some of the<br>> presentations will run the whole time and some will cut off half-way<br>> through. The timing of the presentation of stimuli is not necessarily<br>> important, but we need each video to run for the set length of time<br>> (about 7 seconds).<br>><br>> We are expanding upon a study that used still images, so we are not as<br>> familiar with the various video formats, compressions, etc. I would<br>> appreciate any help!<br>><br>> Lindsay<br>></p><p>-- <br>David Vinson, Ph.D.<br>Senior Postdoctoral Researcher<br>Cognitive, Perceptual and Brain Sciences Research Department<br>University College London<br>26 Bedford Way, London WC1H 0AP<br>Tel +44 (0)20 7679 5311 (UCL internal ext. 25311)</p><p><br></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></blockquote></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/142a9d9b-5d52-4243-a42a-6e75559ed4cc%40googlegroups.com?hl=en-US">https://groups.google.com/d/msgid/e-prime/142a9d9b-5d52-4243-a42a-6e75559ed4cc%40googlegroups.com?hl=en-US</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />