VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. I'm looking for a way to add a running timer to a video file (probably down the bottom).. I've tried looking for a filter that does it in Adobe Premiere to no avail. Whats the best way to do this, ie. with another piece of freeware software etc.?
    Quote Quote  
  2. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    It's easy if it's not an MPEG already

    send me a beer and I'll do an Avisynth script.
    Quote Quote  
  3. F00, you want me to send you a beer from Australia? Hmm, might not be feasible.
    Quote Quote  
  4. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    Sure, Just pour it in an envelope


    I'll do one just for the hell of it.

    Tell me what kind of video.
    You want HH:MM:SS
    or sub second resolution. HH.MM.SS.SS

    Allow a couple of hours.

    Meanwhile If you really want to do it you should get Avisynth installed
    Quote Quote  
  5. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    Xnote Stop Watch is shareware, man. I really like this program. You can run it on your desk top while Window Media Encoder records it.

    Hello.
    Quote Quote  
  6. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    Here's an Avisynth script for it.
    You will have to look up the Subtitle function if you want to change
    text size or color ot font

    # Add time to a movie
    CR = chr(13)
    SP = " "

    t = 0.0

    avisource( "movie.avi" )

    W = Width
    H = Height
    ftime = 1.0/Framerate

    ScriptClip( last , " t = t + ftime " + CR + \
    " s = time_str( t ) " + CR + \
    " Subtitle( s , x = (W/2) , y = (H-20) ) " )

    return( last )


    # Returns a string representing "sec" seconds in HH:MM:SS.SSS format

    Function time_str( float sec )
    {
    f = int( (Frac(sec) * 1000.0) + 0.5 )
    t = int( sec )

    ss = t % 60
    t = t / 60
    mm = t % 60
    t = t / 60
    hh = t

    str = LeftStr( ( "0" + String( hh ) ) , 2 ) + ":" + \
    LeftStr( ( "0" + String( mm ) ) , 2 ) + ":" + \
    LeftStr( ( "0" + String(ss ) ) , 2 ) + "." + \
    LeftStr( ( String(f) + "00" ) , 3 )

    return( str )
    }
    Quote Quote  
  7. Thanks alot for the script F00! I appreciate it..

    Only problem is when I try to use it, I get the error:
    "Script error: there is no function named "Chr"
    (C:\Program....\Timer.avs, line 2)"

    Any idea what the problem is?
    Quote Quote  
  8. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    Beats me. I have V 2.52
    That's just to get a carriage return .

    It's in the documentation , and mine works .

    Maybe this site put some wierd formatting in it .
    Open with notepad and see .
    Quote Quote  
  9. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    It does work on version 2.52. Did not workon my 2.00. Where in the docs did you find this?
    Hello.
    Quote Quote  
  10. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    I got a Folder full of HTML help files with 2.5

    looks like I didn't notice the last part
    "Chr(int): returns the ASCII character v2.5" <-
    Quote Quote  
  11. I'll try to find a copy of version 2.52 then, and will run the script with that.
    Quote Quote  
  12. Weird, I still get the exact same error with v2.52
    Quote Quote  
  13. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    But do you "really" have v252 in there. ? Did you remove the old one

    try this to prove it

    #
    Version()
    #
    Quote Quote  
  14. Member djmattyb's Avatar
    Join Date
    Dec 2001
    Location
    Seattle
    Search Comp PM
    Tommyknocker, how do I record the stopwatch from my desktop? I am interested in learning how to do this. Is Windows Media Encoder the same as Windows Movie Maker? I couldn't find a way in Movie Maker to record the desktop.

    --

    Nevermind - I downloaded the Media Encoder and it works great for screen captures!
    dj matty b
    Quote Quote  
  15. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    Windows Media Encoder is a different program, but it is freeware as well. I may make a guide for it as well, if the AviSynth (also one of favorite applications) solution does not pan out. There should also be a way to make a digital clock count for sporting events like basketball and football, in my opinion.
    Hello.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!