<div dir="ltr">Hi Benny,<div>Thanks for your post. I have been having some video issues as well, which I may have resolved finally, thanks to the great help of this google group (thank you David Mcfarlane!) and the EPRIME support staff.</div><div><br></div><div>A few of your recommendations were counter to either what I was recommended by the EPRIME support staff, or what I used on my own, so I thought I would ask for more information to better understand what these settings do and which might be best for my task.</div><div><br></div><div>1. Why do you suggest not using stretching? Originally, my videos only displayed a small portion of the video itself (videos are of a person standing but the video zoomed in to only display the person's nose). Stretching helped resolve this problem so that the entire video was displayed. Why do you recommend not using this option?</div><div><br></div><div>2. Why do you recommend deselecting the "stop after" command? The EPRIME staff had suggested selecting "yes" and specifying to stop after "next onset time". I would like to better understand when this is a good and when this is a poor option.</div><div><br></div><div>3. Why do you recommend changing to mp1? I have never worked with video files until now, so I am very ignorant. My first thought would be bigger/more advanced is better (i.e., use mp4 files). What are the pros and cons of using mp1 vs mp4 movie files with EPRIME?</div><div><br></div><div>Thanks for your help,</div><div>Katie<br><br>On Wednesday, August 31, 2011 10:01:02 PM UTC+9, Benny Liebold wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">After having read at lot in this group and the forum I feel the need
<br>to share the experiences I made in the past few days regarding two
<br>video issues.
<br>
<br>For my trial I wanted to use 180 video stimuli (each about 5 s) that
<br>were presented in a pre-randomized order. After intense testing of my
<br>trial I experienced two major issues regarding the presentation of the
<br>video stimuli. (1) Some test machines crashed during the trial with a
<br>frozen picture and an audio loop or simply displayed an error that
<br>should not be related to the design of the trial. (2) Some videos were
<br>aborted after about 700ms of playtime and the script jumped to the
<br>next one. I will refer to the latter one as “video jumping”.
<br>
<br>Those two issues gave quite me a headache … especially because the
<br>machine I used to design the trial did not produce any of these errors
<br>at all. But at that point I realized, that I used quite a potent
<br>machine for the trial design, being a 27” iMac with a 3.3 GHz Intel
<br>Core i7, 8GB Ram and a Radeon 4870 with 1 GB of video memory running
<br>Windows 7 x64 (fully updated). The test machines were not slow at all
<br>(AMD 64 X2 with 2.7 GHz, 4 GB Ram and a onboard Video Card with 256 MB
<br>of video memory running Windows 7 x86, fully updated), but the
<br>difference is quite significant. So this really had to be the cause
<br>for both issues I mentioned above. Consequently I had to deal with the
<br>video codec I used as I already used the latest build of E-Prime 2.0,
<br>the DivX codec packet and the K-Lite codec packet. The movie display
<br>did work, but it was quite unstable as mentioned above.
<br>
<br>At the beginning I used 720p-material (1280x720, 29,97 fps) and the h.
<br>264 codec as it is know for its superb compression abilities. The
<br>other side of the coin is the high CPU usage it produces when decoding
<br>the videos. Speaking of CPU-usage: I realized that E-Prime only uses
<br>one CPU-core! This really is a problem when you have quite potent
<br>multi-core CPUs but with a poor single-core performance. In fact the
<br>iMac’s Core i7 should be at least twice as fast as the AMDs in the
<br>test machines when using a single core. This is due to the higher CPU-
<br>clock, the i7’s ability to hyperthread and it’s Turbo mode which
<br>boosts the clock to 3.6 GHz when using only one core. The architecture
<br>is way ahead of the AMDs as well. So this really was on the one hand
<br>the Problem of my trial and on the other hand the weakness of the
<br>current E-Prime build. Why not using the full capabilities of current
<br>CPUs?
<br>
<br>Back to my trial: Consequently I had to lower the CPU-usage during
<br>video playback. So I re-encoded my files into MPEG1 as stated by many
<br>forum threads and built a small trial only running the stimuli in a
<br>randomized order. Additionally I logged the Start and Finish Times of
<br>the slides. After some testing with various video resolutions and bit
<br>rates I came to the following conclusions.
<br>
<br>1. the most important: take some time for intense testing and maxing
<br>out the stimulus quality (if necessary as in my case)
<br>2. and probably the second most important: use very fast machines/CPUs
<br>with high single-core capabilities (i.e. Intel Core i5 and i7; an
<br>older 3 GHz Intel Quadcore worked flawless as well) for the trial to
<br>avoid performance issues and video jumping
<br>3. preparation: deactivate any unnecessary services to maximize the
<br>machine performance (Windows-Key+A; type “msconfig”; go to services;
<br>mark “hide windows services” and deactivate all unnecessary services;
<br>go to system start and deactivate any unnecessary programs that would
<br>run in the background otherwise); also deinstall your virus scanning
<br>program and deactivate the Windows Defender (and its real time
<br>scanning ability); deactivate Windows 7 Aero; pluck out your network
<br>cable to avoid viruses ☺
<br>4. use MPEG1: this codec really IS CPU-friendly
<br>5. in Codec Config I finally used the standard MPEG-codecs; only for
<br>audio I used ffdshow-Audio as provided by the K-lite codec packet
<br>6. do NOT – under any circumstances – use the “stretch video” function
<br>if you experience issues related to poor performance; instead aim for
<br>higher resolutions in the initial conversion process and display the
<br>videos 1:1
<br>7. set “stop after” to “no” if you don’t need the function (don’t know
<br>if that really helped though …)
<br>8. the freezing-script-issue seemed to be related to the available
<br>video ram; every time the overall file size reached about 230 MB there
<br>was a 50% chance a system would freeze; so keep your file sizes small!
<br>Alternative: Use dedicated video cards with at least 512 MB of video
<br>ram
<br>9. try to experiment with the bit rate; for me bit rates between 800
<br>kbps and 1300 kbps worked quite well; every thing higher would lead to
<br>a freezing script; every thing lower lead to poor video quality; aim
<br>for a bitrate as high as possible (in fact the iMacs Core i7 could
<br>handle 6000 kbps in h.264 easily without any mistake; I settled with
<br>1024x576 at 1000 fps for the AMDs, this led to 0,625 jumped videos in
<br>average per trial, nothing the final data could not handle)
<br>10. video jumping can be observed by calculating the difference
<br>between the finish time and the start time of a slide; values lower
<br>than a threshold you have to define indicate jumped videos
<br>11. run theses tests on all of your test systems at the same time to
<br>compare the results and write down any crashes and video jumps per
<br>system to compare individual system stability as well
<br>12. finally, important to avoid losing cases: split your Experiment
<br>into the smallest possible count of parts; this way crashed parts can
<br>be re-initiated without starting allover again or loosing the
<br>participants data
<br>
<br>I really hope this helps! So good luck and interesting data for future
<br>experiments.
<br>
<br>---
<br>
<br>Benny Liebold, B.A.
<br>Academic Assistant
<br>
<br>Chair of Media Psychology
<br>Institute of Media Research
<br>
<br>Faculty of Humanities
<br>Chemnitz University of Technology
<br>Thüringer Weg 11, 09126 Chemnitz, Germany</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 <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/235aa47d-f910-47eb-adc2-cba4b8cbbc16%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/235aa47d-f910-47eb-adc2-cba4b8cbbc16%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />