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

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

Engaged ,
Mar 07, 2017 Mar 07, 2017

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
874
Translate
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?

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

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

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

No, not available today.

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

Translate
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

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

Translate
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

Makes sense.

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

Translate
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

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

Translate
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

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

Translate
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
LATEST

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

Translate
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