ResourceResolver resolver = getResourceResolver(wfSession.getSession());
// create videos from profiles
String[] videoProfiles = getVideoProfiles(metaData);
for (String videoProfile : videoProfiles) {
VideoProfile profile = VideoProfile.get(resolver, videoProfile);
if (profile != null) {
log.info("processAudio: creating audio using profile [{}]", videoProfile);
// creating temp working directory for ffmpeg
File tmpWorkingDir = createTempDir(getWorkingDir());
FFMpegWrapper ffmpegWrapper = FFMpegWrapper.fromProfile(tmpFile, profile, tmpWorkingDir);