Created
January 21, 2019 13:17
-
-
Save LuisSevillano/4c3a4586dec38c48ecfe04a130e4d25b to your computer and use it in GitHub Desktop.
Bash script to process frames and convert then to a video format with ffmpeg
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
#!/usr/bin/env bash | |
# https://askubuntu.com/questions/610903/how-can-i-create-a-video-file-from-a-set-of-jpg-images | |
ffmpeg -framerate 30 -i \ | |
path_to_file_%04d.jpeg \ | |
-c:v libx264 \ | |
-profile:v high \ | |
-crf 18 \ | |
-pix_fmt yuv420p \ | |
output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment