Current Time expressed in decimals + Keyframing export question

This was noted in an earlier post, but I could not reply since the thread was archived...
I've noticed that certain movies, when viewed in QTPro, express the current time (viewable in the movie info dialog) in decimals, rather than in frames.
For example, using a 30fps movie, a time of one second and 15 frames is instead shown under the current time (viewable in the movie info window) as :01.50 (hundreths of a second). This can be a problem if you are trying to count frames or note a particular time expressed in frames, rather than in fractions of a second.
After digging a bit, I discovered that movies compressed WITHOUT keyframing enabled DID NOT have this trait - the time is shown in frames instead.
The workaround is to export the movies from QTPro using a codec that does not support keyframes (for example - the Uncompressed codec).
I have two questions -
1. Why, when exporting a movie with keyframes on, does the video track frame rate end up with a value that goes to multiple decimal points? - For example:
- Export a movie from QTPro using the animation compressor and a frame rate of 30. Set Keyframes to anything you like (note that you cannot turn it off).
- View the exported movie, and press cmd-J (movie properties). The frame rate shown will likely be something like 29.3293293820932, and the current time (as shown in movie info (cmd-i)) will be in decimals.
If you export Uncompressed 30fps instead (keyframes are not supported in this codec), the resulting frame rate will be exactly 30, and the current time will be shown as FRAMES, not decimals.
2. WHY is it possible to render a Quicktime movie from After Effects, using ANY codec, and have the ability to turn keyframes OFF, whilst turning keyframes off seems to be impossible in QTPro when exporting a movie using a codec that supports keyframes?
Thanks for any help!
G5   Mac OS X (10.4.8)  

No - there's no variable frame rate - depending on the project, we're either using 29.97, 30 or 60fps.
We're using the "Current Time" in the movie info dialog so that people can make precise timing notes regarding animations without having to get to a machine with FCP, After Effects et.al. on it. Since we're concerned with getting exact frame numbers, we're using the Movie Info dialog rather than the time provided in the movie window.
Practically every movie we're using is coming from After Effects, Shake, or some other animation/compositing program.
The only times I've gotten those long-decimal frame rates is on a movie with keyframes set. Turn off keyframes, and the movie frame rate is exactly what we set it to be.
I'm guessing that we're bumping into something that's actually a cool trick - when Quicktime sees that a movie has a traditional frame rate (30, 60 or even 29.97 for example), it displays the current time in frames. When it loads a movie with an odd frame rate (particularly something like 29.9630843098) it calculates and displays in thousanths of a second instead.
Nonetheless, we're setting all the movies to a defined frame rate. The movies exported without keyframes end up with the correct rate, and the ones with keyframes end up with a frame rate that have many decimal places....

