﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » .gif loop problem</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 22 Jun 2026 08:55:03 GMT</lastBuildDate><ttl>20</ttl><item><title>.gif loop problem</title><link>https://forums.millisecond.com/Topic13461.aspx</link><description>Hi Dave&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;I'm having a bit of a problem getting a .gif to loop, but only when I present it as part of a trial with other image stimuli. Consider following&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;picture stillpic&amp;gt;&lt;/div&gt;&lt;div&gt;/ items = ("still.jpg")&lt;/div&gt;&lt;div&gt;/ size = (250px,250px)&lt;/div&gt;&lt;div&gt;/ position = (values.horizcentrepos, values.vertcentrepos)&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;video animatedpic&amp;gt;&lt;/div&gt;&lt;div&gt;/ items = ("animated.gif")&lt;/div&gt;&lt;div&gt;/ size = (250px,250px)&lt;/div&gt;&lt;div&gt;/ position = (values.horizcentrepos, values.vertcentrepos)&lt;/div&gt;&lt;div&gt;&amp;lt;/video&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;trial test&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 10pt;"&gt;/ stimulustimes = [0=stillpic;3000=animatedpic]&lt;div&gt;/ timeout = 5000&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;This trial crashes as soon as Inquisit tries to present the animatedpic .gif file. &amp;nbsp;I get the "Inquist has stopped working, Windows is looking for a solution" error. &amp;nbsp;The interesting thing is that the trial runs fine when the animated pic is not presented. &amp;nbsp;It also runs fine when ONLY the animated pic is presented. &amp;nbsp;It's seems to only be a problem when I try to present BOTH of the images.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Any thoughts?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Thanks&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Fri, 17 Mar 2017 16:40:05 GMT</pubDate><dc:creator>zajac</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic21121.aspx</link><description>&lt;div data-id="21120" class="if-quote-wrapper" unselectable="on" data-guid="1489793558749"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21120" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21120" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21120" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, March 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21120"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21119" class="if-quote-wrapper" unselectable="on" data-guid="1489793558749"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21119" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21119" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21119" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Eric del Rio - Friday, March 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21119"&gt;&lt;div class="if-quote-message-margin"&gt;I have been having a similar issue with using .gif in &amp;lt;video&amp;gt; as stimuli in my test (Inquisit 5). On windows machines, the program will crash after one or two instances of a .gif.&lt;br/&gt;&lt;br/&gt;On an iMac, the program will run, but .gif files get pretty choppy from time to time (start jumping and shaking on the screen). I've tried reducing the resolution of the images going into the .gif files but it doesn't seem to make a difference. When I use static images as stimuli, the program runs fine.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21119"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;As far as I can determine the problem ultimately comes from two sources:&lt;br/&gt;(1) The way Inquisit handles GIFs -- it essentially expands them into stimulusframes.&lt;br/&gt;(2) The fact that in your case GIFs are drawn on top of each other, i.e. introducing two sets of potentially conflicting stimulusframes in a given instance of a &amp;lt;trial&amp;gt;.&lt;br/&gt;&lt;br/&gt;Due to platform differences, this leads to a crash under Windows and "choppiness" under OSX.&lt;br/&gt;&lt;br/&gt;The best "quick fix" I can see is to either (a) switch to a different (non-GIF) video format or (b) split things into separate &amp;lt;trial&amp;gt;s, i.e. instead of inserting the GIFs at values.stiminterval &lt;br/&gt;&lt;br/&gt;&amp;lt;trial TargBP&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = NonBP, NonFace]&lt;br/&gt;/ontrialbegin = [&lt;br/&gt;values.rt = 0;&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br/&gt;values.stiminterval = list.stimulusinterval.nextvalue;&lt;br/&gt;&lt;strong&gt;trial.TargBP.insertstimulustime(video.NonFace, values.stiminterval);&lt;br/&gt;trial.TargBP.insertstimulustime(video.TargetBP, values.stiminterval);&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;have the trial only display NonBP and NonFace and set it to /timeout = values.stiminterval; if no response occurs prior to timeout, /branch to a 2nd &amp;lt;trial&amp;gt; that displays NonFace and TargetBP.&lt;br/&gt;&lt;br/&gt;Hope this helps.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21120"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Thanks Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I shortened up the .gif files and optimized them so they are not such big file sizes. With the new .gif they won't overlap unless I loop them, I've tried to make the changes in the .gifs happen at a rate so that the delay during the change between non-target and target .gif files isn't so obvious.&lt;br/&gt;&lt;br/&gt;Thanks again for all of your help&lt;br/&gt;&lt;br/&gt;Eric</description><pubDate>Fri, 17 Mar 2017 16:40:05 GMT</pubDate><dc:creator>Eric del Rio</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic21120.aspx</link><description>&lt;div data-id="21119" class="if-quote-wrapper" unselectable="on" data-guid="1489790500074"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21119" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21119" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21119" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Eric del Rio - Friday, March 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21119"&gt;&lt;div class="if-quote-message-margin"&gt;I have been having a similar issue with using .gif in &amp;lt;video&amp;gt; as stimuli in my test (Inquisit 5). On windows machines, the program will crash after one or two instances of a .gif.&lt;br/&gt;&lt;br/&gt;On an iMac, the program will run, but .gif files get pretty choppy from time to time (start jumping and shaking on the screen). I've tried reducing the resolution of the images going into the .gif files but it doesn't seem to make a difference. When I use static images as stimuli, the program runs fine.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21119"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;As far as I can determine the problem ultimately comes from two sources:&lt;br/&gt;(1) The way Inquisit handles GIFs -- it essentially expands them into stimulusframes.&lt;br/&gt;(2) The fact that in your case GIFs are drawn on top of each other, i.e. introducing two sets of potentially conflicting stimulusframes in a given instance of a &amp;lt;trial&amp;gt;.&lt;br/&gt;&lt;br/&gt;Due to platform differences, this leads to a crash under Windows and "choppiness" under OSX.&lt;br/&gt;&lt;br/&gt;The best "quick fix" I can see is to either (a) switch to a different (non-GIF) video format or (b) split things into separate &amp;lt;trial&amp;gt;s, i.e. instead of inserting the GIFs at values.stiminterval &lt;br/&gt;&lt;br/&gt;&amp;lt;trial TargBP&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = NonBP, NonFace]&lt;br/&gt;/ontrialbegin = [&lt;br/&gt;values.rt = 0;&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br/&gt;values.stiminterval = list.stimulusinterval.nextvalue;&lt;br/&gt;&lt;strong&gt;trial.TargBP.insertstimulustime(video.NonFace, values.stiminterval);&lt;br/&gt;trial.TargBP.insertstimulustime(video.TargetBP, values.stiminterval);&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;have the trial only display NonBP and NonFace and set it to /timeout = values.stiminterval; if no response occurs prior to timeout, /branch to a 2nd &amp;lt;trial&amp;gt; that displays NonFace and TargetBP.&lt;br/&gt;&lt;br/&gt;Hope this helps.&lt;br/&gt;</description><pubDate>Fri, 17 Mar 2017 16:29:29 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic21119.aspx</link><description>I have been having a similar issue with using .gif in &amp;lt;video&amp;gt; as stimuli in my test (Inquisit 5). On windows machines, the program will crash after one or two instances of a .gif.&lt;br/&gt;&lt;br/&gt;On an iMac, the program will run, but .gif files get pretty choppy from time to time (start jumping and shaking on the screen). I've tried reducing the resolution of the images going into the .gif files but it doesn't seem to make a difference. When I use static images as stimuli, the program runs fine.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 17 Mar 2017 15:09:00 GMT</pubDate><dc:creator>Eric del Rio</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13510.aspx</link><description>Thanks. Let me know what you find. Just for clarification, the error message you posted&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;gt; Faulting application name: Inquisit.exe,&lt;strong&gt; version: 4.0.3.0&lt;/strong&gt;, time stamp: 0x51d05b53&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;refers to a (very) outdated Inquisit version (4.0.3.0). So, either that crash message stems from before updating the respective machine or the system is still running an old build.&lt;br/&gt;&lt;/div&gt;</description><pubDate>Tue, 10 Jun 2014 04:46:15 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13507.aspx</link><description>I'm going to run your test script later today and see if I can get the error to occur. &amp;nbsp;It has happened barely a handful of times on the new install. &amp;nbsp;I have gone over the windows error log and found the relevant entry. &amp;nbsp;This is the info I can extract from it. &amp;nbsp;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;GENERAL:&lt;div&gt;&lt;div&gt;Faulting application name: Inquisit.exe, version: 4.0.3.0, time stamp: 0x51d05b53&lt;/div&gt;&lt;div&gt;Faulting module name: d2d1.dll, version: 6.2.9200.16765, time stamp: 0x528bf6b2&lt;/div&gt;&lt;div&gt;Exception code: 0xc0000420&lt;/div&gt;&lt;div&gt;Fault offset: 0x002466e8&lt;/div&gt;&lt;div&gt;Faulting process id: 0x27bc&lt;/div&gt;&lt;div&gt;Faulting application start time: 0x01cf7fed2688f8db&lt;/div&gt;&lt;div&gt;Faulting application path: C:\Program Files\Millisecond Software\Inquisit 4\Inquisit.exe&lt;/div&gt;&lt;div&gt;Faulting module path: C:\Windows\system32\d2d1.dll&lt;/div&gt;&lt;div&gt;Report Id: b31e29dd-ebe0-11e3-b373-2016d891ba21&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;I can't really find anything in there that looks like it will help narrow things down. &amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Mon, 09 Jun 2014 20:08:23 GMT</pubDate><dc:creator>zajac</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13477.aspx</link><description>For the Windows logs right-click the Computer icon -&amp;gt; Manage -&amp;gt; Event Viewer -&amp;gt; Windows Logs -&amp;gt; Application. From there you can filter the log (i.e. display only the relevant entries / entry types) and save them to file.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Inquisit also keeps its own technical log, which is accessible via Tools -&amp;gt; View Log File... &lt;div&gt;&lt;br/&gt;&lt;/div&gt;Meanwhile I have been running a couple of test using the files you kindly provided and a bit of simple code:&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-100=test]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture stillpic&amp;gt;&lt;br/&gt;/ items = ("static.jpg")&lt;br/&gt;/ size = (250px,250px)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;video animatedpic&amp;gt;&lt;br/&gt;/ items = ("solid.gif", "transparent.gif")&lt;br/&gt;/ loop = true&lt;br/&gt;/ size = (250px,250px)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial test&amp;gt;&lt;br/&gt;/ stimulustimes = [0=stillpic;3000=animatedpic]&lt;br/&gt;/ timeout = 5000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Unfortunately I have so far been unable to observe the crash you described. This is true for version 4.0.5.0 as well as a current 4.0.6.0 pre-release build. It also doesn't make any difference whether the transparent- or solid-background GIF is used.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;When you say the crash happens randomly, how frequently does it occur (i.e. approx. 1 out of N trials)? Is the crash tied to any specific files (i.e. only happens for certain GIFs)?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;To rule out some other additional factor necessary to cause the crash, are you able to reproduce it using the above code?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thanks!&lt;br/&gt;</description><pubDate>Thu, 05 Jun 2014 03:48:57 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13475.aspx</link><description>Do you know of a way I can recover the Inquisit/Windows error logs that were occurring for me from my machine?&amp;nbsp; Would these be useful for you?&lt;br/&gt;</description><pubDate>Wed, 04 Jun 2014 23:35:59 GMT</pubDate><dc:creator>zajac</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13474.aspx</link><description>Thanks for the files. We'll take a look at this ASAP. If you come across any additional details or insights in the meantime, please don't hesitate to add them to this thread.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thanks!&lt;br/&gt;</description><pubDate>Wed, 04 Jun 2014 18:06:13 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13473.aspx</link><description>Hi Dave&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;I realise at the same time as editing the image, that I updated Inquisit to the latest version.&amp;nbsp; This morning, having tested on a touch-screen machine, I also had to update Inquisit to resolve the error (I was running 4.04 something before).&amp;nbsp; However, it isn't completely resolved.&amp;nbsp; Despite the upgrade, I have had the same error sporadically when Inquisit tries to run a trial.&amp;nbsp; It is unpredictable.&amp;nbsp; Previously, on the older version, it happened every time.&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;One of the machines I use is WIN 7 Enterprise.&amp;nbsp; The other is WIN 8.1 Ent...&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;The images are attached.&amp;nbsp;&amp;nbsp; &lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Wed, 04 Jun 2014 17:48:11 GMT</pubDate><dc:creator>zajac</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13464.aspx</link><description>Yes, it is a bit strange. Can you share both versions of one such .GIF (with / without transparency)? Could you attach them here?&lt;br/&gt;</description><pubDate>Wed, 04 Jun 2014 05:35:58 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: .gif loop problem</title><link>https://forums.millisecond.com/Topic13463.aspx</link><description>I've messed around with this a bit more. &amp;nbsp;I've edited the .gif files and deleted the transparent background layer. &amp;nbsp;Everything seems to work fine now. &amp;nbsp;Strange hey?</description><pubDate>Wed, 04 Jun 2014 04:56:45 GMT</pubDate><dc:creator>zajac</dc:creator></item></channel></rss>