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

Change Speed of Clip with Scripting

Engaged ,
Jul 06, 2019 Jul 06, 2019

Copy link to clipboard

Copied

Is it possible to use an Extendscript script in Premiere Pro to change the speed of a clip?  If so, can you provide an example on how this would be done?  I suspected that it would be somewhere in clips.components, but that only seems to contain opacity and motion values.

TOPICS
SDK

Views

1.2K

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 1 Correct answer

Adobe Employee , Jul 08, 2019 Jul 08, 2019

While a panel can get clip speed, and detect whether a given clip is reversed, there's no supported API today for changing clip speed.

What's the entire workflow, which you'd like to support?

Votes

Translate

Translate
Adobe Employee ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

While a panel can get clip speed, and detect whether a given clip is reversed, there's no supported API today for changing clip speed.

What's the entire workflow, which you'd like to support?

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 ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

LATEST

I'm trying to create a shortcut key that turns on/off backward playback of the selected TrackItem.

(Because there is no corresponding option in 'Command' in keyboard shortcut settings)

function ReverseTrackItem(trackItem) {
    var orgStart = trackItem.start;    // if 10
    var orgEnd = trackItem.end;        // if 20

    // Reverse ?
    trackItem.start = orgEnd;          // result 20
    trackItem.end = orgStart;          // result 20
}

I tried this, but it doesn't work as expected. 

If there isn't an API yet, is there another way that doesn't go through the API?

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