Transcode MOV to MP4
Thursday, November 19, 2015
Motivation:
Digital cameras and phones typically save video to MOV (Motion JPEG) files. I share my photos & videos via a self hosted open source photo gallery (
zenPhoto). MOV files must be converted to a compatible format like MP4 to stream through the readily available web video players like
Flowplayer.
Script features:
- Handles multiple files at once… even from different folders when part of an explorer search result
- Applies rotation where necessary.
- Touches new file datestamp to be same as original.
- FileMenu Tools - handy for creating a FileExplorer right mouse context menu for executing transcode on selected files
- HandBrake - read something that suggested HandBrake is faster than ffmpeg and that appears true on my quick comparison
- MediaInfo - pulls the EXIF metadata to determine if any rotation is necessary
Install:
- save transcode.ps1 below into a known location
- install FileMenu Tools and disable all the commands you don’t want. Configure a “transcode” command as shown in screenshot below (of course edit your ps1 file path accordingly)
- install HandBrake and put HandBrakeCli in your path
- minimally, put MediaInfo.exe and MediaInfo.dll in your path
transcode.ps1
Example UI