How to code script to playback a video in 2 hrs

Hi,
I want to write a dir script to loop some pictures.for
example,if I have 5 pcs frames,I just want to realize to loop these
5 pcs frames within 2 hrs, after 2 hrs the playhead stop the sixth
frame,i dont know how to control the time,I once tried to use
timecounter but fail ,any help should be appreciated.
Tks &Rgs
leoyang

In the lingo help file, look up "_system.time()". This is a
way to track time on the local computer. You can use that to set
your time delay.
global gTheExpireTime
on StartMovie
the itemdelimiter = ":" ----Using the ":" as an item
delimiter; to differenciate between the hours and minutes places
-----Your 2 hour delay added to the hours place in the time
gTheExpireTime =string(value(_system.time().item[1]) + 2)
& ":" & _system.time().item[2]
end
on YourTrackingHandler --exitframe, enterframe,
prepareframe,...
if gTheExpireTime = _system.time() then Expired() --Using the
"Expired" Hnadler as the trigger for what you want to happen in 2
hours
end
This script ought to work but I dont know the details of your
project. Let me know if you are still having problems.

Similar Messages

  • How do I fix juddering playback of video on BBC News site

    Hi
    When I play video on the BBC News site it is juddering and not playing back properly.  Is there anything I should do to prevent/fix this please?
    C

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How can I connect my iMac to a TV for playback of videos? My TV does not have HDMI.

    How can I connect my iMac to a TV for playback of videos? My TV does not have HDMI.

    You need to find out what video out you have on your iMac, and what kind of video inputs there are on your TV.
    It will help to know exactly what model iMac and exactly what make/model TV you have.
    Depending on the exact model iMac you have, it may have miniVGA, miniDVI, miniDisplayPort or Thunderbolt output.  Your TV may have composite, S-video, component, DVI, VGA or HDMI inputs.  Once you confirm what kind of ports your iMac and TV have, then we can probably suggest the correct cable or adapter so you can connect them to each other.

  • How do you auto reconnect a live video stream broadcast in flash action script 3?

    how do you auto reconnect a live video stream broadcast in flash action script 3?
    so i don't have to ask people to refresh the page if the connection drops
    i copy pasted the live video stream broadcast files and script from here;
    http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
    http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
    server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
    /node_1278314297096/file.res/beginner_live_fms3.zip
    i don't know what i'm doing

    Why don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?

  • In the Quicktime 7 A/V controls, how fast is the 2x playback really because it isnt twice as fast. I shot a music video on the 2x setting and when we slowed the footage down to half time, it did not line up.

    In the Quicktime 7 A/V controls, how fast is the 2x playback really because it isnt twice as fast. I shot a music video on the 2x setting and when we slowed the footage down to half time, it did not line up.

    one last thing: I'm also getting this problem here too:
    https://discussions.apple.com/thread/5324398?start=15&tstart=0

  • Is there a script that can prevent videos to work?

    I have a template from template monster , and for some reason
    videos wont play in it , its like it totally ignores the video, so
    i was wondering if template monster put a script somewhere that
    disables video.
    Thanks

    I highly doubt that. I have seen several templates from
    template monster (from people sending me them in order to help
    them), and I have to say that those templates are crap. The code
    they use seems like it came from Flash 5. They are WAY over-coded
    and almost impossible to trace their logic in order to add or
    subtract elements from the template.
    Anyway, I'm sure the video not playing has something to do
    with your code and/or how you are applying it. Can you post
    something to look at (maybe yet another crappy template)...
    lol

  • I have been looking everywhere on how to code a contact form with as3

    I wouldn't think it is such an uncommon thing, but I have been unable to find tutorials past flash 5, or as2, on how to code contact forms.
    I have a simple movieclip symbol, with text fields, all with instance names, and need to find out how to pass the information from flash to a php
    script.  If anyone can help, or atleast point me towards a tutorial that uses something newer than flash 5 and newer than 2004, it would be awesome.

    Would any of these work?
    http://www.webdesignmo.com/blog/2008/08/14/flash-contact-form-in-actionscript-3/
    check this one first:
    http://www.kirupa.com/forum/showthread.php?t=272898
    http://www.edesignerz.net/flash/527--flash-cs3-as3-contact-form-with-php-parser-actionscri pt-3-video-tutorial
    Hope this helps!

  • How to Print a Character in Reverse video ...?

    Hi Could any one of you help me " How to print a character in Reverse Video " in SMART Forms and in SAP Scripts.
    Regards,
    Saravanan
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Mar 26, 2009 5:31 PM

    deepak_c3 wrote:
    Thanks for the info.,
    where should the page number n-1-i be returned ?
    Which method implementation of Pageable interface should return the page number ?w.r.t. your first question: don't return that number but return page n-1-i when page i is requested; your document will be printed in reverse order. Your class should implement the entire interface and wrap the original Pageable. (for that number n your class can consult the wrapped interface; read the API for the Pageable interface).
    kind regards,
    Jos

  • How to fix YouTube HTML5 playback?

    All I want is to have 1080p available for YouTube with HTML5. The only way to achieve this I know of is enabling MSE (media source extensions). Enabling the required option [1] leads to stalled playback of videos. They don't play. Sometimes they do buffer. They may play for few seconds. Once they stall, it's done.
    Additional info:
    It seems that when HTML5 playback ceases to work, Firefox will also refuse to close its process upon closing.
    [code]
    Image PID Hard Faults/sec Commit (KB) Working Set (KB) Shareable (KB) Private (KB)
    firefox.exe 1112 0 974 740 927 388 67 800 859 588
    [/code]
    What I have already tried?
    confirming I'm actually on HTML5 player
    Restarting without addons.
    Clearing all history, cache, cookies etc.
    enabling all 3 options below
    [1] media.mediasource.enabled
    [2] media.mediasource.mp4.enabled
    [3] media.mediasource.webm.enabled
    Related:
    https://support.mozilla.org/en-US/questions/1027719
    https://support.mozilla.org/en-US/questions/1006250
    http://www.ghacks.net/2014/10/26/the-state-of-media-source-extensions-in-firefox/

    Hello Ayanna R
    Verify that you have done some of the other steps in the article below to resolve issues with audio playback. The only other advice I can give is updating iTunes.
    iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
    http://support.apple.com/kb/ts1362
    Regards,
    -Norm G.

  • How can I see thumbnail pictures for Videos like I can see for Jpegs

    How can I see thumbnail pictures for videos like I can see for Jpegs in Elements organizer.
    Thanks
    BillJa

    You should get the mobile version of YouTube which sends Firefox a notice to open it in the YouTube App. That will have a much better playback experience than running Flash in the browser.

  • How to use Script in ADF model?

    Hi!
    I don't know how to use Script in ADF model. Help me, please!
    Detail: javaScript.
    Thanks so much!

    You can put your Javascript code in the Onmouseover property of the column.
    I don't have the Javascript code for changing the color but for example the following will pop up an alert
    <af:outputText value="#{row.DepartmentId}" onmouseover="alert(\'Unload event fired!\')">

  • How to view Script Source for  Execution Method type = "Spawned" ?

    I finded Concurrent Program Executable of "Actual Cost Worker"
    Concurrent Program Executable Information
    Executable :CMCTCM
    Sort Name : CMCTCM
    Apllication : Oracle Bills of Mateial
    Description Unified : Cost Manager
    Execution Method : Spawned
    Excution File Name CMCTCM
    Subroutine Name :cmltcm
    I want to view script source for CMCTCM.
    But. Before I have not view "Spawned' script source.
    I only have tech PL/SQL, Form, Report source.
    How to confirm script source of Spawned type ?
    Message was edited by:
    roseok77
    Message was edited by:
    roseok77

    Try raising metalink TAR asking for the PRO*C source code.

  • What QT7 settings do I use to export a 1080p video for playback on iPhone4? I'm using the iPhone to playback 1080p video on 1080p monitor. Is this possible?

    Does anyone know what settings I should use to export a 1080p video for playback on iPhone4? I'm hoping to use the iPhone4 to playback 1080p video on 1080p monitor. Is this possible?
    I have previously saved my .mov file as Apple TV, but the quality is reduced from 1920x1080 to 960x540. I was unable to sync the higher quality file to my phone (and am worried this is the limitation of the hardware). I added this file to iTunes, added to a playlist, and sync'd to my iPhone. The playback works but the resolution is obviously a lower quality.Is it possible to keep the higher quality for playback through a 1920x1080 hd monitor?  Otherwise, would I be able to sync a 1920x1080 mov file to a new iPad or other device? Thanks in advance to your answers.

    Does anyone know what settings I should use to export a 1080p video for playback on iPhone4? I'm hoping to use the iPhone4 to playback 1080p video on 1080p monitor. Is this possible?
    No. Only the iPhone 4S, iPad3, and TV3 currently support 1080p30 content. Even then the 1080p30 playback support for your monitor may depend on how the device is connected. The iPhone 4 is limited to 720p30 playback.
    Is it possible to keep the higher quality for playback through a 1920x1080 hd monitor?  Otherwise, would I be able to sync a 1920x1080 mov file to a new iPad or other device?
    Not on your current device. As previously stated, the latest generation of iPhone, iPad, and TV devices support a maximum 1080p30 playback capability but may be limited to lower resdolutions depending on your method of connection to your monitor. This information can be found on the Apple web site TechSpecs page for each respective device.

  • How to run script file ( unix script file like ksh or sh file) using Java

    How to run script file ( unix script file like ksh or sh file) using Java Program?.
    I am using the following code snippet to run the simple commands like top or ls ,etc....
    Runtime runtime = Runtime.getRuntime();
    Process proc = runtime.exec("top");
    Thanks In Adavance
    -Siva

    String [] { "ksh" , "-c" , "script", "arg 1", "arg 2", "arg 3"}

  • Playback to Video

    After completing an edited video, I've tried playback to video several times, but with repeated failure. Always the audio abruptly quits about 4 minutes into the show. If I just play the show the audio and video both freeze about 20 minutes into the show. How can I avoid these problems?

    welcome to the forum.
    a bit more information would be VERY useful.
    media
    computer
    os
    internal or external hard drives
    fcp version
    free space on drives
    media drive
    phase of moon
    carrying capacity of the african swallow
    you get the idea.
    x

Maybe you are looking for