TimeLine or TimeBar in VideoEditor (new question)

4 posts, 0 answers
  1. Mike5
    Mike5 avatar
    7 posts
    Member since:
    Nov 2011

    Posted 05 Sep 2012 Link to this post


    Following up on the topic raised by Marcelo, I am also investigating the use of the RadTimeLine and RadTimeBar as controls for a video editor.  My goal is to enable both a large scale view of  key frames, over an hour perhaps, and also permit zooming down to a fine grain view of key  frames... at 4 mSec resolution perhaps.

    What I observe is that if I define a RadTimeBar like this, with a 10 second period, I can zoom only down to 30 mSec:

    <telerik:RadTimeBar x:Name="xRadTimeBar" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1"
                                PeriodStart="1/1/2011 00:00:00"
                                PeriodEnd="1/1/2011 00:00:10"
                                VisiblePeriodStart="1/1/2011 00:00:00"
                                VisiblePeriodEnd="1/1/2011 00:00:10"
                                SelectionStart="1/1/2011 00:00:00"
                                SelectionEnd="1/1/2011 00:00:10"
                                IsSnapToIntervalEnabled="True"
                                >
                <telerik:RadTimeBar.Intervals>
                    <telerik:MinuteInterval IntervalSpans="1"/>
                    <telerik:SecondInterval IntervalSpans="1"/>
                    <telerik:MillisecondInterval IntervalSpans="4, 16, 32, 64"/>
                </telerik:RadTimeBar.Intervals>
     
            </telerik:RadTimeBar>


    But with a period of 1 second, I can zoom down to 4 mSec:


    <telerik:RadTimeBar x:Name="xRadTimeBar" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1"
                                PeriodStart="1/1/2011 00:00:00"
                                PeriodEnd="1/1/2011 00:00:01"
                                VisiblePeriodStart="1/1/2011 00:00:00"
                                VisiblePeriodEnd="1/1/2011 00:00:01"
                                SelectionStart="1/1/2011 00:00:00"
                                SelectionEnd="1/1/2011 00:00:01"
                                IsSnapToIntervalEnabled="True"
                                >
                <telerik:RadTimeBar.Intervals>
                    <telerik:MinuteInterval IntervalSpans="1"/>
                    <telerik:SecondInterval IntervalSpans="1"/>
                    <telerik:MillisecondInterval IntervalSpans="4, 16, 32, 64"/>
                </telerik:RadTimeBar.Intervals>
     
           </telerik:RadTimeBar>


    Maybe I am not using the control correctly... but if I am, it seem to me that zooming into mSec from a period greater than a few seconds is not supported.  Is that correct?

    Changes to the VisiblePeriod values appears to make no difference, the final granularity appears to be tied to the PeriodStart/End values.

    Usage advice greatly appreciated!


    Thanks,
       Mike
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 10 Sep 2012 Link to this post

    Hello Mike,

    We already answered your support ticket with the same question. For your convenience, I give you the information here as well:

    This limitation actually comes from the maximum width that RadTimeBar allows for its content. Currently, we have set a maximum of 30000 pixels for the content for performance reasons. So for a shorter period you will be able to zoom further in. We have a few ideas how we can improve the control for such scenarios, but I cannot give you a precise estimate, when we will allow for unlimited in width content in the timebar.

    All the best,
    Tsvetie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Alexandre
    Alexandre avatar
    1 posts
    Member since:
    Aug 2013

    Posted 05 Sep 2013 Link to this post

    Hi,
    I'm evaluating RadTimeBar and looking for similar precisions (like 4-6min down to a couple of milliseconds). Is there any improvement of the component coming in this field?
    Also, If I patch Telerik assembly and change the hardcoded 30000 pixels limit to some higher values, what are the performance reasons? I thought that the content would be clipped correctly by WPF. It would mostly depends on the number of underlying visual elements in the content, or there is something else?
    Thanks
  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 09 Sep 2013 Link to this post

    Hello Alexandre,

    In the current version of RadTimeline for WPF, you can specify a MinZoomRange value, depending on your specification and the value will be respected.

    Regards,
    Tsvetie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top