BrianDMG / conv2mp4

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.
129 stars 23 forks source link

Custom output path fixes #59

Closed BladeWDR closed 4 years ago

BladeWDR commented 4 years ago

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