This file contains hidden or 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
# frozen_string_literal: true | |
# This script is used during the deployment process. It runs 2 threads in parallel: | |
# | |
# 1) Calls run-task to execute a migration task within a cluster, and then waits for it to exit with 0 code. | |
# Throws an exception in case of non-0 exit code; | |
# | |
# 2) Waits for all the service to become stable after the deployment. | |
# | |
# Both have actually 10 minutes timeout, but if any of them fails before with an exception - the whole process dies immediatelly. |
This file contains hidden or 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
ffmpeg -pattern_type glob -i '*.jpg' -filter_complex "[0:v]transpose=1,crop=1280:1280:0:0[v]" \ | |
-map "[v]" -c:v libx264 -r 30 -crf 23 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72:ref=4 output.mp4 -y |
OlderNewer