Question
Exception has occurred: 1 Invalid parameter. Really guys???
Beating my head against the wall over this. Every time I get:
Exception has occurred: 1
Invalid parameter.
I've tried many different combinations of parameters, running in VSCode on Windows:
The exception above is worthless. You can't tell me which parameter? Or give more detail on what is wrong? With all due respect, that is the ultimate of lazy coding on your dev team's part. Do better please and quit spreading your costs to your users.
Code:
app.encoder.launchEncoder();
inTime.seconds = 0;
outTime.seconds = 10 * 60;
encoder.encodeFile("C:/LavedaJones/VideoList/2024-08-29 Making Shorts Videos by Rapper Laveda Jones - Promotion/01. 2024-08-29.mp4", "C:/LavedaJones/VideoList/TestExport/03. Input.mp4", "C:/CloudIDEaaS/develop/PremiereProPodcaster/Presets/LavedaJonesDefault.epr", 1, 1, 1.0, 10.0 * 60.0);