Last active
December 8, 2022 20:17
-
-
Save andreasbotsikas/6fc6e65222b9a7fafa43284bd7cf752c to your computer and use it in GitHub Desktop.
Convert VHS mpg files to mp4
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
@REM Convert mpg files to ac3 with 128k autio and video encoded with libx264 | |
@REM If you get unknown codec, get a build with the flag, e.g. https://www.gyan.dev/ffmpeg/builds/ | |
forfiles /s /m *.mpg /c "cmd /c ffmpeg -i @file -codec:a aac -ar 44100 -b:a 128k -codec:v libx264 @fname.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment