make encoder output directory, for transcode
free unused memory