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

Export Clip Transcription in JSX Script

Community Beginner ,
Dec 23, 2024 Dec 23, 2024

how can I export transcription of a clip in JSX script?  Tried something like this but doesn't seem to the transcription.  I tried something like this,  also where is the documentation?  I found old links that don't work anymore. thank 

// Function to extract the transcript from a clip
function extractTranscript(clip) {
  try {
     var metadata = clip.getProjectMetadata(); // Retrieve metadata for the clip
     if (metadata) {
         // Look for specific metadata fields that may store transcript data
         var transcriptField = metadata.getMetadataField("transcript"); // Adjust field name if needed
         if (transcriptField && transcriptField.value) {
            return transcriptField.value; // Return the transcript text
         }
     }
   } catch (e) {
            $.writeln("Error extracting transcript for clip: " + clip.name + " - " + e.message);
        }
        return null; // Return null if no transcript is found
    }

 

TOPICS
SDK
165
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

correct answers 1 Correct answer

Adobe Employee , Dec 23, 2024 Dec 23, 2024

how can I export transcription of a clip in JSX script?

 

You cannot; PPro offers no ExtendScript APIs around transcripts. We'll revisit transcription APIs once the initial move from ExtendScript to UXP is complete.

 

 > where is the documentation? 

https://ppro-scripting.docsforadobe.dev/

Translate
Adobe Employee ,
Dec 23, 2024 Dec 23, 2024
LATEST

how can I export transcription of a clip in JSX script?

 

You cannot; PPro offers no ExtendScript APIs around transcripts. We'll revisit transcription APIs once the initial move from ExtendScript to UXP is complete.

 

 > where is the documentation? 

https://ppro-scripting.docsforadobe.dev/

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