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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarification on which files get deleted?

Penkethboy opened this issue · comments

Hi Brian

Do the original video files that get encoded always get deleted as well as any file extension(s) matching files you specify in the config file?

Or is it only the file extension(s) matching file types specified in the config file?

Ok should have tested this first before i asked

So it does delete the original video file (non error state) as well as the file extensions listed in the config file

commented

Hey, sorry for the delayed response, things have been hectic. Once the file is successfully converted, the source file is deleted. The only other files that get deleted are any specified in the garbage collection section.