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

ExtendedScript: replace image sequence

Community Beginner ,
Jan 09, 2025 Jan 09, 2025

Copy link to clipboard

Copied

I used `importFiles` with secondary argument set to 1 to import image sequence.

Now I would like to change it to different image sequence, is it possible with `changeMediaPath`?

Tried to pass new list of paths, doesn't work, wrong argument type, tried to pass in path with some frame placeholder (`####`, `[1001-1002]`), didn't work, failed with 'Importer failed with generic error'.

If I pass only single new file path, only first frame gets updated.

Is it possible to use only `changeMediaPath`? (If not and new bin > new import > re-link > delete old bin, could someone point me how to find where old image sequence/bin was used and replace it with new ids)
Thanks for reply

TOPICS
SDK

Views

26

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 , Jan 09, 2025 Jan 09, 2025

Now I would like to change it to different image sequence, is it possible with `changeMediaPath`?

No; you'd need to importFiles() a new image sequence. For any trackItems that reference the older image sequence, you can change the projectItem to which those trackItems refer.

Votes

Translate

Translate
Adobe Employee ,
Jan 09, 2025 Jan 09, 2025

Copy link to clipboard

Copied

LATEST

Now I would like to change it to different image sequence, is it possible with `changeMediaPath`?

No; you'd need to importFiles() a new image sequence. For any trackItems that reference the older image sequence, you can change the projectItem to which those trackItems refer.

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