Last active
November 17, 2015 16:51
-
-
Save Adyg/9137832 to your computer and use it in GitHub Desktop.
CPU limit for avconv and imagemagick convert
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
#limit imagemagick convert to 40% cpu | |
cpulimit -l 40 -e convert.im6 | |
#limit avconv to 40% cpu | |
cpulimit -l 40 -e avconv | |
#build transition images. nice -n to ensure nothing stalls because of it | |
nice -n 19 convert img1.jpg img2.jpg -delay 10 -morph 200 tmp_zl.png | |
#build video from transition images. again note "nice -n" | |
avconv -i 'tmp_zl-%d.png' -r 10 out.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment