Created
November 1, 2021 17:53
-
-
Save jonathanschilling/d5720fc7fcb5ac4b53ecaefc24692911 to your computer and use it in GitHub Desktop.
Generate a mp4 movie from a series of png images
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
#!/bin/bash | |
#ffmpeg -r 1/5 -start_number 1900 -i ../Inference_volInt_20180906.40_20180906.40_%dms.png -c:v libx264 -vf "fps=25,format=yuv420p" Inference_volInt_20180906.40.mp4 | |
ffmpeg -r 4 -f image2 -pattern_type glob -i '../*.png' -c:v libx264 -vf "fps=25,format=yuv420p,pad=ceil(iw/2)*2:ceil(ih/2)*2" Inference_volInt_20180906.40.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment