FFMpegWrapper ffmpegWrapper = FFMpegWrapper.fromProfile(tmpFile, profile, tmpWorkingDir);
ffmpegWrapper.setExecutableLocator(getLocator());
FileInputStream fis = null;
try {
final String renditionName = getRenditionName(ffmpegWrapper);
final File transcodedAudio = ffmpegWrapper.transcode();
fis = new FileInputStream(transcodedAudio);
asset.addRendition(renditionName, fis, ffmpegWrapper.getOutputMimetype());
if (!transcodedAudio.delete()) {
log.error("Transcoded audio file @ {} coud not be deleted");
}