fps="1/5"
rm out.jpg
# while [ 1 ]; do streamlink -O http://ustream.tv/channel/iss-hdev-payload worst | ffmpeg -i - -vf fps=$fps -f image2 -update 1 out.jpg; test $? -gt 128 && break; done
while [ 1 ]; do streamlink -O http://ustream.tv/channel/iss-hdev-payload worst | ffmpeg -i - -r $fps -f image2 -update 1 out.jpg; test $? -gt 128 && break; done
