Skip to main content
andymees@aje
Legend
March 7, 2017
解決済み

Is it possible to get the timebase of a project item?

  • March 7, 2017
  • 返信数 4.
  • 839 ビュー

Hey All

Just wondering if it's possible to get the timebase of a project item? I see the startTime method but am not seeing anything that relates to it's timebase.  Is there something in the QE DOM?

Thanks

Andy

このトピックへの返信は締め切られました。
解決に役立った回答 Bruce Bullis

You can use getFootageInterpretation() to obtain the frameRate of a projectItem.

返信数 4

Bruce Bullis
Community Manager
Bruce BullisCommunity Manager解決!
Community Manager
September 16, 2021

You can use getFootageInterpretation() to obtain the frameRate of a projectItem.

Participant
September 15, 2021

I might not understand what it is your looking for, but you can do this:

app.project.activeSequence.timebase

and that will give you the timebase, which is also the tpf (ticks per frame).

Bruce Bullis
Community Manager
Community Manager
September 16, 2021

That'll work for a sequence, but not media (non-sequence projectItems).

andymees@aje
andymees@aje作成者
Legend
March 7, 2017

Hey Bruce

Thanks for the very quick reply. I'd like to be able to present users timecode accurate details about the source clips used in their timeline. I'm able to accurately generate that using zero point,  timebase and start/end for track items,  and was hoping to be able to do the same with respect to the track items associated source clip (project item).

Cheers

Andy

Bruce Bullis
Community Manager
Community Manager
March 7, 2017

Makes sense.

Until that happy day (when we offer such info), users could try PPro's Properties panel, to provide additional info.

Bruce Bullis
Community Manager
Community Manager
March 7, 2017

No, not available today.

What would you do with that info, if you had it?