Skip to main content
Participating Frequently
March 14, 2024

Premiere Pro Beta 24.4 - CEP Sequence.exportAsMediaDirect issue

  • March 14, 2024
  • 6 replies
  • 816 views

Hello,

I found an issue on the CEP of PPRO. Basically, exporting media in not possible anymore.

The function Sequence.exportAsMediaDirect will always return "Error: OutputFilePath is in a folder that doesn't exist!"

 

The folder it is trying to export to do exist, it's the MacOs temp folder located here on my computer : "/var/folders/nn/bh3chvf16378s17zn9gjk8d00000gn/T/".

The exact same code works on the current PPRO stable version. Also manually exporting the sequence, using the same .epr file, to the same folder works.

6 replies

Bruce Bullis
Community Manager
Community Manager
April 24, 2025

Confirmed, exportAsMediaDirect() is functioning correctly in 25.2.

Participant
April 24, 2025

Hi (again),

the issue seems to be the filenaming convention. On windows, use \\ and not /

br. 

 

Participant
April 24, 2025

Hi, 

Its nearly a year ago this bug was reported. Any news on when this is fixed?

Im currently on Adobe 24.6.3 build 4

br.

Bruce Bullis
Community Manager
Community Manager
March 14, 2024

Working on a fix.

Bruce Bullis
Community Manager
Community Manager
March 14, 2024

Good catch!

It fails, even if you output to non-temporary folders. 

Participant
March 14, 2024

It seems as though that in 24.4 Premiere Beta exportAsMediaDirect is broken.  Works correctly in 24.3 Beta and before.  Regardless of input parameters/file types it won't work.  No file is created.  Here's some sample code on Mac, obviously slashes for paths would be different if testing on Windows:

 

 

 

var sequence = app.project.activeSequence;
sequence.exportAsMediaDirect("//Users//XXXXXX//Desktop//ExportFile.wav", "//Users//XXXXXX//Desktop//WAV preset.epr", 0);

 

 

This would break my extensions as well as I'm sure many other 3rd party developers.  Let me know if you need anything else/figure out what's going on

Bruce Bullis
Community Manager
Community Manager
March 14, 2024
Ann Bens
Community Expert
Community Expert
March 14, 2024

Moved to beta forum.