Copy link to clipboard
Copied
Hey,
I'm trying to export a sequence automaticly to a .mp4-file with 'Sequence.exportAsMediaDirect()'-method. But I get 'Error: Unknown Error' as response. I don't get more explanation from the error, so I don't know where to search for the solution. From the debugger I get the response: 'Eval Result [premierepro-23.0 (NewWorld)]: Undefined'. The code I use is the following:
Copy link to clipboard
Copied
Hi, I'm experiencing the same issue on Windows.
However, it works fine on Mac with Premiere Pro version 23.0.0.
@Pieter-Jan295492363up6 , how did you manage to resolve it?
In short, when using exportAsMediaDirect on Mac, it works, but on Windows, I encounter an Unknown error.
Copy link to clipboard
Copied
Hey,
This problem occurred months ago for me, and it was one of the many error messages I had to resolve while writing my program 😄 Eventually, I wrote it in Python (the main code is in Python), and the piece of code that works looks like this. Hope this helps:
Copy link to clipboard
Copied
Hi, many thanks. Does it mean if not save the project before export it fails with an error? Or does changing language from js to python solve your problem?