Sair
  • Comunidade global
    • Idioma:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Comunidade dedicada para falantes de japonês
  • 한국 커뮤니티
    Comunidade dedicada para falantes de coreano
0

Change Speed of Clip with Scripting

Envolvido ,
Jul 06, 2019 Jul 06, 2019

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.

TÓPICOS
SDK
1.3K
Traduzir
Denunciar
Diretrizes da comunidade
Seja respeitoso, dê crédito à fonte original do conteúdo e verifique se há cópias antes da publicação. Saiba mais
community guidelines

correct answers 1 resposta correta

Funcionário da Adobe , 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?

Traduzir
Funcionário da Adobe ,
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?

Traduzir
Denunciar
Diretrizes da comunidade
Seja respeitoso, dê crédito à fonte original do conteúdo e verifique se há cópias antes da publicação. Saiba mais
community guidelines
Novato ,
Nov 09, 2023 Nov 09, 2023
MAIS RECENTE

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?

Traduzir
Denunciar
Diretrizes da comunidade
Seja respeitoso, dê crédito à fonte original do conteúdo e verifique se há cópias antes da publicação. Saiba mais
community guidelines