Last active
February 28, 2021 13:46
-
-
Save trolleway/9b25225411ef8c86a6a0034ba804a3a1 to your computer and use it in GitHub Desktop.
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
#Speed up timewarp X5 to get 60fps | |
ffmpeg -i GH010467.MP4 -c:v libx264 -r 60 -filter:v "setpts=0.5*PTS" -tune film -threads 8 -crf 17 -x264-params opencl=true -y "Гжельский переулок 2021.mp4" | |
#cut | |
ffmpeg -ss 00:19 -i "Гжельский переулок 2021.mp4" -t 01:00 -c copy "Гжельский переулок кат.mp4" | |
#Compress for twitter | |
ffmpeg -i "Гжельский переулок кат.mp4" -c:v libx264 -vf scale=-1:720 -y -tune film -crf 27 -preset ultrafast "Гжельский переулок twitter.mp4" | |
#Possibly updates: | |
#Switch from h.264 to 265 or VP9, if hardware encoding is present | |
#-lower crf and -preset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment