Created
September 20, 2016 13:20
-
-
Save godofgrunts/0285f9f485e96e21d53bf5ea417f4b49 to your computer and use it in GitHub Desktop.
Powershell script to convert flvs to mp4s (assuming ffmpeg is in path)
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
$viddir = ls | |
foreach ($video in $viddir) | |
{ | |
$newname = ([io.path]::GetFileNameWithoutExtension($video)) | |
ffmpeg.exe -i $video -c copy "$newname.mp4" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment