Created
April 23, 2017 23:04
-
-
Save devster31/80f114aefa6653ab5b808e7bd4c0a05c to your computer and use it in GitHub Desktop.
Convert .mov files into .mp4 files on Windows without re-encoding video
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
$oldvids = Get-ChildItem -Filter "*.mov" -Recurse | |
foreach ($oldvid in $oldvids) { | |
$newvid = [io.path]::ChangeExtension($oldvid.FullName, '.mp4') | |
ffmpeg -i $oldvid.FullName -y -c:v copy -c:a libvo_aacenc -b:a 256k $newvid | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment