Skip to main content
Glama

create_multicam_sequence

Create synchronized multicamera sequences from multiple video clips using audio or timecode alignment in Adobe Premiere Pro.

Instructions

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

Input Schema

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

Implementation Reference

  • The main handler function that executes the tool. It constructs an ExtendScript that creates a multicam source from the provided camera files using the specified sync method, then creates a sequence from it, and executes it via the bridge.
    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 using Zod for validating tool arguments: name (string), cameraFiles (array of strings), syncMethod (enum: timecode, audio, markers). Part of tool registration in getAvailableTools().
    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 and dispatch in executeTool(): maps the tool name to the handler 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