Created
September 22, 2017 00:37
-
-
Save TangentFoxy/f9f02caa4a9e2263ab5f4f6be142e951 to your computer and use it in GitHub Desktop.
Simple Powershell script to use ffmpeg to convert an MOV file to an MP4 file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $input = $args[0] | |
| $output = $input.Replace(".MOV", ".mp4") | |
| $output = $output.Replace(".mov", ".mp4") # in case ext is lowercase | |
| ffmpeg -i "$input" -vcodec copy -acodec copy "$output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment