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

Refreshing Image Sequences in Premiere

Community Expert ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

So the only consistent way I've found to update an image sequence through scripting is to replace it's path with it's current path since refreshMedia() doesn't look for new or missing frames :

projectItem.changeMediaPath(projectItem.getMediaPath());

The drawback to this method, is that it resets all the interpret settings, most importantly frame rate. I tried to set the FPS in metadata (Column.Intrinsic.MediaTimebase) to the original frame rate after the update, but this hasn't worked, and from other discussions I don't think it's possible this way.

Only fix for this is to make sure "Indeterminate Media Timebase" is set to the desired frame rate in Preferences, but I'm looking for a more solid solution. Can anyone recommend a better solution?

TOPICS
SDK

Views

4.1K

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 25, 2018 Jan 25, 2018

Correct!

I've added your vote to API feature request B-100400, "Provide API for getting and setting footage interpretation, including audio channel mapping."

Votes

Translate

Translate
Adobe Employee ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

Untested theory: Perhaps you could

     create a bin named 'Delete Me!'

     re-import the image sequence into a new projectItem (using importFiles' handy 'import as numbered stills' flag)

     bonus behavior: iterate all sequences looking for trackItems which depend on the old projectItem, and re-base them on the new projectItem

     move the old projectItem (with missing frames) to 'Delete Me!'

     delete the 'Delete Me!' bin

Make sense?

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
Community Expert ,
Jan 19, 2018 Jan 19, 2018

Copy link to clipboard

Copied

From what I can tell, re-importing the image sequence as you described will still use the default interpret settings (specifically frame rate), correct? I've achieved updating the image sequence by simply using projectItem.changeMediaPath(projectItem.getMediaPath()); but this also resets the interpret settings to whatever was the default. (i.e. User imports at 30fps,. User sets to 24fps. User refreshes image sequence duration but it also gets set back to 30fps)

Basically looking for a way to set the frame rate (and interpret settings) back to whatever the user had set for that specific image sequence after refreshing it. Thanks!

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
Community Expert ,
Jan 25, 2018 Jan 25, 2018

Copy link to clipboard

Copied

Bruce Bullis Seems like there isn't currently anyway to set interpret settings for footage through scripting in Premiere, yea?

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
Adobe Employee ,
Jan 25, 2018 Jan 25, 2018

Copy link to clipboard

Copied

LATEST

Correct!

I've added your vote to API feature request B-100400, "Provide API for getting and setting footage interpretation, including audio channel mapping."

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