You can change the path using changeMediaPath(), on project items.
There is no way to capture the export event when the user isn't interacting with your panel. However, your panel could have a 'replace all lo-res with hi-res' button.
NOTE: If the frame dimensions are different between lo-res and hi-res, your sequences will look strange (footage will either be much too large, or much too small). Use proxies with the same frame dimensions as the hi-res footage.
OK. Can you tell me how can i call the export function?
I tried the "render" function and get the "app.encoder.setSideCarXMPEnabled is not a function" error. When i disabled the
lines i get "outputFilePath is undefined" error. I get the same error if i use a hardcoded value. Using PPro CC 2014.
Sorry, the init cap is wrong in 'setSideCarXMPEnabled'; should be 'setSidecarXMPEnabled' (the C in sidecar should not be capitalized).
Those lines have nothing to do with the output path; please try the original code again, with a lower case 'c', and let me know how that goes.
OK. I finally get it working. There are some problems with the sample code.
Line 377: eventObj.data = "Job " + jobID + ", to " + outputFilePath + ", FAILED. :(";
The "outputFilePath" variable is not declared in the function.
Line 398: var out_preset_path = "C:\Program Files\Adobe\Adobe Media Encoder CC 2014\MediaIO\systempresets\58444341_4d584658\XDCAMHD 50 NTSC 60i.epr";
The '\' characters are not escaped. It should be;
var out_preset_path = "C:\\Program Files\\Adobe\\Adobe Media Encoder CC 2014\\MediaIO\\systempresets\\58444341_4d584658\\XDCAMHD 50 NTSC 60i.epr";
It starts Adobe Media Encoder and finishes the job successfully. Is it possible to do it without Media Encoder? Like "File->Export->Media" menu does.
No, it's currently not possible to render in PPro; most developers are happy about that, because it doesn't block PPro. The feature (output from PPro not AME) has been requested.