Skip to content

Instantly share code, notes, and snippets.

@TangentFoxy
Created September 22, 2017 00:37
Show Gist options
  • Select an option

  • Save TangentFoxy/f9f02caa4a9e2263ab5f4f6be142e951 to your computer and use it in GitHub Desktop.

Select an option

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.
$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