Skip to main content
Glama

create_multicam_sequence

Synchronize multiple video clips into a multicamera sequence using audio, timecode, or markers, streamlining multi-angle editing in Adobe Premiere Pro.

Instructions

Creates a multicamera source sequence from multiple video clips, synchronized by audio or timecode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cameraFilesYesAn array of absolute file paths for each camera angle
nameYesThe name for the new multicam sequence
syncMethodYesThe method to use for synchronizing the clips

Implementation Reference

  • Handler function implementing the create_multicam_sequence tool. Constructs and executes an ExtendScript via the PremiereProBridge to create a multicam source from camera files using the specified sync method and then a sequence from it.
    private async createMulticamSequence(name: string, cameraFiles: string[], syncMethod: string): Promise<any> { const script = ` try { var multicamSource = app.project.createMulticamSource("${name}", [${cameraFiles.map(f => `"${f}"`).join(', ')}], "${syncMethod}"); if (!multicamSource) { JSON.stringify({ success: false, error: "Failed to create multicam source" }); return; } var sequence = app.project.createSequenceFromMulticamSource("${name}", multicamSource); if (!sequence) { JSON.stringify({ success: false, error: "Failed to create sequence from multicam source" }); return; } JSON.stringify({ success: true, message: "Multicam sequence created successfully", name: "${name}", sequenceId: sequence.sequenceID, cameraCount: ${cameraFiles.length}, syncMethod: "${syncMethod}" }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
  • Input schema definition for the create_multicam_sequence tool using Zod validation, defining parameters: name (string), cameraFiles (array of strings), syncMethod (enum: timecode/audio/markers).
    name: 'create_multicam_sequence', description: 'Creates a multicamera source sequence from multiple video clips, synchronized by audio or timecode.', inputSchema: z.object({ name: z.string().describe('The name for the new multicam sequence'), cameraFiles: z.array(z.string()).describe('An array of absolute file paths for each camera angle'), syncMethod: z.enum(['timecode', 'audio', 'markers']).describe('The method to use for synchronizing the clips') }) },
  • Registration of the tool handler in the executeTool switch statement, mapping the tool name to the createMulticamSequence method call.
    case 'create_multicam_sequence': return await this.createMulticamSequence(args.name, args.cameraFiles, args.syncMethod);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hetpatel-11/Adobe_Premiere_Pro_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server