This Powershell script will recursively search through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. The purpose of this script is to reduce transcoding CPU load on a media server like Plex or Emby and increase video compatibility across platforms.
Fixed out_path resulting in an empty string.
Reset $cfg.out_path variable at the start of each loop to prevent multiple subdirectories being created.
Closes #58