Similar Messages

  • Current Time on the Application Express Form

    Hi All,
    I want to display the Current Time on the Application Express Form
    continueusly and change every second or minutes like computer time.
    Please any can help.....
    Regards
    Gaas

    I have found an example for your question over here: http://www.plus2net.com/javascript_tutorial/clock.php
    Just play a little bit with this javascript function.
    Br
    Nico

  • Current Time Indicator Question

    There is a grey area following behind the current time indicator everywhere it goes, and animation presets will move along, how do I change this problem

    What is the problem? The grey area around the current-time indicator merely indicates the shutter angle and shutter phase of motion blur:
    After Effects Help | Assorted animation tools

  • How do I create a time field that's export value is 3 hours ahead of the current time?

    I need to create a field on one of our forms that takes the current time from another field and adds 3 hours to it. The JavaScript to pull the current time is:
    var tm = this.getField("Time");
    if(tm.value == '' || tm == ' ') tm.value =
    util.printd("HH:MM tt",new Date());

    Does your posted script work as expected?
    It does not fill-in the field for me.
    Is that code to get the time from a field or set the time for a field?
    Is the field you are trying to update?
    A time string for a computation is very limited or error prone unless it includes the date. There are many locations in the world that still observe Day Light Savings Time or Summer/Winter time and the time either moves forward one hour or falls back one hour at a certain date and time as prescribed by national or local law. So if one want to add 3 hours 1 hour before the time sift for the spring that would be 11:00pm adding 3 hours would result in a time value of 3:00 am the next day and not 2:00 am the next day. The hour between 1:00 am and 2:00 am does not exist for the local time zone.

  • Where can I find the current time and date of Time Capsule?

    I have a home network consisint of 2 x Time Capsules and 1 x Airport Express.  All is working fine.  I would like to set up access control for one machine connecting to the network and I can see I can do this under Access Control on the Airport Utility.  My question is where can I find the current time and date setting for these devices? 
    I can set them to use the time.apple.com server to set the time automatically, but I can't find where to see the current time and date of the device.  The only place I can see reference to the time and date is on the logs and statistics under the Advanced tab of the AirPort Untility.

    I don't think you can change the time and date on the TC itself, it just connects to a time server (and you set your own time zone).

  • Premiere elements 12 - cannot move assets past current time indicator ... why?

    Cannot drag/move jpg (img 1232) past current time indicator (red) on any of the available tracks ... it does nothing ... I can only drag/move asset around before the current time indicator ... why
    This would make my work useless !!! Please help!
    Newly installed as iMac OSX 10.8.5
    Premiere Elements 12 directly downloaded from Adobe site (purchase version)

    Dave
    Whatever you decide, please keep watch on how many days from date of purchase so that you do not lose any rights to 30 day money back from Adobe if you purchased from Adobe.
    I had some thoughts for some areas to look into in your situation.
    You have asked several time if you are using the correct project preset. I do not see that any one has responded to that question. I am assuming that your iPhone 5s is recording H.264.mov or.mp4 1920 x 1080 @ up to 30 progressive frames per second. The frame rate is probably up to 30, meaning variable frame rate. So, where is the 120 frames per second video coming from? I would manually set the project preset for
    NTSC
    DSLR
    1080p
    DSLR 1080p30@ 29.97
    Details for manually setting the project preset are in the How To section of
    http://www.atr935.blogspot.com/2013/04/pe11-accuracy-of-automatic-project.html
    The use of video with variable frame rate has created all sorts of issues besides audio out of sync with Premiere Elements. It could be the iPhone 5S video that is creating the problems, but.... Have you taken the time to  remove selectively and sequentially types of media from the tracks to determine if such removal would then allow you to place additional media from Project Assets to Timeline wherever you want?
    If you implicate the iPhone 5S video in the issue, you could take it into a program such as HandBrake and change the file's variable to constant frame rate and export it from there as 1920 x 1080 @ 29.97 progressive frames per second H.264.mp4 file. Then try it in your project.
    The party line is that you cannot change the project preset once it has been set for a project. We can go into that later. By the way, if you start a new project, is the problem of placing source media where you want in the Timeline still there?
    We will be watching for further developments.
    ATR

  • How to display the current time in a UIX page

    Hi All,
    another UIX question....
    A requirement of a customer is to display to current data and time in every page.
    It should be done in a <header>. So i'm writing a new (template based) renderer for that element. How can i display the current time and date on it?
    Thanks in advance for any help...
    Regards,
    Robert Willems

    Hi Robert -
    When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
    You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
    For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
    http://tinyurl.com/5b7bf
    Andy

  • How can I get the Elapsed Time express to output in milliseconds?

    I am trying to get the Elapsed Time express to output in milliseconds or in seconds to three decimal places. I am pretty new at this.
    Thanks in advance!

    I'm not sure I understand your question. The output of the Elapsed Time Express VI is a DBL. It's already a floating point number. The default format for a numeric indicator is 6 digits of precision. You can change this in the properties for the indicator.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Attachments:
    Example_VI.png ‏4 KB

  • Getting the time of a particular keyframe

    Hi There,
    I took a look at the Scripting Guide, but after a cursory search + read couldn't find the answer to my question there, so I thought I would reach out here.  How can I get the time value for a keyframe in any given property?  I know I can iterate through keys using the .numKeys value, but what is the code to use in order to  retrieve the time of the key while iterating.
    Here's some pseudo code for how I'm thinking about it:
    numPosKeys = lyr.transform.position.numKeys;
    for (var i=1; i <= numPosKeys; i++)
         timeOfKey = {//not sure how to do this, or if it is possible};
         //do something with timeOfKey
    Thanks for your time and help!
    --Arie

    timeOfKey = lyr.transform.position.keyTime(i);
    (methods to retrieve key info start with 'key', and methods to set info start with 'set' and end with 'AtKey').
    Xavier.

  • Display current time on x-axis in wavechart

    Hi.
    The attached file is a simple vi about how to show the current time on x-axis in wave chart. I have a question about why the current time increase so fast. It looks like the current time increases with the loop iteration counter. Thanks for your help.
    Fred
    Attachments:
    sample.vi ‏18 KB

    You need to connect both offset and multiplier on your property node.
    I suggest that you look/use the example "Real Time Chart.vi" in your example lib. Hopefully you can modify it to do what you want.

  • Current time in the x-Axis

    Hi everyone,
    I have some problems putting a waveform together that shows the current time in the x-Axis.
    I tried to do it with “timestamp” and “build waveform” but it didn’t work out. All I need is some values over the current time x-Axis. 
    All it shows in my waveform is the time since 1904, like it always does!
    Probably a silly question, but can anyone help me out, maybe with an example VI?
    TNX

    Did you also set dt?
    If I set some y-values, dt = 1 and x0 to current time, I get different times on the x-axis.
    I attach a screenshot, that shows this.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    Time.png ‏36 KB

  • Current time in microseconds

    For one of my programs i want to find the current time in microseconds. How do i get this in Java?

    The server makes the OS calls that hook into the system processor cycle count,....
    Java doesn't directly provide this functionality.Which brings up an interesting question/point (I think).
    Since Java provides an sql.TimeStamp class to map to an sql database supporting nanos, how does Java instantiate this class as far as nanos are concerned? Unless the only thing its good for is for READING sql TIMESTAMP values.
    My understanding of this is important as it can impact my db design. I would rather have my ejb's create this data in the j2ee server, when doing sql INSERT's, rather than having the db itself do the TIMESTAMP with a trigger (for a variety of reasons, including cache maintenance). But if the nanos are all zero(!)...well, need to use a trigger.
    Thanks
    -nat

  • JCA polling DB Adapter current time for MarkReadValue

    Hi,
    For future debugging I would like to use current time (in whatever format) for MarkReadValue in a logical delete polling DB Adapter.
    I understand that complex expressions such as ${weblogic.Name}, ${IP}, ${instance} work with the system properties. Is there a complex expresion for getting current date and time (in whatever format)?
    Thanks,
    --cb

    Hi Manish,
    Can you copy paste your .jca file?
    I think the problem is with the name 'pollingStrategy'. Verify if the property used in the .jca file is PollingStrategy (Use Capital 'P').
    Regards,
    Neeraj Sehgal

  • Why fn:current-date()/fn:current-time() return incorrect time in OSB 11gR1?

    +system: Oracle Service Bus Version: [Oracle Service Bus Server Side Dependencies 11.1 Fri Mar 19 01:02:35 EDT 2010 ], Oracle Weblogic Server Version: [WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 ] on my local machine (localhost), windows xp professional sp2, firefox 3.0.1.+
    in a SOAP 1.1 proxy, i have the following expression in an "Assign" action:
    <soap-env:Header>
            <wsse:Security>
                 <wsu:Timestamp wsu:Id='{fn:concat("Foo-",fn-bea:uuid())}'>
                      <wsu:Created>{fn:concat(fn-bea:date-to-string-with-format("yyyy-MM-dd",fn:current-date() ),"T",fn-bea:time-to-string-with-format("HH:mm:ss", fn:current-time()), "Z")}</wsu:Created>
                      <wsu:Expires>{fn:concat(fn-bea:date-to-string-with-format("yyyy-MM-dd",fn:current-date() ),"T",fn-bea:time-to-string-with-format("HH:mm:ss", fn:current-time() + xdt:dayTimeDuration("PT15M") ), "Z")}</wsu:Expires>
                 </wsu:Timestamp>
                 <wsse:BinarySecurityToken ValueType='Bar' EncodingType='wsse:Base64Binary' wsu:Id='{fn:concat("FUBAR-",fn-bea:uuid())}'>{if(empty($token//TOKEN/text())) then "123" else $token//TOKEN/text()}</wsse:BinarySecurityToken>
            </wsse:Security>
    </soap-env:Header>i expect that expression to create a SOAP header with the creation time as the current time at which the header is constructed; and then the expiration 15 minutes after the creation time.
    i ran it through osb's "XQuery Expression Testing console" at 13:37 (GMT) on monday oct 18. this is what was output:
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <sec:Security xmlns:sec="http://schemas.xmlsoap.org/ws/2002/xx/secext">
              <oas:Timestamp oas:Id="Foo-1164f4d1-5cfa-44b4-99b0-e15d3ec29f94" xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                   <oas:Created>2010-10-17T12:37:12Z</oas:Created>
                   <oas:Expires>2010-10-17T12:52:12Z</oas:Expires>
              </oas:Timestamp>
              <sec:BinarySecurityToken ValueType="Bar" EncodingType="wsse:Base64Binary" oas:Id="FUBAR-639e7e1e-0b1d-47ef-9c98-cf3beb327e3c" xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         lorem ipsum dolor sit...
         </sec:BinarySecurityToken>
         </sec:Security>
    </soapenv:Header>the date is 1 day behind (sunday, oct 17)! and the time is one hour behind!
    my workstation's clock is set correctly. it's set to "Automatically adjust clock for daylight saving changes". I'm in the GMT timezone. the osb/wls stdout console window and logs all show the correct date and time.
    if i run the "current-date()" and "current-time()" functions through XML Spy 2001's XPath engine, it outputs the correct date and time.
    what gives? anybody know what's wrong?
    i've come across a few other similar threads. i've found the MLR #16 patch referred to in some of those posts. but unless i'm mistaken, it looks like that particular patch is for OSB 10.1.x.x.x; and i'm using 11.1. so i would have thought that 11.1 would have that patch anyway. no?
    i'm completely stumped!
    thanks in advance for your time and help.

    turns out that wrapping current-date in "fn:adjust-date-to-timezone()" is Zone related date time conversion problem with fn-bea:dateTime-to-string...
    there's also an "adjust-time-to-timezone()" and an "adjust-dateTime-to-timezone()". who knew?
    if anybody else has any other solutions, i'm all ears.

  • Make a Thread to get sleep for a time that has decimals

    I need a Thread to get sleep for a time that has decimals, for example 3,5 miliseconds but is not possible because the Thread.sleep() admits only long. Is not other way to do it?
    Thanks

    dannyyates wrote:
    Well, there's sleep(long millis, int nanos), but to be honest if you're requirements are that tight, sleep() is probably not the right tool for you because if doesn't really guarantee any level of accuracy.That's true, the accuracy of sleep() depends rather on the underlying OS and hardware. As the docs say:
    "Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds, *subject to the precision and accuracy of system timers and schedulers*. "
    Just run this simple test program, it gives interesting results:
         long start, stop;
         for (int i=0; i<100; i++) {
              start = System.nanoTime();
              try {
                   Thread.sleep(5);
              } catch (InterruptedException e) {
                   e.printStackTrace();
              stop = System.nanoTime();
              System.out.println("The thread slept for " + (stop-start)/1000000.0 + " ms");               
         }On my Windows XP with dual core CPU I get:
    The thread slept for 5.801576 ms
    The thread slept for 5.778108 ms
    The thread slept for 6.134019 ms
    The thread slept for 5.437562 ms
    The thread slept for 6.064458 ms
    The thread slept for 5.674744 ms
    The thread slept for 15.354466 ms
    The thread slept for 5.869461 ms
    The thread slept for 5.785372 ms
    The thread slept for 5.804649 ms
    If you really need a precise timer you need either a real-time OS or a different solution, the method sleep(millis, nanos) will solve the problem without proper OS/hardware

Maybe you are looking for