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

Automation Blocks - Script to get InOut Info of all clips in a sequence and set metadata

Explorer ,
May 22, 2024 May 22, 2024

Dear folks,

 

I want to write a simple automation Blocks Script - but I'm new and am struggling with this simple task.

So basically I want to get the In and OutPoint from a clip in a sequence and write that info to the Metadata VideoIN / VideoOut Point. And this repeats for all clips in a sequence.

I got an basic idea, see screenshot and attachment (saved XML from automation blocks).

Chat GPT can help with logic, but not the execution.

Thank you for your support!

Cheers - Jakub

 

Mod note: Please mark Automation Blocks support request with the "SDK" label. I have done that for you. Cheers.

 

 

Screenshot 2024-05-22 at 22.15.45.pngexpand image

TOPICS
SDK
454
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 ,
May 23, 2024 May 23, 2024

Hi Jakub,

 

your issue is most likely that the metadata fields for video in and out point require a string in timecode format, whereas the in and out points returned by Automation Blocks are floating numbers given the value in seconds. I changed the code to convert the time into timecode:

Screenshot 2024-05-23 at 22.22.32.pngexpand image

I also added some "write to console" blocks such that you can see the values in the console of Automation Blocks. This helps a lot during trouble shooting to understand what is going on.

Finally, I changed the loop to only loop over video clips and skip audio clips.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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
Explorer ,
May 27, 2024 May 27, 2024

Dear @Mathias Moehl Danke Danke Danke für die Hilfe! Totally solved. Great tool, awesome support!

Do you have a donation account or something simliar for buying you a coffee / Bier?

Greeting from Berlin

Jakub

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 ,
May 27, 2024 May 27, 2024
LATEST

Gerne 🙂

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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