<doc>
  <legacy_id>2338</legacy_id>
  <name>revVideoGrabIdle</name>
  <type>command</type>
  <syntax>
    <example>revVideoGrabIdle</example>
  </syntax>
  <library>Video library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <command tag="revRecordVideo">revRecordVideo Command</command>
    <message tag="idle">idle Message</message>
    <command tag="revInitializeVideoGrabber">revInitializeVideoGrabber Command</command>
    <command tag="revPreviewVideo">revPreviewVideo Command</command>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
  </platforms>
  <classes>
    <desktop/>
  </classes>
  <security>
    <disk access="???"/>
    <privacy/>
  </security>
  <summary>Gives processing time to <glossary tag="QuickTime">QuickTime</glossary> during video previewing and recording.</summary>
  <examples>
    <example>revVideoGrabIdle</example>
    <example>send "revVideoGrabIdle" to me in 10 milliseconds</example>
  </examples>
  <description>
    <p>Use the <b>revVideoGrabIdle</b> <glossary tag="command">command</glossary> to avoid display problems during <glossary tag="video capture">video capture</glossary>.</p><p/><p><b>Comments:</b></p><p>When using QuickTime for video capture, you need to execute the <b>revVideoGrabIdle</b> command periodically in order to let <glossary tag="QuickTime">QuickTime</glossary> update the display. (Not doing so may cause the video in the <glossary tag="video grabber">video grabber</glossary> to stutter or display strange screen artifacts.) If you have issued the <command tag="revPreviewVideo">revPreviewVideo</command> or <command tag="revRecordVideo">revRecordVideo</command> <glossary tag="command">command</glossary>, be sure to call the <b>revVideoGrabIdle</b> <glossary tag="command">command</glossary> periodically until you stop previewing or recording video.</p><p/><p>There is no specific interval to use between calls to <b>revVideoGrabIdle</b>. If you are seeing jittering or strange artifacts in the <glossary tag="video grabber">video grabber</glossary> window, try decreasing the interval and calling <b>revVideoGrabIdle</b> more often.</p><p/><p><b>Note:</b> If you specified "VFW" or "directx" as the video method when you executed the <command tag="revInitializeVideoGrabber">revInitializeVideoGrabber</command> <glossary tag="command">command</glossary>, you don't need to call <b>revVideoGrabIdle</b>. If the <glossary tag="video capture">video capture</glossary> is using <glossary tag="VFW">Video for Windows</glossary>, the <b>revVideoGrabIdle</b> <glossary tag="command">command</glossary> is ignored and has no effect. You need to call <b>revVideoGrabIdle</b> only if you specified "QT" as the video method.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>revVideoGrabIdle</b> <glossary tag="command">command</glossary> is part of the <glossary tag="Video library">Video library</glossary>. To ensure that the <glossary tag="command">command</glossary> works in a <glossary tag="standalone application">standalone application</glossary>, you must include this <glossary tag="LiveCode custom library">custom library</glossary> when you create your <glossary tag="standalone application">standalone</glossary>. In the Inclusions section on the General screen of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure that "Video Grabber" is selected from the list of script libraries.</p>
  </description>
</doc>