Created
December 25, 2020 00:24
-
-
Save tonysan/a432ce599e0586788a247ab3522db0dd to your computer and use it in GitHub Desktop.
space_heater.sh
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
#!/bin/bash | |
# prereq: ffmpeg and some video files | |
# https://gist.github.com/jsturgis/3b19447b304616f18657 | |
# one-liner infinite loop from | |
# https://stackoverflow.com/questions/1289026/syntax-for-a-single-line-bash-infinite-while-loop | |
while true; do ffmpeg -i some_video_file.mp4 -c:v libx265 -preset placebo -f null /dev/null; sleep 2; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment