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

ExtendScript encoder.encodeSequence

New Here ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

Hello

 

Complely new to ExtendScript here. I'm trying to launch Media Encoder and render my sequence (after watching (https://www.youtube.com/watch?v=iI_gPrgB8U8&t=35s).

 

I get an error "Illegal Parameter type".

 

This is what I'm doing :

var outputFile = "/Users/Me/Desktop/EncoderTest/test.mp4";
var encoderPreset = "/Users/Me/Documents/Adobe/Adobe%20Media%20Encoder/15.0/Presets/MyPreset.epr";
app.encoder.launchEncoder();
var jobID = app.encoder.encodeSequence(sequence, outputFile, encoderPreset, 1, 1);
TOPICS
Export

Views

376

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
New Here ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

LATEST

Okay - I have no idea why but fiddling around with VS Code solved the problem.

Now I don't get an error message but nothing gets added to the Media Encoder queue (it launches just fine)

code :

var project = app.project;
var sequence = project.activeSequence;
var outputFile = "/Users/Me/Desktop/EncoderTest/test.mp4";
var encoderPreset = "/Users/Me/Documents/Adobe/Adobe%20Media%20Encoder/15.0/Presets/PeersPreset.epr";

app.encoder.launchEncoder();

app.encoder.encodeSequence(sequence, outputFile, encoderPreset, 0, true);

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