


Note: if you have a lot of videos this script will take a long time to complete.
#Definition of remux mp4
So here’s an additional script, faststart.sh, to set the faststart movflag on all mp4 files. I’ve only recently begun to set the faststart movflag on my mp4 files, which meant my older videos did not have it set. You could even change it to remux from mp4 to mkv. I have set this script to run daily using Task Scheduler > Scheduled Task > User-defined script using the full path to the script, which should be located in a Scripts sub-directory inside your video directory.Īfter the first successful run I decided to comment out all notifications except the failure one, as that’s all I really need to act on. Log results to a file and fire off some notifications.If successful move the old file to Recycle Bin (so it can be recovered if needed) Bluray Movies, REMUX, 2160p, 1080p, 720p, Free Ultra HD Movies, Free 4K Movies, Free Bluray Movies, Download HD Movies, High-definition Movies Free.I also set the faststart flag on the mp4 to help it start playing more quickly. I do this because my playback setup across Apple devices seems to have an easier time with that type of container.Īs it’s only the container that is being changed: the video content remain the same so there is no change in quality, the remux process takes only seconds, and the file size remains effectively the same. Here’s a script I wrote that will look for mkv and avi files and quickly copy-remux them as mp4. It’s also fun to write scripts and configure things to add automation and extra capabilities! I recently set up an old HP ProLiant Microserver N54L as a NAS running Xpenology (Synology DSM 6) and it’s a great little device capable of a lot.
