Last active
November 25, 2017 13:30
-
-
Save ngollan/301798b1e11ec2aa9d7e66a1bf903251 to your computer and use it in GitHub Desktop.
Remux videos in bulk with FFMPEG
This file contains 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
Get-ChildItem "." -Filter "*.mp4" | | |
Foreach-Object { | |
$destination = "MOV\$($_.BaseName).mov" | |
if (-not (Test-Path $destination)) { | |
Write-Output "Remux $($_) -> $($destination)" | |
d:\bin\ffmpeg -nostats -hide_banner -loglevel error -i "$_" -vcodec copy -acodec copy $destination | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment