Created
August 30, 2020 02:01
-
-
Save knishioka/fb3bd453e3cd7320788fc34f90e76cb9 to your computer and use it in GitHub Desktop.
Convert MP4 to 60fps with keeping meta data
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
mkdir 60fps | |
for movie in *.MP4; do | |
echo converting $movie | |
ffmpeg -i $movie -map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c copy -f ffmetadata ffmetadata.txt -y | |
ffmpeg -i $movie -i ffmetadata.txt -map_metadata 1 -r 60 "60fps/${movie}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment