time of clip?
  • strictly
    member
    Posts: 22
    Joined: Fri Oct 13, 2006 1:56 am

    time of clip?

    by strictly » Thu Aug 30, 2007 5:48 pm

    how would I be able to make a timer for clips? i.e. if the clip is 20 seconds long, the time counts down somewhere when I activate clip.

    it would be useful to know when a clip is going to end...
  • User avatar
    boris
    garageCube team
    Posts: 911
    Joined: Mon Jun 28, 2004 12:36 am
    Location: Geneva
    Contact:

    Re: time of clip?

    by boris » Fri Aug 31, 2007 12:29 am

    Hi,

    You can use the keywords :
    'info_layer_media_timeLength' and 'direct_layer_media_timePositionSec'
    to do that.

    strictly wrote:how would I be able to make a timer for clips? i.e. if the clip is 20 seconds long, the time counts down somewhere when I activate clip.

    it would be useful to know when a clip is going to end...
    Boris * garageCube team
  • User avatar
    sigmasix
    master
    Posts: 1224
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    by sigmasix » Fri Aug 31, 2007 2:10 pm

    be careful, it's not direct_layer_media_timePositionSec but direct_layer_movie_timePositionSec

    I spend some time trying to do that... I'll post my module on the online library as soon as it's done
  • User avatar
    sigmasix
    master
    Posts: 1224
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    by sigmasix » Fri Aug 31, 2007 6:46 pm

    I added a module in the online library (s6) Media Timer

    it's not complete as it doesn't support correctly the speed and the in/out options. I'll try to improve it in the future, in the meantime you can also try to improve it ;)
  • User avatar
    sigmasix
    master
    Posts: 1224
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    by sigmasix » Sat Sep 01, 2007 2:21 pm

    v 1.1 now supports the in and out selection.
    The speed is not defined yet, but if the fact that the timer goes faster or slower doesn't bother you you can use it!

    Things to improve:
    - showing milliseconds (or images, but don't know if we can get the framerate in modul8)
    - adapt the timer with the speed of a clip and the global speed.
  • Lupin
    garageCube team
    Posts: 383
    Joined: Fri Aug 18, 2006 12:37 pm
    Location: France
    Contact:

    by Lupin » Sun Sep 02, 2007 11:39 am

    nice module , I think you should also add a display mode to let user choose between bar views or pot views or number fields views to improve CPU use
    Gael Abegg Gauthey (former known as Lupin)
    https://www.linkedin.com/in/abegg-gauthey/

Who is online

Users browsing this forum: No registered users and 14 guests