• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Engaged ,
Mar 07, 2017 Mar 07, 2017

Copy link to clipboard

Copied

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

TOPICS
SDK

Views

551

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Adobe Employee , Mar 07, 2017 Mar 07, 2017

No, not available today.

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

Votes

Translate

Translate
Adobe Employee , Sep 16, 2021 Sep 16, 2021

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

Votes

Translate

Translate
Adobe Employee ,
Mar 07, 2017 Mar 07, 2017

Copy link to clipboard

Copied

No, not available today.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 07, 2017 Mar 07, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 07, 2017 Mar 07, 2017

Copy link to clipboard

Copied

Makes sense.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 16, 2021 Sep 16, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 16, 2021 Sep 16, 2021

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines