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

Is there a way to add clips one after the other directly at the end of the previous one? (script)

Engaged ,
Dec 17, 2023 Dec 17, 2023

I decided to give the third question of this post (https://community.adobe.com/t5/premiere-pro-discussions/so-there-is-no-way-to-insert-2-audio-clips-s...) its own post.

So in extendscript we have the "insertClip" function that let you add a clip with a time of your choosing,

but the limitation of number of frames makes it impossible to add clips one after another, you always need to have at least 33 ms separation distance I believe.

I would like to find a way to add the clips automatically, without having to insert the timing value of the clip.

The goal is to be able to add a collections of clips one after the other, very simply.

Can we do that?

Thanks

TOPICS
SDK
659
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 1 Correct answer

Adobe Employee , Dec 17, 2023 Dec 17, 2023

The goal is to be able to add a collections of clips one after the other, very simply.

Can we do that?

Yes, though you will still need to provide time information.

Once you insert a trackItem, the sequence's CTI will be set to the end of the new trackItem; you can use the CTI position as the insertion point, of the subsequent trackItem.

Translate
Adobe Employee ,
Dec 17, 2023 Dec 17, 2023

The goal is to be able to add a collections of clips one after the other, very simply.

Can we do that?

Yes, though you will still need to provide time information.

Once you insert a trackItem, the sequence's CTI will be set to the end of the new trackItem; you can use the CTI position as the insertion point, of the subsequent trackItem.

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 ,
Dec 17, 2023 Dec 17, 2023

Thanks for the answer, what CTI by the way?

Not sure how to implement this?

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
Community Expert ,
Dec 17, 2023 Dec 17, 2023
quote

 what CTI by the way?


By @Bed30321077z973

 

The vertical blue line in your screenshot here:

https://community.adobe.com/t5/premiere-pro-discussions/inconsistency-in-audio-durations-frames-clip...

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 ,
Dec 18, 2023 Dec 18, 2023

So its "Currently selected timestamp" something? I also notice on my screenshot a blue lien perpendicular to the blue ligne with a length of a distance between 2 frames, wonder what's that, probably "current selected frame to frame distance in the track".

In any case I need it in javascript x (extendscript), I checked here (https://ppro-scripting.docsforadobe.dev/collection/collection.html#objects)

 I don't see this "CTI" word yet?

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 ,
Dec 18, 2023 Dec 18, 2023

CTI = Current Time Indicator, as Peru Bob pointed out.

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 ,
Dec 18, 2023 Dec 18, 2023
LATEST

Hi,

These days, the UI is no longer called the CTI. It is referred to as the "Playhead" in the User Guide. I hope the info helps.

 

Thanks,

Kevin

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio
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