#!/bin/bash
clear
for X in "$@"
do
ffmpeg -ss 00:00:03.500 -i "rtsp://<evostream RTSP URL>/$X" -vframes 1 -f image2 -s 320x180 "/var/www/thumbs/$X.jpg"
echo "$X"
done
aws s3 sync /var/www/thumbs s3://<S3 Storage account>
In order to eliminate any possible points of error, I replaced "$@" with "actual url" so that no arguments would need to be passed in… Even still, the script would not work through launchProcess (but did when ran from SSH).
admin
This information box about the author only appears if the author has biographical information. Otherwise there is not author box shown. Follow YOOtheme on Twitter or read the blog.